{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX7","name":"Slice cohesion","shortDescription":{"text":"Slice cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/AX7"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"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":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"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":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"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":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"EventsTable.ObservationsEventsTable (cyclomatic 199): EventsTable.ObservationsEventsTable has cyclomatic complexity 199 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 163 belong to 64 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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"666716c3c618e86389a62fafb00772e5d3b801af28479263efc3ea3b50661eaa"}},{"ruleId":"D1","level":"warning","message":{"text":"observations.ObservationsTable (cyclomatic 177): observations.ObservationsTable has cyclomatic complexity 177 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 129 belong to 74 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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bd88aee78a32840440245c8386623ce5a360a2dcadada947bde88cde7abda6"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetForm.WidgetForm (cyclomatic 173): WidgetForm.WidgetForm has cyclomatic complexity 173 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 133 belong to 43 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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9c497a979e62e0864e951527b0ef75cbc072ba14d214e9e47ae622d96c3b37"}},{"ruleId":"D1","level":"warning","message":{"text":"buildGraphCanvasData.buildGraphFromStepData (cyclomatic 136): buildGraphCanvasData.buildGraphFromStepData has cyclomatic complexity 136 (threshold 15). Of this number, 96 points are the body\u0027s own statements and 40 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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"919192650a8a84f572fea95e3c0c2de1bbee691963edfed5dbbe1e2c1b7d5c59"}},{"ruleId":"D1","level":"warning","message":{"text":"MyCustomHandler.async_post_call_success_hook (cyclomatic 116): MyCustomHandler.async_post_call_success_hook has cyclomatic complexity 116 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":6313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1c7ca84ab60ac285431cc6c846a70446de9825d8d80c8c742b7841a389d657"}},{"ruleId":"D1","level":"warning","message":{"text":"StatisticsCard.StatisticsCard (cyclomatic 102): StatisticsCard.StatisticsCard has cyclomatic complexity 102 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f6d7da3ab2cb4d2bd51e14a9c874ac23e542ba20f85baf25ba5d7a662da534"}},{"ruleId":"D1","level":"warning","message":{"text":"useSidebarFilterState.useSidebarFilterState.filters (cyclomatic 100): useSidebarFilterState.useSidebarFilterState.filters has cyclomatic complexity 100 (threshold 15). Most of this is not in the body itself: 1 of the 100 points is its own statement and the rest belongs to 29 function items inside it that branch (a function literal at line 923, a function literal at line 1383, a function literal at line 1525, \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":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbbf7fbbe0ec6f157d49e6d0dfa210d9449a342cf0f64b55cec7df78bf3d8d7"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._emit_response_nodes (cyclomatic 99): litellm_callback._emit_response_nodes has cyclomatic complexity 99 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4023}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80ac83565a71b96f8daf5f17cc60b5c93a51c1e60a5d584f0b7b259377a2911"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ExperienceSummaryPage (cyclomatic 98): index.ExperienceSummaryPage has cyclomatic complexity 98 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 73 belong to 40 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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"488902ce166b3afe30c716ece7cbbbf26e4270d1abd87633933fb0e1f54a5da5"}},{"ruleId":"D1","level":"warning","message":{"text":"PrettyJsonView.PrettyJsonView (cyclomatic 97): PrettyJsonView.PrettyJsonView has cyclomatic complexity 97 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 66 belong to 16 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a86fdf7d7ae7ed71fc7cceafef91282be60edd15abc1e1810acec86b8025ce3"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.PolicyGovernancePage (cyclomatic 95): policy.PolicyGovernancePage has cyclomatic complexity 95 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 62 belong to 28 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07e6874b0339894f372e28075e1ce48b9ab758460d36ce0a23ec39c699087a9"}},{"ruleId":"D1","level":"warning","message":{"text":"MyCustomHandler.async_post_call_streaming_iterator_hook (cyclomatic 93): MyCustomHandler.async_post_call_streaming_iterator_hook has cyclomatic complexity 93 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":6778}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d7a41acbf40427f1ce6532d0d157fcaaa3b2e2058e6aba4e816f703f1203ea"}},{"ruleId":"D1","level":"warning","message":{"text":"MyCustomHandler.async_pre_call_hook (cyclomatic 83): MyCustomHandler.async_pre_call_hook has cyclomatic complexity 83 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5926}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a87cac915eded70a751e65e20628ea0962d24a1c15cb113852f247e88aea5a4"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentList.CommentList (cyclomatic 78): CommentList.CommentList has cyclomatic complexity 78 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 58 belong to 19 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b8d284dd9c0bc5f5fb10d9021d8f097e8dbaff799a14d2aca74dda914352f3"}},{"ruleId":"D1","level":"warning","message":{"text":"OtelIngestionProcessor.extractInputAndOutput (cyclomatic 76): OtelIngestionProcessor.extractInputAndOutput has cyclomatic complexity 76 (threshold 15). Of this number, 68 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3200a95559bfdbd78ed233179d421e7e1033c9ab934ce4b3b349b8598aec774"}},{"ruleId":"D1","level":"warning","message":{"text":"router.inferErrorTypeKeyFromText (cyclomatic 76): router.inferErrorTypeKeyFromText has cyclomatic complexity 76 (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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"075642a8406812ebe9653d1f093911b2b415e8bff78e9cf1a07fa49d88815249"}},{"ruleId":"D1","level":"warning","message":{"text":"filter-builder.FilterBuilderForm (cyclomatic 75): filter-builder.FilterBuilderForm has cyclomatic complexity 75 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 44 belong to 12 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6fa8f92099ea4d7a7d79a1be8fe0b150cab8ae5a6c7195e32f3c6323aacdbf"}},{"ruleId":"D1","level":"warning","message":{"text":"autoErrorAnalysisQueue.inferErrorTypeKeyFromText (cyclomatic 75): autoErrorAnalysisQueue.inferErrorTypeKeyFromText has cyclomatic complexity 75 (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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64d4da454d3bfbc4613b29612e2ca0777abd287a2257e2468a0f80e3fe3e9fb"}},{"ruleId":"D1","level":"warning","message":{"text":"traces.TracesTable (cyclomatic 72): traces.TracesTable has cyclomatic complexity 72 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 45 belong to 28 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05eda7e2c390bc92755c1db171ebfeaef75789fe1b50f190e8cedf4e975696b"}},{"ruleId":"D1","level":"warning","message":{"text":"blobstorage.BlobStorageIntegrationSettingsForm (cyclomatic 72): blobstorage.BlobStorageIntegrationSettingsForm has cyclomatic complexity 72 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 47 belong to 13 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0048f9a349252c8c80b2361d9d9659566d3a398797ffee8b0cd80185a427e67"}},{"ruleId":"D1","level":"warning","message":{"text":"index.verifyClickhouseObservation (cyclomatic 72): index.verifyClickhouseObservation has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7ab04a8fe1713d0d87c4b0ebd438daacc4484e4ac3f0b5e8613072951d71e9"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._trace_state_from_dict (cyclomatic 72): litellm_callback._trace_state_from_dict has cyclomatic complexity 72 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc682b15c38de41c095acdea40594383942c0759a1216168d85eced85af97398"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoreChartLegendContent.ScoreChartLegendContent (cyclomatic 67): ScoreChartLegendContent.ScoreChartLegendContent has cyclomatic complexity 67 (threshold 15). Most of this is not in the body itself: 12 of the 67 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 151, getFormattedLabel, smartFormatLabel, \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ba32945d8466fed20bb22d57bcb507c0194dba73d78f5448c221b553f08a4e"}},{"ruleId":"D1","level":"warning","message":{"text":"unary_gate_policy._eval_predicate (cyclomatic 63): unary_gate_policy._eval_predicate has cyclomatic complexity 63 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bab9f761bf804a91e750bf34d03e16613ea05c50569d6a0ebcde1d4add0946"}},{"ruleId":"D1","level":"warning","message":{"text":"evalService.createEvalJobs (cyclomatic 62): evalService.createEvalJobs has cyclomatic complexity 62 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 3 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":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"06144ea812f48c1a096e2f1b35f76ba61c22d5836450a8d9f419e57c0f95b262"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchLLMCompletion.fetchLLMCompletion (cyclomatic 59): fetchLLMCompletion.fetchLLMCompletion has cyclomatic complexity 59 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 7 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":"langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5a57222c2db617bfdbe3dbee084d44fc605f558538824914df3e806fa935d6"}},{"ruleId":"D1","level":"warning","message":{"text":"inner-evaluator-form.InnerEvaluatorForm (cyclomatic 59): inner-evaluator-form.InnerEvaluatorForm has cyclomatic complexity 59 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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 (inner-evaluator-form.InnerEvaluatorForm::onSubmit) 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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ff63b6257a60cb4a4cbbd77ab22c298662e408e17440f9226fc2fd0212b173"}},{"ruleId":"D1","level":"warning","message":{"text":"ObservationDetailView.ObservationDetailView (cyclomatic 58): ObservationDetailView.ObservationDetailView has cyclomatic complexity 58 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 14 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74d5895fa71e3dcc7f2ca1fe43aa426808df3da2fbc77a67444899894f8340d"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceGovernanceBanner.TraceGovernanceBanner (cyclomatic 57): TraceGovernanceBanner.TraceGovernanceBanner has cyclomatic complexity 57 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 41 belong to 24 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":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a4a7b9e40e788f6d538a9294e78827618880e45c9fc717faaab284a1abeb10"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._format_tool_result_output_for_langfuse (cyclomatic 56): litellm_callback._format_tool_result_output_for_langfuse has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3469}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f09eed3138e43f17a2809046321b292bef686a94c90986602786104cf5847f1"}},{"ruleId":"D1","level":"warning","message":{"text":"scores.ScoresTable (cyclomatic 55): scores.ScoresTable has cyclomatic complexity 55 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 34 belong to 20 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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb4e5ff101eebdd0777ecbfa9cf9f632c019ce705dab027cab5906f3b3707f3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.PlaygroundProvider (cyclomatic 55): index.PlaygroundProvider has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 1 of the 55 points is its own statement and the rest belongs to 24 function literals inside it that branch (lines 309, 142, 236, \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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a4cd019b5ca0382f1147f679ca735adb2e5caf953a001b977c7b2a07d93ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"buildGraphCanvasData.buildTurnMetadataSummary (cyclomatic 55): buildGraphCanvasData.buildTurnMetadataSummary has cyclomatic complexity 55 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 3 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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f8748946fd92abb597d07f373b1bbffbe7239c3263b34e25487d0b6b454122"}},{"ruleId":"D1","level":"warning","message":{"text":"buildGraphCanvasData.buildHierarchyGraphFromStepData (cyclomatic 54): buildGraphCanvasData.buildHierarchyGraphFromStepData has cyclomatic complexity 54 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbffd1fc2b3ddf7cce71978f029c72ca60a1f5a4aa243c5c6e8d7c8e8e70a4c8"}},{"ruleId":"D1","level":"warning","message":{"text":"ErrorAnalysisDropdown.ErrorAnalysisDropdown (cyclomatic 53): ErrorAnalysisDropdown.ErrorAnalysisDropdown has cyclomatic complexity 53 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 32 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d38ca075c300c4044bf3b785fed531550774a1f5dd4a872e2a29369f9a53ca"}},{"ruleId":"D1","level":"warning","message":{"text":"autoErrorAnalysisQueue.autoErrorAnalysisQueueProcessor (cyclomatic 53): autoErrorAnalysisQueue.autoErrorAnalysisQueueProcessor has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e41abef29a80e1b9b813fe3570b6782861477064062044b5e56ea1853ccd5a"}},{"ruleId":"D1","level":"warning","message":{"text":"ObservationGovernanceAnalysisPanel.ObservationGovernanceAnalysisPanel (cyclomatic 52): ObservationGovernanceAnalysisPanel.ObservationGovernanceAnalysisPanel has cyclomatic complexity 52 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 13 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b5831dbd87637eadc76812d1bb7016a154e659416f9a8d200368618cf9fc35"}},{"ruleId":"D1","level":"warning","message":{"text":"TimelineChartCard.TimelineChartCard (cyclomatic 50): TimelineChartCard.TimelineChartCard has cyclomatic complexity 50 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 34 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9527b01cb1fc2b83755be063f13b92dc4ea656434521dc620f71909db6988bc0"}},{"ruleId":"D1","level":"warning","message":{"text":"index.SessionEventsPage (cyclomatic 49): index.SessionEventsPage has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 14 of the 49 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 706, 763, 697, \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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"6540b1ae4003bd58c5e0e95995bbda5dd3bf756f20be6612d7017d083c11b3e5"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions.SessionsTable (cyclomatic 49): sessions.SessionsTable has cyclomatic complexity 49 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 32 belong to 17 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":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5a45a49117922bbfa895f9ba8c9ddf30fbfe80b541acb80f4b953c3e3f5cc0"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanContent.SpanContent (cyclomatic 49): SpanContent.SpanContent has cyclomatic complexity 49 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/SpanContent.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d9c3c8b912138e78621abe82f93fbf37d67250466cc35fecaf549c58bf139d"}},{"ruleId":"D1","level":"warning","message":{"text":"ErrorAnalysisSettings.ErrorAnalysisSettings (cyclomatic 49): ErrorAnalysisSettings.ErrorAnalysisSettings has cyclomatic complexity 49 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4869a702542d82bddaf4cad4420d4bb791cbb5991e6ac0e7baec050b523c6606"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetForm.DatasetForm (cyclomatic 48): DatasetForm.DatasetForm has cyclomatic complexity 48 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 22 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec25a1a2956a952664382af4ab57651ffc8fdce4bdc924d962c1541b19994b08"}},{"ruleId":"D1","level":"warning","message":{"text":"useScoreAnalyticsQuery.useScoreAnalyticsQuery.data (cyclomatic 48): useScoreAnalyticsQuery.useScoreAnalyticsQuery.data has cyclomatic complexity 48 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef80363c361846b2f931695afd64522724d2cae25743325da7b0bd79fae0a91"}},{"ruleId":"D1","level":"warning","message":{"text":"extractTools.extractTools (cyclomatic 48): extractTools.extractTools has cyclomatic complexity 48 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 18 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/extractTools.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3af8ff581639bd0075df3439a5affe296d559fe4f0af54dfe1a9ed26d02aec4"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._emit_tool_result_nodes_if_needed (cyclomatic 48): litellm_callback._emit_tool_result_nodes_if_needed has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3722}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b0ad2201a21050d6fbdfde9c46f8e4b583ca8494b1c7ef81596f7107ed8c3a"}},{"ruleId":"D1","level":"warning","message":{"text":"AdvancedJsonSection.AdvancedJsonSection (cyclomatic 47): AdvancedJsonSection.AdvancedJsonSection has cyclomatic complexity 47 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 17 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83b6e0870eac1a410f71a5040472e178c9cf9a2d66f039fb707ea287393abbe"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiStepExperimentForm.MultiStepExperimentForm (cyclomatic 47): MultiStepExperimentForm.MultiStepExperimentForm has cyclomatic complexity 47 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 29 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8b18660615c0118bae7d705774777d4cf6851c997bd95ebc9856bbf03dc9db"}},{"ruleId":"D1","level":"warning","message":{"text":"Heatmap.Heatmap (cyclomatic 47): Heatmap.Heatmap has cyclomatic complexity 47 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 21 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30dc4b52a2e57c53d9965242e835e74133b837585a3deb11b1c8c629c39b44b"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyEngine.pre_instruction (cyclomatic 47): PolicyEngine.pre_instruction has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ddf3ff119a1f39cf347cbb1e7ef5e1a9a78693f29c40961f255390a7384e38"}},{"ruleId":"D1","level":"warning","message":{"text":"observations_converters.convertObservationPartial (cyclomatic 46): observations_converters.convertObservationPartial has cyclomatic complexity 46 (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":"langfuse/packages/shared/src/server/repositories/observations_converters.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"07300640887344da248eeb85d07e7729ce006951a7ecdf91314cd7cf0ea0bef9"}},{"ruleId":"D1","level":"warning","message":{"text":"traces.buildTracesBaseQuery (cyclomatic 46): traces.buildTracesBaseQuery has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/traces.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaca5fdd8bcec70717da5ebeaa8d1c12b67a744f040b5ba3e7940bfb6987e00e"}},{"ruleId":"D1","level":"warning","message":{"text":"sign-in.SSOButtons (cyclomatic 46): sign-in.SSOButtons has cyclomatic complexity 46 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c43445754fe8b44283adfdbdec4a58496c613aa7c85b17603780cdad264dc2"}},{"ruleId":"D1","level":"warning","message":{"text":"unicode.decodeUnicodeEscapesOnly (cyclomatic 45): unicode.decodeUnicodeEscapesOnly has cyclomatic complexity 45 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 15 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":"langfuse/web/src/utils/unicode.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2186b4e0a9c2121b55ae7b157ed8f49485b664c617f9d2e0df8d379c08b8fe"}},{"ruleId":"D1","level":"warning","message":{"text":"data-table-view-presets-drawer.TableViewPresetsDrawer (cyclomatic 44): data-table-view-presets-drawer.TableViewPresetsDrawer has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 13 of the 44 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 569, a function literal at line 205, handleSelectView, \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":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d59adbe1312a82c426511fdb9eb074e4355bdf9519856c78b9253fe17e73193"}},{"ruleId":"D1","level":"warning","message":{"text":"LogViewToolbar.LogViewToolbar (cyclomatic 44): LogViewToolbar.LogViewToolbar has cyclomatic complexity 44 (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":"langfuse/web/src/components/trace2/components/TraceLogView/LogViewToolbar.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"977acd12b5d5246b11d7e14861dbee528011b2441fa3bbf70c9aba69d0e7756f"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecCompositePolicy.check (cyclomatic 44): ExecCompositePolicy.check 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/exec_composite_policy.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ae042120cff0cea82ba4d3d3ab2ebbab6e477e2946e5a1652d7ee26bc48d1f"}},{"ruleId":"D1","level":"warning","message":{"text":"data-table-toolbar.DataTableToolbar (cyclomatic 43): data-table-toolbar.DataTableToolbar has cyclomatic complexity 43 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-toolbar.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe0310e9e247837badd4f4721f46bf10fe0d6d05631b78b1153dc6392416801"}},{"ruleId":"D1","level":"warning","message":{"text":"MappingPreviewPanel.MappingPreviewPanel (cyclomatic 43): MappingPreviewPanel.MappingPreviewPanel has cyclomatic complexity 43 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 22 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingPreviewPanel.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e08cf9c7c2555d2009a3ff64fb0b387c18c61b4cd16b72cc3c1c6b80530390"}},{"ruleId":"D1","level":"warning","message":{"text":"build_from_trajectories.main (cyclomatic 43): build_from_trajectories.main has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/build_from_trajectories.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d8024d28c5f99e2d1cb1014bc279abfb832dc08c9abd7b7a62a1c3b03f1989"}},{"ruleId":"D1","level":"warning","message":{"text":"aisdk.normalizeMessage (cyclomatic 42): aisdk.normalizeMessage has cyclomatic complexity 42 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 18 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c52d00f605c1664400009c1382dccd07f1e073cb5583cdc33f3677210d236bd"}},{"ruleId":"D1","level":"warning","message":{"text":"NewDatasetItemForm.NewDatasetItemForm (cyclomatic 42): NewDatasetItemForm.NewDatasetItemForm has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 10 of the 42 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 172, a function literal at line 278, a function literal at line 374, \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":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cec6ad86159faf4b5eb63b1371a6164684743ec0792ca167f7021eb06fa80b"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardWidget.DashboardWidget (cyclomatic 41): DashboardWidget.DashboardWidget has cyclomatic complexity 41 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 17 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf728754945adab75758c0b7020d0bccd041b2f1e7a90c321b4522c213109a4"}},{"ruleId":"D1","level":"warning","message":{"text":"UnaryGatePolicy.check (cyclomatic 41): UnaryGatePolicy.check has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc9fc492cfeec7bb8c99be7a4a81b8bd09df3bb86dbd48fb0e967e6d5f1955"}},{"ruleId":"D1","level":"warning","message":{"text":"IOPreviewJSON.IOPreviewJSONInner (cyclomatic 40): IOPreviewJSON.IOPreviewJSONInner has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 15 of the 40 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 226, 109, 197, \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":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSON.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e9490525c6e358651378e81d375ec0976a428b60d09b20f9943e1f003b41ab"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationQueueItemPage.AnnotationQueueItemPage (cyclomatic 40): AnnotationQueueItemPage.AnnotationQueueItemPage has cyclomatic complexity 40 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 20 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"72677e0238d17dab4c68a368367c4fc9978990509092f5833914739ab090a149"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._build_device_context (cyclomatic 40): litellm_callback._build_device_context has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e658fd929977414d845905fc4dc2e13e403a21a5559787a9e7201631bde09b6"}},{"ruleId":"D1","level":"warning","message":{"text":"RelationalPolicy.check (cyclomatic 40): RelationalPolicy.check has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca93015efbab9531d7e151d24e6fc5be272cc7ca6397bc3bc82618894242950"}},{"ruleId":"D1","level":"warning","message":{"text":"gemini.normalizeGeminiMessage (cyclomatic 39): gemini.normalizeGeminiMessage has cyclomatic complexity 39 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaea2a268495884129f25a54834fcf9f05af155434351cd2229ffb0044166542"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._emit_langfuse_node (cyclomatic 39): litellm_callback._emit_langfuse_node 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2870}}}],"partialFingerprints":{"codehealthFindingId/v1":"944f6a78916939729ac0ad094617d992051b03fd830f0a8a7f94101296fd2959"}},{"ruleId":"D1","level":"warning","message":{"text":"TimelineBar.TimelineBar (cyclomatic 38): TimelineBar.TimelineBar has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineBar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78a22f5aba1d9616109ea4d11296d72cdca5a178134271ffb03c21f1fa2906c"}},{"ruleId":"D1","level":"warning","message":{"text":"errorTypeFilters.applyErrorTypeFilters (cyclomatic 38): errorTypeFilters.applyErrorTypeFilters has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"20566fcf7af6d83c8c8a2e3615abf74a24974b7c99143c6d9583d1f4c2b24ace"}},{"ruleId":"D1","level":"warning","message":{"text":"DistributionNumericCard.DistributionNumericCard (cyclomatic 38): DistributionNumericCard.DistributionNumericCard has cyclomatic complexity 38 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 20 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cce361d7e19c490f58c5b9d7bc4a25e30f67d92cecd6c02d73b262df85f89bf"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyEngine._efsm_step (cyclomatic 38): PolicyEngine._efsm_step has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"46af96e681fb056eec263df383e2a67e93ca0fdd3b171d7271dbca87a0cbbf26"}},{"ruleId":"D1","level":"warning","message":{"text":"apply_review_results.main (cyclomatic 38): apply_review_results.main has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/apply_review_results.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce575e600e3acade8225725e9f20e2d387d283cc4e5a3017b2f3ea6049e7d6e4"}},{"ruleId":"D1","level":"warning","message":{"text":"chart.ChartTooltipContent (cyclomatic 37): chart.ChartTooltipContent has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 5 of the 37 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 203, 151, 142, \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":"langfuse/web/src/components/ui/chart.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"671878615e0fa621556c1b3bb8a5bc8946b3a1307320bcb8046f0fa7fd27106c"}},{"ruleId":"D1","level":"warning","message":{"text":"handleExperimentBackfill.writeEnrichedSpans (cyclomatic 37): handleExperimentBackfill.writeEnrichedSpans 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":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"23db3251900d3bb4bc0b586038754274fd95c7ce73dd5184f9d4e113f73552a9"}},{"ruleId":"D1","level":"warning","message":{"text":"relational_policy._flow_kind (cyclomatic 37): relational_policy._flow_kind has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d807673095894a4df4c38874bce7703d1716bc26da53a348b45fce06170957f1"}},{"ruleId":"D1","level":"warning","message":{"text":"traces-ui-table-service.getTracesTableGeneric (cyclomatic 36): traces-ui-table-service.getTracesTableGeneric has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 14 of the 36 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 375, 264, 231). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"907c2c2711ea0462faadf0d41ef64ea637f58bd4e6e9145e47b570b1d99f87c8"}},{"ruleId":"D1","level":"warning","message":{"text":"openai.normalizeMessage (cyclomatic 36): openai.normalizeMessage has cyclomatic complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d228555c0490197a1baca0bd91a19e2c1ffffc2952b5ed8b8b051547f5f217"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePreview.TracePreview (cyclomatic 36): TracePreview.TracePreview has cyclomatic complexity 36 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a54c2150b864e6df713a45025f082c229377219282524c513c6e18663684c46"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyConfirmationDetailsSheet.PolicyConfirmationDetailsSheet (cyclomatic 36): PolicyConfirmationDetailsSheet.PolicyConfirmationDetailsSheet has cyclomatic complexity 36 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 19 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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationDetailsSheet.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5418a32d086ef0aee632f475bfa3b1d130a4aab759b5241055ccee62f3a11b42"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetRunsTable.DatasetRunsTable (cyclomatic 36): DatasetRunsTable.DatasetRunsTable has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 617, convertToTableRow, a function literal at line 346, \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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"78463dbf968fe51743d205a881103833397bd92fb0b5c8cae94afe490eb587df"}},{"ruleId":"D1","level":"warning","message":{"text":"template-selector.TemplateSelector (cyclomatic 36): template-selector.TemplateSelector has cyclomatic complexity 36 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 16 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-selector.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd4a39551bb1b66da78e73ccabcd82968940bd96248dbc792917dca4d7f8c44"}},{"ruleId":"D1","level":"warning","message":{"text":"usePreviewData.usePreviewData (cyclomatic 36): usePreviewData.usePreviewData has cyclomatic complexity 36 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/hooks/usePreviewData.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0a5d1034129535d7218f868c4e1b6039e3c6019e9533545ce2c3d03aff95bc"}},{"ruleId":"D1","level":"warning","message":{"text":"index.NewPromptForm (cyclomatic 36): index.NewPromptForm has cyclomatic complexity 36 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 18 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d579aac25b5500cc5c4b7a72a4f9ba057ed34d727ccc074a00513757d808869"}},{"ruleId":"D1","level":"warning","message":{"text":"DistributionCategoricalCard.DistributionCategoricalCard (cyclomatic 36): DistributionCategoricalCard.DistributionCategoricalCard has cyclomatic complexity 36 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 13 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":"langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda33cf33b5e6b52434cb56d77e42a4c72f5107fbe15c06f985c8f6eced928b6"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelPolicyRuntime.build_taint_state (cyclomatic 36): KernelPolicyRuntime.build_taint_state has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b613a7da50f1476ac6c80a30ba71c7811fd8023229fd19379c5272fdd477b0"}},{"ruleId":"D1","level":"warning","message":{"text":"variable-mapping-card.VariableMappingCard (cyclomatic 35): variable-mapping-card.VariableMappingCard has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 9 of the 35 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 157, 504, 296, \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":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e881e6067fa9b63a6aed7bbfd40ab061ad5dd437d675fa780bd3fd7eac74a01"}},{"ruleId":"D1","level":"warning","message":{"text":"multi-select.MultiSelect (cyclomatic 35): multi-select.MultiSelect 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 10 function items inside it that branch (a function literal at line 220, a function literal at line 88, handleDebouncedChange, \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":"langfuse/web/src/features/filters/components/multi-select.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe42388f5ee8cba55bf544d894ee2c36313800d87b1c1f1c56ce88d983a0ab5"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationForm.InnerAnnotationForm (cyclomatic 35): AnnotationForm.InnerAnnotationForm has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 2 of the 35 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 584, handleNumericUpsert, handleCategoricalUpsert, \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":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc21e7d5c707c281bfcdda928eb2dc74da5edfa99a0cf8b97e2a2d001bfec5fb"}},{"ruleId":"D1","level":"warning","message":{"text":"index.DashboardDetail (cyclomatic 35): index.DashboardDetail has cyclomatic complexity 35 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 15 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddf0a8d52b6e21ecdef5d7236e5ecc0ca08e8d6bf1b10d53e410b4561d3c40f"}},{"ruleId":"D1","level":"warning","message":{"text":"fill-time-series-gaps.aggregateIntoMultiUnitBuckets (cyclomatic 35): fill-time-series-gaps.aggregateIntoMultiUnitBuckets has cyclomatic complexity 35 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 12 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":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a6873a9a4e9d28926304dc8cb7052c7526ee3f49c29f3238dd1ded9f3aa5b5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.verifyClickhouseTrace (cyclomatic 35): index.verifyClickhouseTrace has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"4541ca8c2095069dd087b92de24fec814024ad58be8b7db1193e46006cdf3380"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._screen_tool_results_with_alignment (cyclomatic 35): litellm_callback._screen_tool_results_with_alignment has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"274f6287f45eb44e3ef0b88eab98a1d9eae527ecad78295c9652f6575e8c4d96"}},{"ruleId":"D1","level":"warning","message":{"text":"json.deepParseJsonIterative (cyclomatic 34): json.deepParseJsonIterative 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":"langfuse/packages/shared/src/utils/json.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3da73f38c96878fbfcaf8cb6533ba29516b9ce05ae3f24e01bebb5f34db8d31"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions-ui-table-service.getSessionsTableGeneric (cyclomatic 34): sessions-ui-table-service.getSessionsTableGeneric has cyclomatic complexity 34 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/sessions-ui-table-service.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0da19fca822f6abe71f3097151d9d3671340f11dceeb7c914a1864bddb91c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"DataGenerator.generateSyntheticObservations (cyclomatic 34): DataGenerator.generateSyntheticObservations has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to one function literal inside it that branches (line 426). 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":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e942a7451d299e6162c5bbfcde1e766d73a4f7a7b51e7fea6dbb1c1dc24adb94"}},{"ruleId":"D1","level":"warning","message":{"text":"date-picker.TimeRangePicker (cyclomatic 34): date-picker.TimeRangePicker has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 11 of the 34 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 317, getDisplayContent, a function literal at line 292, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e89b5cdf5ee794560db05b6b0ff31189fb330df056f28f280dc1258bb04b73"}},{"ruleId":"D1","level":"warning","message":{"text":"data-table.DataTable (cyclomatic 34): data-table.DataTable has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 12 of the 34 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 303, 328, 245, \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":"langfuse/web/src/components/table/data-table.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da988307bbe810b388dccb3600a0ee9f3a77a36a8a11b68e4a21f2b65e42cde"}},{"ruleId":"D1","level":"warning","message":{"text":"PrettyJsonView.JsonPrettyTable (cyclomatic 34): PrettyJsonView.JsonPrettyTable has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 475, 453, 609, \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":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"5494477153b41c9e0edc49c1326b646b95f0baabd0ac565b37c7137ccf179cf3"}},{"ruleId":"D1","level":"warning","message":{"text":"UpsertModelFormDialog.UpsertModelFormDialog (cyclomatic 34): UpsertModelFormDialog.UpsertModelFormDialog has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 10 of the 34 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 191, onSubmit, a function literal at line 163, \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":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"406ed33190de6963ee01fc156f32e126f176b9bf309a980f0e22da5e210c2806"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateLLMApiKeyForm.CreateLLMApiKeyForm (cyclomatic 34): CreateLLMApiKeyForm.CreateLLMApiKeyForm has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CreateLLMApiKeyForm.CreateLLMApiKeyForm::onSubmit) 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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"670899d96cc1ce9ab4c5c5ae7ff8998fa6fe61140d6098dcc9fc0bc3e438d4a5"}},{"ruleId":"D1","level":"warning","message":{"text":"sign-in.SignIn (cyclomatic 34): sign-in.SignIn has cyclomatic complexity 34 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0261ea0329d3b363018eff85c87a488db49c51c276407ac9a41541977dd47c1f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenClawPolicy.check (cyclomatic 34): OpenClawPolicy.check 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbbd04fad164b57576cf5c601c549d91bf5bd55d31af2cd3a08708a639e8343"}},{"ruleId":"D1","level":"warning","message":{"text":"unary_gate_policy._tool_block_reason (cyclomatic 34): unary_gate_policy._tool_block_reason 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d638056a863861284d448ac52a70243bbf42c1cadd5bf226ce56bd6cc5820a"}},{"ruleId":"D1","level":"warning","message":{"text":"ObservationPreview.ObservationPreview (cyclomatic 33): ObservationPreview.ObservationPreview has cyclomatic complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9e700482d81fa7fb023f84c28e1fa01f7b5df6bf2abbfc9a21b3e2c0607a65"}},{"ruleId":"D1","level":"warning","message":{"text":"BillingSwitchPlanDialog.BillingSwitchPlanDialog (cyclomatic 33): BillingSwitchPlanDialog.BillingSwitchPlanDialog has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 90, 260, 65). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6348814c5069cf315377e44bdf8e9b1703ba8ae10e58b08475eb2c68eebdca59"}},{"ruleId":"D1","level":"warning","message":{"text":"automations.AutomationsPage (cyclomatic 33): automations.AutomationsPage has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 4 of the 33 points are its own statements and the rest belongs to 6 function items inside it that branch (renderMainContent, a function literal at line 108, handleDeleteAutomation, \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":"langfuse/web/src/features/automations/components/automations.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d362fd9f2772bf40f08f62cdd5fd32de0021c83d1c98eb4d9ff166685c34a690"}},{"ruleId":"D1","level":"warning","message":{"text":"MembersTable.MembersTable (cyclomatic 33): MembersTable.MembersTable has cyclomatic complexity 33 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 14 belong to 9 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d65af4f08193b19c85ee786e877a46d688400cb8762f20c42c45ab8457d3712"}},{"ruleId":"D1","level":"warning","message":{"text":"buildScoreComparisonQuery.buildScoreComparisonQuery (cyclomatic 33): buildScoreComparisonQuery.buildScoreComparisonQuery has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b01fcce1ab7a75bddaac700215fab6bcdc56a7be73d021665ecb687ddea235"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessage.ChatMessage (cyclomatic 32): ChatMessage.ChatMessage has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e6acc7804fd0ba68d31b9c2873303c5cc5ff278dd3a4d7336ec76504ffbe93"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateOrEditAnnotationQueueButton.CreateOrEditAnnotationQueueButton (cyclomatic 32): CreateOrEditAnnotationQueueButton.CreateOrEditAnnotationQueueButton has cyclomatic complexity 32 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 14 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":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"426d13652c057a70ab2716f886dad8e467196d249beb4ec67f2ad79905574292"}},{"ruleId":"D1","level":"warning","message":{"text":"router.buildSampledTurnContext (cyclomatic 32): router.buildSampledTurnContext has cyclomatic complexity 32 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c640dc418f22a62da32e14c6fd9aa7b271fdb448ddea7bd90738ed19df37d95"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoreDistributionBooleanChart.ScoreDistributionBooleanChart (cyclomatic 32): ScoreDistributionBooleanChart.ScoreDistributionBooleanChart has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 6 of the 32 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 151, 102, 64, \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"148893ca2b09b13f2fef8dee3b185df5c6e9038d81501120d4ddf51f89743fa7"}},{"ruleId":"D1","level":"warning","message":{"text":"useFilterState.getCommaArrayParam (cyclomatic 31): useFilterState.getCommaArrayParam has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 77, 40, 75). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"936a9ace3fb1acce590aabdf1bc19149b9007f1a34bcb63acccf5b99c7746a96"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoreDistributionCategoricalChart.ScoreDistributionCategoricalChart (cyclomatic 31): ScoreDistributionCategoricalChart.ScoreDistributionCategoricalChart has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 4 of the 31 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 177, a function literal at line 57, isUnmatchedKey, \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionCategoricalChart.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eef5bc675d2b4a6d2af9663960c44943597655fc2fc94bba5391f21751ed32"}},{"ruleId":"D1","level":"warning","message":{"text":"multi-select-key-values.MultiSelectKeyValues (cyclomatic 31): multi-select-key-values.MultiSelectKeyValues has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 15 of the 31 points are its own statements and the rest belongs to 9 function items inside it that branch (formatFilterValues, renderOption, a function literal at line 108, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/multi-select-key-values.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"029ba34d3b7ff94d776d10f5c10c7d388313c71001fa656bb3182e3ae985c75b"}},{"ruleId":"D1","level":"warning","message":{"text":"sign-in.getServerSideProps (cyclomatic 31): sign-in.getServerSideProps has cyclomatic complexity 31 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bae95bb53c1a3ca4aecab572813f80629f198e965351ceae7d8d3eeec99ae4"}},{"ruleId":"D1","level":"warning","message":{"text":"users.UsersTable (cyclomatic 31): users.UsersTable has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 208, 396, 415, \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":"langfuse/web/src/pages/project/[projectId]/users.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa140f9f623903a194a58feb0e9f1900273c2755f37768eb83b318af4cdc3c0"}},{"ruleId":"D1","level":"warning","message":{"text":"handleBatchActionJob.handleBatchActionJob (cyclomatic 31): handleBatchActionJob.handleBatchActionJob has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9feee58d2e9bca339b3a1303120cf157e124e502c89b657a79d575666242e43c"}},{"ruleId":"D1","level":"warning","message":{"text":"BackfillEventsHistoricFromParts.run (cyclomatic 31): BackfillEventsHistoricFromParts.run has cyclomatic complexity 31 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 14 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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1b35ea32a1d4a1541e104bdefb9a35ab891e4bcdadb217718c89841bbc2f39"}},{"ruleId":"D1","level":"warning","message":{"text":"openai.preprocessData (cyclomatic 30): openai.preprocessData 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":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dbce4b9c2366202f90825da7a671510d938cc7e0e9ba5654b15f44f9a44a70"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusStep.StatusStep (cyclomatic 30): StatusStep.StatusStep has cyclomatic complexity 30 (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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/StatusStep.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"538c3b3cc4f86a592167b57ba45510b4bab21dd2ef4a86ed7b220fff42a2f389"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluator-table.EvaluatorTable (cyclomatic 30): evaluator-table.EvaluatorTable has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to 14 function items inside it that branch (convertToTableRow, a function literal at line 260, a function literal at line 373, \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":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bba11955bff0474f33ebebb8246f782b1373e3f07b6108ea03c30425b4236a"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt-detail.PromptDetail (cyclomatic 30): prompt-detail.PromptDetail has cyclomatic complexity 30 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 4 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":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf0f6216457ceb0105b4bf454eccf48be9ad87f67806cec1d0fa18626c7597b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.handler (cyclomatic 30): index.handler has cyclomatic complexity 30 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4c7b5df918c5928d0f9a420a2e842bd20e9d21d04ef6c58a632911ad55e322"}},{"ruleId":"D1","level":"warning","message":{"text":"ingestionQueue.ingestionQueueProcessorBuilder.\u003Creturned closure\u003E (cyclomatic 30): ingestionQueue.ingestionQueueProcessorBuilder.\u003Creturned closure\u003E has cyclomatic complexity 30 (threshold 15). Of this number, 29 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":"langfuse/worker/src/queues/ingestionQueue.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fd083a4a2579a6f0d7bb58bd1c5c66b043aa904a8f479c9dee85db23a6693c"}},{"ruleId":"D1","level":"warning","message":{"text":"data-table-controls.CategoricalFacet (cyclomatic 29): data-table-controls.CategoricalFacet has cyclomatic complexity 29 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"f108c9e83201b2c147fe60d5ab9524f9698196f7aa90f60680b1f2df208a2314"}},{"ruleId":"D1","level":"warning","message":{"text":"tree-building.filterAndPrepareObservations (cyclomatic 29): tree-building.filterAndPrepareObservations has cyclomatic complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"82181f322579c864bbb85e1a01f65cf15e5570f9f8e9e1a1ae11db11a3b8fefd"}},{"ruleId":"D1","level":"warning","message":{"text":"useChatMLParser.useChatMLParser (cyclomatic 29): useChatMLParser.useChatMLParser has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 86, 162). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/hooks/useChatMLParser.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e15f8105476d160b3794e2603ccabff494d32ecfe008bcf67d9189003b538b9"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonValue.JsonValue (cyclomatic 29): JsonValue.JsonValue has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 11 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (getColor, a function literal at line 126, a function literal at line 163, \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c49d0ae7cdad829a7ed57e5fde7a3ab4e50253b9d3e506f63b3daefd2000a9"}},{"ruleId":"D1","level":"warning","message":{"text":"template-form.InnerEvalTemplateForm (cyclomatic 29): template-form.InnerEvalTemplateForm has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 13 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (onSubmit, a function literal at line 231, a function literal at line 259, \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":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f4b1b9ceb21d210fe14696ca7c9859bee04c9ed21bfa15bac92e13171be4e8"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyGuideCard.summarizeSection (cyclomatic 29): PolicyGuideCard.summarizeSection 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":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc476e9ee83dd0f036bc0744ac677df2cf0b469e8b623a7c129da6701ad3dfeb"}},{"ruleId":"D1","level":"warning","message":{"text":"OtelIngestionProcessor.extractUsageDetails (cyclomatic 28): OtelIngestionProcessor.extractUsageDetails has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f822ad59debb86292bfaa2924bfe29036305bda5feb97e1914d6d81678b3b83"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePage.TracePage (cyclomatic 28): TracePage.TracePage has cyclomatic complexity 28 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/TracePage.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9251a1dd2c5898d67cc83a0e5ffa0ab215c4c5a3321ff17fca5c48a00e97a3a"}},{"ruleId":"D1","level":"warning","message":{"text":"CorrectedOutputField.CorrectedOutputField (cyclomatic 28): CorrectedOutputField.CorrectedOutputField has cyclomatic complexity 28 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 9 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":"langfuse/web/src/components/trace2/components/IOPreview/components/CorrectedOutputField.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6454793e45fb4f24440c6d893f0bb6950ae36096410c50259ad8946c3c1c04"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeJsonViewer.JSONView (cyclomatic 28): CodeJsonViewer.JSONView has cyclomatic complexity 28 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4290c79ee8b22668b4ec2a2de0401d7e4727bce818fd336491f06d6ed3a2970"}},{"ruleId":"D1","level":"warning","message":{"text":"stripeWebhookHandler.handleSubscriptionChanged (cyclomatic 28): stripeWebhookHandler.handleSubscriptionChanged has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbfeab1538c92476ca0bf2d6ede5547460acce03d7d4c08ee32f1545554bc7d"}},{"ruleId":"D1","level":"warning","message":{"text":"DistributionBooleanCard.DistributionBooleanCard (cyclomatic 28): DistributionBooleanCard.DistributionBooleanCard has cyclomatic complexity 28 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 11 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":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9724f4e9820bb5bb7d238b5aa9ba7e37e3d1401af342776bcb9196b3d6f1341"}},{"ruleId":"D1","level":"warning","message":{"text":"metrics.PromptVersionTable (cyclomatic 28): metrics.PromptVersionTable has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 262, 196, 216, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d7d9b070d90b716c34741bc64a3aead44cbc0c9d2efc2e7e1267c089de7a04"}},{"ruleId":"D1","level":"warning","message":{"text":"otelIngestionQueue.otelIngestionQueueProcessor (cyclomatic 28): otelIngestionQueue.otelIngestionQueueProcessor has cyclomatic complexity 28 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/otelIngestionQueue.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89c85f9735c6e903f3d0840306140ca1d7f377528e758abc7086cabb6692ed0"}},{"ruleId":"D1","level":"warning","message":{"text":"types.compute_prop_taint_for_instruction (cyclomatic 28): types.compute_prop_taint_for_instruction 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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/types.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"11737d240e88167f9c9a49cf79b9a62c39d65992e55a894c6806dffd828ec960"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._inject_taint_watermarks_into_messages (cyclomatic 28): litellm_callback._inject_taint_watermarks_into_messages 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5842}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15188f575cca6326c0aff61f55645acbe2383c2f6d7dbedd03fcb61aec5cad1"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyEngine.observe_untrusted_output (cyclomatic 28): PolicyEngine.observe_untrusted_output has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d5f4862e0567211031af6f708c09ada801f89cb7e9d3abc6bbd15daf33b8c3"}},{"ruleId":"D1","level":"warning","message":{"text":"commentFilterService.applyCommentFilters (cyclomatic 27): commentFilterService.applyCommentFilters has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/commentFilterService.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3266336fd046a8130bd2899f29249d43175e74fcb684e3c40ef6533392eae775"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentDrawerButton.CommentDrawerButton (cyclomatic 27): CommentDrawerButton.CommentDrawerButton has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 65, 130, 190, \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":"langfuse/web/src/features/comments/CommentDrawerButton.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09f27e5b8b139105712c8d55432e4af07cb03ef86c8ee12432b158dc2ebcc11"}},{"ruleId":"D1","level":"warning","message":{"text":"filter-query-encoding.decodeFiltersGeneric (cyclomatic 27): filter-query-encoding.decodeFiltersGeneric 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":"langfuse/web/src/features/filters/lib/filter-query-encoding.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2949e9de8646935ac33a778ebe9373b23ef04b4c94c1cbc9da18d82a469d89d"}},{"ruleId":"D1","level":"warning","message":{"text":"useSidebarFilterState.useSidebarFilterState.applySelection (cyclomatic 27): useSidebarFilterState.useSidebarFilterState.applySelection has cyclomatic complexity 27 (threshold 15). Of this number, 25 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":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"93894e45551907b974df452a95f11df3a277b3c75a393c87efb100a887904600"}},{"ruleId":"D1","level":"warning","message":{"text":"HeatmapCard.HeatmapCard (cyclomatic 27): HeatmapCard.HeatmapCard 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":"langfuse/web/src/features/score-analytics/components/cards/HeatmapCard.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ee2c2e18881a0452aded354e68847565f4ef278a264b82998378ebe0f4f421"}},{"ruleId":"D1","level":"warning","message":{"text":"analytics.ScoresAnalyticsV2Page (cyclomatic 27): analytics.ScoresAnalyticsV2Page has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 155, 104, 120, \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":"langfuse/web/src/pages/project/[projectId]/scores/analytics.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6511979c1903d8c0782b90a995ab733161878654fed9622989b59c3e40a7adf"}},{"ruleId":"D1","level":"warning","message":{"text":"[modelId].ModelDetailPage (cyclomatic 27): [modelId].ModelDetailPage has cyclomatic complexity 27 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/models/[modelId].tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"506329848413d59c5911b869561e6d1d502c1fe704aa4dfa16b177d3ab52ef6d"}},{"ruleId":"D1","level":"warning","message":{"text":"fill-time-series-gaps.fillGapsInSingleUnitData (cyclomatic 27): fill-time-series-gaps.fillGapsInSingleUnitData has cyclomatic complexity 27 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 12 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":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0b22650fcee03894cdba9e486c7f9522c960cf19988d4780aef2f58adae43f"}},{"ruleId":"D1","level":"warning","message":{"text":"fill-time-series-gaps.aggregateCategoricalIntoMultiUnitBuckets (cyclomatic 27): fill-time-series-gaps.aggregateCategoricalIntoMultiUnitBuckets has cyclomatic complexity 27 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 12 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff6cd1b09ab669e420c84f9a5236e86562063cada432c4aaccc5b2c59515330"}},{"ruleId":"D1","level":"warning","message":{"text":"IngestionService.mapObservationEventsToRecords (cyclomatic 27): IngestionService.mapObservationEventsToRecords 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 one function literal inside it that branches (line 1803). 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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"1109aa2e256df224368c30a8f1f0636bc30b883b80fabd615319c90973771630"}},{"ruleId":"D1","level":"warning","message":{"text":"BackfillEventsHistoric.run (cyclomatic 27): BackfillEventsHistoric.run has cyclomatic complexity 27 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 13 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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd32c646c4140eb03de7157e6012554975839f70b75ca500425cf8ee92e6b65b"}},{"ruleId":"D1","level":"warning","message":{"text":"AlignmentSentinelPolicy.check (cyclomatic 27): AlignmentSentinelPolicy.check 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4feaac73ea83178abc9ea1c45d797f0d7a0239b503f3f9bb93b8d1157876c4e5"}},{"ruleId":"D1","level":"warning","message":{"text":"filterToPrisma.tableColumnsToSqlFilter (cyclomatic 26): filterToPrisma.tableColumnsToSqlFilter has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 67, 50, 47). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/filterToPrisma.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb3e1837ecc516764a1f2e052e477862db6dbad16e52d1d34b16af2669dcc29"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceDetailView.TraceDetailView (cyclomatic 26): TraceDetailView.TraceDetailView has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a2d0e212d737cee14910ea92b6bc86d96e01fdf40fe9146ca06243a5881d93"}},{"ruleId":"D1","level":"warning","message":{"text":"JSONTableView.JSONTableView (cyclomatic 26): JSONTableView.JSONTableView has cyclomatic complexity 26 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 13 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":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fdb21e6a9c8838f8a0ffe041522682d08d7614ad04127947afbceb831f7e70"}},{"ruleId":"D1","level":"warning","message":{"text":"multi-select-combobox.MultiSelectCombobox (cyclomatic 26): multi-select-combobox.MultiSelectCombobox has cyclomatic complexity 26 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/multi-select-combobox.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef7063c825a5e6b97395fe4b45e6e09a6e02cfa4e2487b9bbf25736f33838ac"}},{"ruleId":"D1","level":"warning","message":{"text":"BillingService.getSubscriptionInfo (cyclomatic 26): BillingService.getSubscriptionInfo has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 315, 465, 405). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"55811d8c3f92e427b942f0c596e7c8227450fcb79c1eca0e6ad6a0887071368b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.handler (cyclomatic 26): index.handler 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":"langfuse/web/src/pages/api/public/scim/Users/index.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc9dbec1ae56226ad5f649499c6d7afb5d27058622ce0cf3dd9bee65b3e194f"}},{"ruleId":"D1","level":"warning","message":{"text":"index.verifyClickhouseScore (cyclomatic 26): index.verifyClickhouseScore has cyclomatic complexity 26 (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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d211e7983a9d636c74c11e268c56f81ed827fca903591c2b2fcbe0bc847872"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityLabelPolicy.check (cyclomatic 26): SecurityLabelPolicy.check has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd58052b44c7cea3fd2bdc32be109e76ad621d6781ee9884b34ae3372ee579d"}},{"ruleId":"D1","level":"warning","message":{"text":"processEventBatch.processEventBatch (cyclomatic 25): processEventBatch.processEventBatch 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 5 function literals inside it that branch (lines 282, 156, 193, \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":"langfuse/packages/shared/src/server/ingestion/processEventBatch.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"690ab640b0d10897f47eeabbad9da3d9d5f25f4ab8eb5b9504a0493d8b370668"}},{"ruleId":"D1","level":"warning","message":{"text":"BillingService.getInvoices (cyclomatic 25): BillingService.getInvoices has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 1551, 1626, 1593). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"8588f250d79e6c260fe0607cbfcae3ee222798d197e87d3eafb829a021059db4"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelUsageChart.ModelUsageChart (cyclomatic 25): ModelUsageChart.ModelUsageChart has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc3f14e98880a8059f2c9c20adec4404937f25d219e113ecbf4f83b1d53f75a"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetItemDetailPage.DatasetItemDetailPage (cyclomatic 25): DatasetItemDetailPage.DatasetItemDetailPage has cyclomatic complexity 25 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemDetailPage.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf3e983d3d76133dc5844e7507e4ec8db59d1dd5c877d6b973b75a5758e54dd"}},{"ruleId":"D1","level":"warning","message":{"text":"remap-evaluator.RemapEvaluatorPage (cyclomatic 25): remap-evaluator.RemapEvaluatorPage has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 12 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 251, handleFormSuccess, a function literal at line 82). 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":"langfuse/web/src/features/evals/pages/remap-evaluator.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c585c0ed535c0378fbb6a810ce3724e77e0a258f1f77adff10f538f7ea5769"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryBuilder.translateAggregation (cyclomatic 25): QueryBuilder.translateAggregation has cyclomatic complexity 25 (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":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"07843e07415a5fc2b85917daee9afb23c309b883e0574d7ff978068218d7bae9"}},{"ruleId":"D1","level":"warning","message":{"text":"direct_metadata._coerce_generic (cyclomatic 25): direct_metadata._coerce_generic 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/direct_metadata.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9783ba286886dc9f389971b5579ce59ac19173de96195a6673b65e4af519fe"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelPolicyRuntime.check_path_and_budget (cyclomatic 25): KernelPolicyRuntime.check_path_and_budget 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe48b2688c259304b90a831ab025559ce3e244ca41344f7054ddb4f188288a80"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelPolicyRuntime.efsm_step (cyclomatic 25): KernelPolicyRuntime.efsm_step 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"435193d5ed93884314297ce8f340a2c44e1036545562a693309546de62fa8248"}},{"ruleId":"D1","level":"warning","message":{"text":"public-api-filter-builder.convertApiProvidedFilterToClickhouseFilter (cyclomatic 24): public-api-filter-builder.convertApiProvidedFilterToClickhouseFilter has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 223). 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":"langfuse/packages/shared/src/server/queries/public-api-filter-builder.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d8abd8f0387b988ca8a0a9500284b126c0b19da77d68e164377096c992f39d"}},{"ruleId":"D1","level":"warning","message":{"text":"extractToolsBackend.extractToolCallsFromRawOutput (cyclomatic 24): extractToolsBackend.extractToolCallsFromRawOutput 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":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2691c6f2f796aa4603b282e3f29ca152d8eba621ca4c7705a03ef410b3fa6a40"}},{"ruleId":"D1","level":"warning","message":{"text":"langgraph.normalizeMessage (cyclomatic 24): langgraph.normalizeMessage has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"237dffbcc8c5cffcae9e2cf3936d666192b42c8839befc0acfa78b77e90a306d"}},{"ruleId":"D1","level":"warning","message":{"text":"generic.preprocessData (cyclomatic 24): generic.preprocessData 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":"langfuse/packages/shared/src/utils/chatml/adapters/generic.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d2a8032d9ace9c7f27cadb29455aed19a56d2a6ab3d3b19302959413a1c78a"}},{"ruleId":"D1","level":"warning","message":{"text":"DataGenerator.generateEvaluationObservations (cyclomatic 24): DataGenerator.generateEvaluationObservations has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 322). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"62371e1b19b17290011ff9bc35bcd9eaf8e83dc994ebc4af4d37d50b3019ef33"}},{"ruleId":"D1","level":"warning","message":{"text":"AdvancedJsonViewer.AdvancedJsonViewer (cyclomatic 24): AdvancedJsonViewer.AdvancedJsonViewer has cyclomatic complexity 24 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 10 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcf20af54b62f0cd534beb9e57dd1bdcb6573ff3b588a0ef07aa7b927890334"}},{"ruleId":"D1","level":"warning","message":{"text":"slider.Slider (cyclomatic 24): slider.Slider has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (handleInputBlur, a function literal at line 28, handleKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/slider.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fae719979685548f309a6335fab06ac0f1c6d2e3396d2c6d0c20b3780ec4c0f"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-templates-table.EvalsTemplateTable (cyclomatic 24): eval-templates-table.EvalsTemplateTable has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 435, 217, 467, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b308d23c9f799aa978d8c95c9fc3aeebf3ed03bd98e5949279ee38b9c2cf0bf"}},{"ruleId":"D1","level":"warning","message":{"text":"SurveyStep.SurveyStep (cyclomatic 24): SurveyStep.SurveyStep has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to 3 function items inside it that branch (getLocalizedOption, handleAutoAdvanceWithTimeout, a function literal at line 173). 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":"langfuse/web/src/features/onboarding/components/SurveyStep.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"575aaa48a6a63408f264abb2f028b91d7afe7308956c92d140158d307e0d19c1"}},{"ruleId":"D1","level":"warning","message":{"text":"JumpToPlaygroundButton.parseGeneration (cyclomatic 24): JumpToPlaygroundButton.parseGeneration 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":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1635978f438369d3a1042065134d74ca681dd6d77dbf4c75430f75959df7c0e"}},{"ruleId":"D1","level":"warning","message":{"text":"prompts-table.PromptTable (cyclomatic 24): prompts-table.PromptTable 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 10 function literals inside it that branch (lines 147, 309, 254, \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":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7824d15e152a90f2c03d27252baa0296e5ad0b5f8c4b8fdd31195f3c97b212b"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateLLMApiKeyForm.CreateLLMApiKeyForm::onSubmit (cyclomatic 24): CreateLLMApiKeyForm.CreateLLMApiKeyForm::onSubmit has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CreateLLMApiKeyForm.CreateLLMApiKeyForm) 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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4838638903ce4da06689cea7bd76126f1425abb84de8016f94bbf49b2187089e"}},{"ruleId":"D1","level":"warning","message":{"text":"SupportFormSection.SupportFormSection (cyclomatic 24): SupportFormSection.SupportFormSection has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (onSubmit, a function literal at line 469, a function literal at line 206, \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":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf77595c4fb0a371cd61544b2133902676fd391976e622f906ba8c98c0d33270"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceGraphView.TraceGraphView (cyclomatic 24): TraceGraphView.TraceGraphView has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 137, 91, 55, \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":"langfuse/web/src/features/trace-graph-view/components/TraceGraphView.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b231c441f54320bf6f8c1eba617fc03b47c5ab4f0953d341441596c6814175a"}},{"ruleId":"D1","level":"warning","message":{"text":"BigNumber.BigNumber (cyclomatic 24): BigNumber.BigNumber has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/BigNumber.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef790d0695f500474235929f55b813a99eeaaac0731e70a1e0ba1980852e0fe"}},{"ruleId":"D1","level":"warning","message":{"text":"IngestionService.getUsageUnits (cyclomatic 24): IngestionService.getUsageUnits has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"921e03b13aea8cdc3b3b291f53ce6c899076cf0de85e9630cf3e27aa9e478888"}},{"ruleId":"D1","level":"warning","message":{"text":"policy_rule_ir._validate_predicate (cyclomatic 24): policy_rule_ir._validate_predicate 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c5c2bf200c1c9ea86fc85dd88b7e9023f7be49e954378f2b1809dbdd50f919"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyEngine._check_static_allowdeny (cyclomatic 24): PolicyEngine._check_static_allowdeny 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8aeaf04df9882df7170ada96f85c1ffcfce1ddad67e0fd8dd0a7546b199676"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelPolicyRuntime.check_allow_deny (cyclomatic 24): KernelPolicyRuntime.check_allow_deny 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9701850541a9fa96beeed2e66b4abf438ec857a4e112d97fc84accff083cf7c"}},{"ruleId":"D1","level":"warning","message":{"text":"validation.validatePricingTiers (cyclomatic 23): validation.validatePricingTiers 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":"langfuse/packages/shared/src/features/model-pricing/validation.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"511c9a02622d1b6f40a5589dd582fb4e854ef5e17f24531e9aa86d6702b211e7"}},{"ruleId":"D1","level":"warning","message":{"text":"data-table-pagination.DataTablePagination (cyclomatic 23): data-table-pagination.DataTablePagination has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-pagination.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd5477ac9d5c4d0a2116e3c48ee118f41cca20a19e55bc7073da2569ed59a03"}},{"ruleId":"D1","level":"warning","message":{"text":"tree-building.buildTreeNodesBottomUp (cyclomatic 23): tree-building.buildTreeNodesBottomUp has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"026fe0db6593969de286264218aa00457b629617d83b6ee4a34c5582f2d17a64"}},{"ruleId":"D1","level":"warning","message":{"text":"BillingInvoiceTable.BillingInvoiceTable (cyclomatic 23): BillingInvoiceTable.BillingInvoiceTable has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 7 function items inside it that branch (onPaginationChange, a function literal at line 133, a function literal at line 77, \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":"langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7658c8a584e97677778f04c5a7b927c2d45d488151144cf44a4c6f34b36b8a"}},{"ruleId":"D1","level":"warning","message":{"text":"BillingService.changePlan (cyclomatic 23): BillingService.changePlan has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 782, 1076, 1036). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f48b81c807e67eaf8ce98a127322a7ae964329308bf89be355c12b9e5753959"}},{"ruleId":"D1","level":"warning","message":{"text":"BillingService.applyPromotionCode (cyclomatic 23): BillingService.applyPromotionCode has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 1912, 1955, 1972). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1a49093a8369e2de474963e60762747980332ebd2832d6b2686485b0667a15"}},{"ruleId":"D1","level":"warning","message":{"text":"EditDatasetItem.EditDatasetItem (cyclomatic 23): EditDatasetItem.EditDatasetItem has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 94, a function literal at line 199, a function literal at line 238, \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":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95fef71f8428979a671b4920350a0abafa7d2d3816c3a0cdf3599c7b90f5d11"}},{"ruleId":"D1","level":"warning","message":{"text":"UpsertScoreConfigDialog.UpsertScoreConfigDialog (cyclomatic 23): UpsertScoreConfigDialog.UpsertScoreConfigDialog has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (onSubmit, a function literal at line 290, a function literal at line 194, \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":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f7a6cc4ffb428e8e8c469200db96fbd11dfed7f528733e1a393227cd7e4268"}},{"ruleId":"D1","level":"warning","message":{"text":"PivotTable.PivotTable (cyclomatic 23): PivotTable.PivotTable has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 260, 246, 308, \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":"langfuse/web/src/features/widgets/chart-library/PivotTable.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f6647d1405e808d9a5219b15d8fc1bd4cd6f8adec6ed1c6d53f60143d59544"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.getAuthOptions (cyclomatic 23): auth.getAuthOptions has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 741, 876, 614). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/auth.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"3812c2a8db66f780669bba8a8841c3324103165323e84d8b1f400985b54b021c"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._resolve_trace_state_from_metadata (cyclomatic 23): litellm_callback._resolve_trace_state_from_metadata 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"512d4c8a43a8ae5c579f61c10f88bef850b91bf6017b2217460e7f0f75c5f898"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._infer_codex_tool_name_from_arguments (cyclomatic 23): litellm_callback._infer_codex_tool_name_from_arguments 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5299}}}],"partialFingerprints":{"codehealthFindingId/v1":"61414ceada24169e081ec0953acf74e33400df8d480b6fece0cbf428f097aeb9"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._response_transform_content_only (cyclomatic 23): litellm_callback._response_transform_content_only 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa5927668d78b30a7df66fdf35ed4df8b1095f7519423916ebd4ada9647525c"}},{"ruleId":"D1","level":"warning","message":{"text":"TaintPolicy.check (cyclomatic 23): TaintPolicy.check 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5fdd0bd5440e3c4b3a161ab9e43056b355a6a0763fcf78f18fb6c17fd142f1"}},{"ruleId":"D1","level":"warning","message":{"text":"run_cases.main (cyclomatic 23): run_cases.main 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":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f9bfe6027c20ae75c32c5814c7167f7aa9610bd2505550b157dfff7ba61c35"}},{"ruleId":"D1","level":"warning","message":{"text":"observations.getObservationsTableInternal (cyclomatic 22): observations.getObservationsTableInternal has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0dc569114c5a1bf60591d0b2142828fd5a690b5caa5b52a515fa5395266a15"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageComponent.ChatMessageComponent (cyclomatic 22): ChatMessageComponent.ChatMessageComponent has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (toggleRole, a function literal at line 116, a function literal at line 171, \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":"langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0848a0a23ddb42dbf58813516c493f4ea16be703cd7faa2bd934976283ac31"}},{"ruleId":"D1","level":"warning","message":{"text":"VersionLabel.VersionLabel (cyclomatic 22): VersionLabel.VersionLabel has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/VersionLabel.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc97cbd12278be5b40ceaa020be00b9a5af452050b62530090ef759771193d5"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownViewer.MarkdownView (cyclomatic 22): MarkdownViewer.MarkdownView has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/MarkdownViewer.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6e91523fab7f7b11952a933c6ae28599f7be5889dc9ca1dbaef5893e191bc6"}},{"ruleId":"D1","level":"warning","message":{"text":"automationForm.AutomationForm::getDefaultValues (cyclomatic 22): automationForm.AutomationForm::getDefaultValues has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e824cfaf300f24ca82a9ac5379e3ebe10db90fd8d5ee62a12a6af596ff0105f3"}},{"ruleId":"D1","level":"warning","message":{"text":"useExtractVariables.useExtractVariables (cyclomatic 22): useExtractVariables.useExtractVariables 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 literals inside it that branch (lines 103, 62, 56, \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":"langfuse/web/src/features/evals/hooks/useExtractVariables.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f88c1f98213a1144bd5d0846f32f5470d53fe8d96535218290b8bc9cee83071"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptModelStep.PromptModelStep (cyclomatic 22): PromptModelStep.PromptModelStep has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 7 function items inside it that branch (a function literal at line 109, a function literal at line 282, handleToggleStructuredOutput, \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":"langfuse/web/src/features/experiments/components/steps/PromptModelStep.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b732f0c8d86d48fe225b9c0c3bd02b7c64e06f166277f8aa51be71a304c6150"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyGuideCard.PolicyGuideCard (cyclomatic 22): PolicyGuideCard.PolicyGuideCard has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a07834ebc2be52053bf368a67830eb53f5e460b36fb0bcd3b357de9135c186"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelSelector.ChannelSelector (cyclomatic 22): ChannelSelector.ChannelSelector has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99269ea51303655beb45a10044f25461fd14cd6dc1846cccb18d8fc327aa088"}},{"ruleId":"D1","level":"warning","message":{"text":"buildStepData.assignGlobalTimingSteps (cyclomatic 22): buildStepData.assignGlobalTimingSteps has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 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":"langfuse/web/src/features/trace-graph-view/buildStepData.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6bb92a1dbc07ff0baacdfc1d2e2b1c6de6767252e8798c8ae38ac906188cb9"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._append_bootstrap_scan_notice_if_needed (cyclomatic 22): litellm_callback._append_bootstrap_scan_notice_if_needed 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f074c58d63f715e8439fe9fc24326577d10108e5978172681d4a364a7a2e04a2"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._max_emitted_tool_result_index (cyclomatic 22): litellm_callback._max_emitted_tool_result_index 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4527ec4a19c243be0fb15b578f2e21631f9e06dc17c16ea42fd5e7e9d89a24"}},{"ruleId":"D1","level":"warning","message":{"text":"alignment_trigger.should_trigger_preexec_sentinel (cyclomatic 22): alignment_trigger.should_trigger_preexec_sentinel 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbcfcd6d010f7d2a0f2ec473bd457165299c4f56e987b8e0dc01622bfbc4fab"}},{"ruleId":"D1","level":"warning","message":{"text":"EfsmGatePolicy.check (cyclomatic 22): EfsmGatePolicy.check 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"358f5efff2271ec14ecf25183cff9f4607ccf3e542fee51ec585e8c8603f0e4d"}},{"ruleId":"D1","level":"warning","message":{"text":"protocol_adapter.extract_all_user_messages_from_request (cyclomatic 22): protocol_adapter.extract_all_user_messages_from_request 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":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d62807c06861bddd269a6c7b0facdf314d2d9204b97a2db65f7ee4553aa8f0"}},{"ruleId":"D1","level":"warning","message":{"text":"run_cases.load_manifest (cyclomatic 22): run_cases.load_manifest 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":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a18b6bd3448bc396cc8cc9c02f588ec077fff23629d1c411bbdccd579ba7cd"}},{"ruleId":"D1","level":"warning","message":{"text":"dataset-items.buildPrismaWhereFromFilterState (cyclomatic 21): dataset-items.buildPrismaWhereFromFilterState 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":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"43da13b9072e23e9202ae1fa7d7d6b538a8469dbc1e5cc577c53ee18e09eb57d"}},{"ruleId":"D1","level":"warning","message":{"text":"aisdk.preprocessData (cyclomatic 21): aisdk.preprocessData has cyclomatic complexity 21 (threshold 15). Of this number, 20 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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f49528ca99a1763f07614bbd30e34e1651fbcef62453ca9a8f0d927d2c2c1f"}},{"ruleId":"D1","level":"warning","message":{"text":"generic.normalizeGoogleMessage (cyclomatic 21): generic.normalizeGoogleMessage has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 40, 17, 25). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/generic.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eaa368109bfa730941d42512a855f992266357755b011b731d9d4ae723e094"}},{"ruleId":"D1","level":"warning","message":{"text":"data-table-column-visibility-filter.ColumnVisibilityListItem (cyclomatic 21): data-table-column-visibility-filter.ColumnVisibilityListItem has cyclomatic complexity 21 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-column-visibility-filter.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"177d39af8f80db4ef5fbc8479457efdd8a336e4eda39ad65518b409f1b33b2e8"}},{"ruleId":"D1","level":"warning","message":{"text":"useTableViewManager.useTableViewManager (cyclomatic 21): useTableViewManager.useTableViewManager has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 131, 315, 281, \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":"langfuse/web/src/components/table/table-view-presets/hooks/useTableViewManager.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8a098ced5736e51ffc42106c9c2d29323675425106755cf0b1899722f68a62"}},{"ruleId":"D1","level":"warning","message":{"text":"VirtualizedJsonViewer.VirtualizedJsonViewer (cyclomatic 21): VirtualizedJsonViewer.VirtualizedJsonViewer has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 165, 114, 130, \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9e5e18fd87e36b8e355faad17df321b10fe504f501023372e001c52c2108a8"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoreAnalytics.ScoreAnalytics (cyclomatic 21): ScoreAnalytics.ScoreAnalytics has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 103, 76). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a5073836c82bb5ece1f8fba3f0311820a9c10cd6aaacd128226d9f4b1b3707"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetAggregateTableCell.DatasetAggregateCellContent (cyclomatic 21): DatasetAggregateTableCell.DatasetAggregateCellContent has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"12295a05e1890ddf78aae2fa55401fc86cd331c15f064a655f953d8e9b7e9190"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetItemsTable.DatasetItemsTable (cyclomatic 21): DatasetItemsTable.DatasetItemsTable has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 268, a function literal at line 173, a function literal at line 293, \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":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e803355c3e9f6a56c5c4dc876b0d0c555caa94c89f371f279e15c42fb30216"}},{"ruleId":"D1","level":"warning","message":{"text":"useCsvMapping.useCsvMapping (cyclomatic 21): useCsvMapping.useCsvMapping has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 60, 84, 49). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvMapping.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"164e4cf2fb2b9e265576feb8940627b4f317145ab6920b431300088339411413"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingSurvey.OnboardingSurvey (cyclomatic 21): OnboardingSurvey.OnboardingSurvey has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 39, isEmpty, a function literal at line 71, \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":"langfuse/web/src/features/onboarding/components/OnboardingSurvey.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a459c4d2c2fa8827a880d0a7a896065c52ddeb4199c06cf360d5b46de1e53a51"}},{"ruleId":"D1","level":"warning","message":{"text":"chatCompletionHandler.chatCompletionHandler (cyclomatic 21): chatCompletionHandler.chatCompletionHandler has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 47, 102, 108). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/server/chatCompletionHandler.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2c25cdb0713ac8f9187a166c6d8c8024c252e074418a58f0c09a83ff5b4de7"}},{"ruleId":"D1","level":"warning","message":{"text":"color-scales.buildColorMappings (cyclomatic 21): color-scales.buildColorMappings 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":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad28ec5dce03777d0b5c03f34e442bf9d198f227f6c1efb1d496408ebf6bc46"}},{"ruleId":"D1","level":"warning","message":{"text":"playgroundConverter.convertChatMlToPlayground (cyclomatic 21): playgroundConverter.convertChatMlToPlayground has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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":"langfuse/web/src/utils/chatml/playgroundConverter.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"247b61f742f54842a31f348378b52d42ad8aff3f97502912c6be4a48e8e0dce1"}},{"ruleId":"D1","level":"warning","message":{"text":"fill-time-series-gaps.fillGapsInCategoricalData (cyclomatic 21): fill-time-series-gaps.fillGapsInCategoricalData has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (toStartOfSingleUnit, addSingleUnit). 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":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c2dc829d950148761a4e1976f6c376c0cd15c0ae00a8e6fbe6f71af0bcc9a7"}},{"ruleId":"D1","level":"warning","message":{"text":"index.main (cyclomatic 21): index.main has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ff389dd3ae59cd8f9c0670dc67a88a3b580bdbb1c6eac400bd6f720b0e6e62"}},{"ruleId":"D1","level":"warning","message":{"text":"bash._ts_iter_flat (cyclomatic 21): bash._ts_iter_flat 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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91723ed59e25652e8b441b2655af08ea717de9b0fbea907eae9c742fe6bd8f8"}},{"ruleId":"D1","level":"warning","message":{"text":"powershell._ps_iter_flat (cyclomatic 21): powershell._ps_iter_flat 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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d668226a50a1a18476bdc06504e84d7235ca7eeaec2bbcac6bb932a39fc31e65"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._wrap_reference_tool_ids_into_messages (cyclomatic 21): litellm_callback._wrap_reference_tool_ids_into_messages has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5681}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8a961d82951700c49ef842b8ac1599acc46c71ca10db5215eedb4ca265d98c"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelPolicyRuntime.check_taint_sink_for_tool (cyclomatic 21): KernelPolicyRuntime.check_taint_sink_for_tool 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7cb38d4c6ab61639d44950a8d8fab1c78744264ec2e3f62e9d0b63e1467495"}},{"ruleId":"D1","level":"warning","message":{"text":"protocol_adapter.to_canonical_assistant_message (cyclomatic 21): protocol_adapter.to_canonical_assistant_message 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":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd9bbd587c73d757c9fa5b8b76e585580f889d45dd2fbe9f4df65a71c337e77"}},{"ruleId":"D1","level":"warning","message":{"text":"dataset-run-items.getDatasetRunItemsTableInternal (cyclomatic 20): dataset-run-items.getDatasetRunItemsTableInternal has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"1299ad152aa3d2cabdb324af19ebfa6c6fffcbe77b1ff1144d0df1a55151eaaa"}},{"ruleId":"D1","level":"warning","message":{"text":"gemini.preprocessData (cyclomatic 20): gemini.preprocessData 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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"753ec4830efb6c038b92cd7ce067dfa91616e19a5817a20d89f3ece24747fcfe"}},{"ruleId":"D1","level":"warning","message":{"text":"FrameworkTraceLoader.adaptTrace (cyclomatic 20): FrameworkTraceLoader.adaptTrace 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":"langfuse/packages/shared/scripts/seeder/utils/framework-traces/framework-trace-loader.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cb210cc86d47bfee8d6478873cec696cd98fa3fd49261c65d741340b6f25e6"}},{"ruleId":"D1","level":"warning","message":{"text":"data-table-ai-filters.DataTableAIFilters (cyclomatic 20): data-table-ai-filters.DataTableAIFilters has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (handleAiFilterSubmit, a function literal at line 127, a function literal at line 120). 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":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6cb242b8ec227085ab6d890799a9d589079b1a5c24320bc9e8ad6adcf0a2a5"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaButtonGroup.MediaButtonGroup (cyclomatic 20): MediaButtonGroup.MediaButtonGroup has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 135, 263, 142, \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dc86d06d07aaaacbbb1c5ed70c8b5b5df7194041025593e9b249ffa327b7b8"}},{"ruleId":"D1","level":"warning","message":{"text":"time-picker-input.TimePickerInput (cyclomatic 20): time-picker-input.TimePickerInput has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (handleKeyDown, calculateNewValue, a function literal at line 53). 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":"langfuse/web/src/components/ui/time-picker-input.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45b3b0ecfe0952da969c11195af2cafc90e09793f2e70d954408c300a2c8945"}},{"ruleId":"D1","level":"warning","message":{"text":"index.AddObservationsToDatasetDialog (cyclomatic 20): index.AddObservationsToDatasetDialog has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1a019d17f52c24b05767ccbebef06e27f9905417f477f174319b7426ab26c7"}},{"ruleId":"D1","level":"warning","message":{"text":"useCsvImport.useCsvImport.execute (cyclomatic 20): useCsvImport.useCsvImport.execute has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvImport.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01d62af6eb2022b27f74a2ed1597c05c947b4d55d4ed5009c76aa69e4db161a"}},{"ruleId":"D1","level":"warning","message":{"text":"new-evaluator.NewEvaluatorPage (cyclomatic 20): new-evaluator.NewEvaluatorPage has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/new-evaluator.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ddaa8f7a7135c4409989cdbf04756b27e41a13d271f96d8c6eff1a20fcad1e"}},{"ruleId":"D1","level":"warning","message":{"text":"GovernanceOverviewPanel.GovernanceOverviewPanel (cyclomatic 20): GovernanceOverviewPanel.GovernanceOverviewPanel has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7465864e7fe62a9f84b99fa659f9e2484296c972d3410b2b89ffa00f9f29a1d2"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateLLMApiKeyForm.createFormSchema (cyclomatic 20): CreateLLMApiKeyForm.createFormSchema has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 89, 191, 149, \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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a7823f6e18dfa3fb73f455eff9b4593850ffa36937ecf1c1050c84fe30ab40"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackConnectButton.SlackConnectButton (cyclomatic 20): SlackConnectButton.SlackConnectButton has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (handleConnect::handleMessage, a function literal at line 64, handleConnect, \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":"langfuse/web/src/features/slack/components/SlackConnectButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dad93bfe12a8ae63c88858d4d9b8c6122148b629c3473ee21258f9cb462846b"}},{"ruleId":"D1","level":"warning","message":{"text":"Chart.Chart (cyclomatic 20): Chart.Chart has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 2 function items inside it that branch (renderChart, a function literal at line 55). 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":"langfuse/web/src/features/widgets/chart-library/Chart.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a267aef867acdc887838ff99a0819787a53925c1d76a5f10fbc4bb314f661e"}},{"ruleId":"D1","level":"warning","message":{"text":"sign-up.SignIn (cyclomatic 20): sign-up.SignIn has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-up.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e334dd67f610c033de858599a56c5a9f453c77d3f8907d276a264205f87d80"}},{"ruleId":"D1","level":"warning","message":{"text":"getDatabaseReadStream.getDatabaseReadStreamPaginated (cyclomatic 20): getDatabaseReadStream.getDatabaseReadStreamPaginated has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 277, 352, 398, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5950fb7aa2d0873c00b95274dec583598aade93ff4f835805d5f7c89794b14"}},{"ruleId":"D1","level":"warning","message":{"text":"handleCloudUsageMeteringJob.handleCloudUsageMeteringJob (cyclomatic 20): handleCloudUsageMeteringJob.handleCloudUsageMeteringJob 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":"langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f46513b92db7798a2f6cb7d7e8aae5803453e2c977e8d208cceb8a08c58d84"}},{"ruleId":"D1","level":"warning","message":{"text":"langfuse_replay._emit_response_nodes_from_pair (cyclomatic 20): langfuse_replay._emit_response_nodes_from_pair 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":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"a348d6145a1561df9cb757c013e99afc4b36c84d37f31298b6889791f1da6e26"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._strip_and_record_reference_tool_ids_from_message (cyclomatic 20): litellm_callback._strip_and_record_reference_tool_ids_from_message has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5462}}}],"partialFingerprints":{"codehealthFindingId/v1":"f729176055cacf2e4982da1428ef020a691d74879e0e40da76b05c0a2f7e98e8"}},{"ruleId":"D1","level":"warning","message":{"text":"exec_composite_policy._humanize_review_reason (cyclomatic 20): exec_composite_policy._humanize_review_reason has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/exec_composite_policy.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dd4f80eeedec66cdc6841217d4f590815f2505011d27c943eb2b267dd6ce4c"}},{"ruleId":"D1","level":"warning","message":{"text":"openclaw_policy._get_ping_pong (cyclomatic 20): openclaw_policy._get_ping_pong 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b2bfc52d966ecbe69dc2fa290c43f70da334cad7aa1ba13add6862d72e3b4e"}},{"ruleId":"D1","level":"warning","message":{"text":"policy_rule_ir._validate_rule (cyclomatic 20): policy_rule_ir._validate_rule has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7147afe0faea71bc47039e9e803c3fa0fe2cbee6826f1226316ec91065664f"}},{"ruleId":"D1","level":"warning","message":{"text":"OtelIngestionProcessor.extractModelParameters (cyclomatic 19): OtelIngestionProcessor.extractModelParameters has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab59a438bac9a979f5cb59f1073d9151438a56eec1889245baa797120ea66e07"}},{"ruleId":"D1","level":"warning","message":{"text":"OtelIngestionProcessor.extractExperimentFields (cyclomatic 19): OtelIngestionProcessor.extractExperimentFields 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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd43a9216edb5ec5a5442943b688b5af9627e6e712034b5574b8ffd54b432f1"}},{"ruleId":"D1","level":"warning","message":{"text":"microsoft-agent.extractFromParts (cyclomatic 19): microsoft-agent.extractFromParts has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e8030732eedc6afbbdc0dbc2b60afd95b5c26515fdd7046a26fbf51becff6d"}},{"ruleId":"D1","level":"warning","message":{"text":"applyFieldMapping.applyFieldMappingConfig (cyclomatic 19): applyFieldMapping.applyFieldMappingConfig 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":"langfuse/packages/shared/src/features/batchAction/applyFieldMapping.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda4e05b85d96a03b7e413b59a588c329e925f8c4dfa9c74206c69e3184cd183"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceLogView.TraceLogView (cyclomatic 19): TraceLogView.TraceLogView has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/TraceLogView.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a95de0ff5774d525e12b3e330663cabdc150d7f78111507fbff55fd6204eec"}},{"ruleId":"D1","level":"warning","message":{"text":"IOPreviewPretty.IOPreviewPretty (cyclomatic 19): IOPreviewPretty.IOPreviewPretty has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 187, 220). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewPretty.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed28f57ee7eb4bfdc40b70e735a0845ed75bba8cdafab2dd09db7bb75125c7b9"}},{"ruleId":"D1","level":"warning","message":{"text":"IOPreview.IOPreview (cyclomatic 19): IOPreview.IOPreview has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/IOPreview.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8680f299e4a2b7ad5f76392070730f509e30da140dc749fd6ec72761d130c00a"}},{"ruleId":"D1","level":"warning","message":{"text":"githubDispatchHelpers.processGitHubDispatchActionConfig (cyclomatic 19): githubDispatchHelpers.processGitHubDispatchActionConfig 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":"langfuse/web/src/features/automations/server/githubDispatchHelpers.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bec8fc065646e281764fbb37134ca498efc9b807acf8372e45a7b99f5eb3e1"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetActionButton.DatasetActionButton (cyclomatic 19): DatasetActionButton.DatasetActionButton 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":"langfuse/web/src/features/datasets/components/DatasetActionButton.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0ead329bca5a2a9d9b7144356af5a832f2c94c2f3e1fba6c131f54ba101a02"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetVersionHistoryPanel.DatasetVersionHistoryPanel (cyclomatic 19): DatasetVersionHistoryPanel.DatasetVersionHistoryPanel has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7119942122e4e5d67ec22cbe7557bfc069b8ecad3bf37148a0e65c4b3783d6ce"}},{"ruleId":"D1","level":"warning","message":{"text":"NewDatasetItemFromExistingObject.NewDatasetItemFromExistingObject (cyclomatic 19): NewDatasetItemFromExistingObject.NewDatasetItemFromExistingObject has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemFromExistingObject.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4368a92428472cfb918107f99af47f95d7d0ac6d02369258478e2af586031567"}},{"ruleId":"D1","level":"warning","message":{"text":"createDataset.upsertDataset (cyclomatic 19): createDataset.upsertDataset 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":"langfuse/web/src/features/datasets/server/actions/createDataset.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28fae2ca7ed82a92e4cf095ed4d4aa7e0e2fd920b4f708143f82dbebf1267c9"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluator-selector.EvaluatorSelector (cyclomatic 19): evaluator-selector.EvaluatorSelector has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-selector.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f13dd5b5901fda28b8e3aee4a26b05808305b69ebb1fca660b782dc04528c5d"}},{"ruleId":"D1","level":"warning","message":{"text":"ExperienceSummaryView.ExperienceSummaryView (cyclomatic 19): ExperienceSummaryView.ExperienceSummaryView has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 167, 79, 56, \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":"langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c16624608b0a9037965fba719e90dbef54746d272493bb573885e399a67ac3"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoreAnalyticsNoticeBanner.ScoreAnalyticsNoticeBanner (cyclomatic 19): ScoreAnalyticsNoticeBanner.ScoreAnalyticsNoticeBanner has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/ScoreAnalyticsNoticeBanner.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0cb096c0ecccee95e4d6da1dcfcbc602081a7ba1010bdf4a237be7e8dfd90d"}},{"ruleId":"D1","level":"warning","message":{"text":"evalService.extractVariablesFromTracingData (cyclomatic 19): evalService.extractVariablesFromTracingData 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":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77dcc32b7d814d480daa095b9ddaeeb90995917e029b19a80aa775ecdd64704"}},{"ruleId":"D1","level":"warning","message":{"text":"handleBatchExportJob.handleBatchExportJob (cyclomatic 19): handleBatchExportJob.handleBatchExportJob has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edd320362f8f6f3a95da96c4a89bcd01ed36a54823926f9aa5205cec11d7382"}},{"ruleId":"D1","level":"warning","message":{"text":"handleCloudSpendAlertJob.handleCloudSpendAlertJob (cyclomatic 19): handleCloudSpendAlertJob.handleCloudSpendAlertJob has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/cloudSpendAlerts/handleCloudSpendAlertJob.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf72471fe50d7fa0fb564dd9ff2e07bae291e611bddd6a76fa2c7fbc37dde5af"}},{"ruleId":"D1","level":"warning","message":{"text":"handleBlobStorageIntegrationProjectJob.handleBlobStorageIntegrationProjectJob (cyclomatic 19): handleBlobStorageIntegrationProjectJob.handleBlobStorageIntegrationProjectJob 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":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6993f265854b73e9287c1c106ef376043025099c7c64fdb39e3779b675b184f"}},{"ruleId":"D1","level":"warning","message":{"text":"handleExperimentBackfill.enrichSpansWithExperiment (cyclomatic 19): handleExperimentBackfill.enrichSpansWithExperiment 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":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d412dc88179eab6cc292b102bf3bbaebac5f1a75f3c6a4e14ba68fb623c142"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._summarize_turn_topic (cyclomatic 19): litellm_callback._summarize_turn_topic 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"533860b25f9b4c6f7f578c94674132d491c825e8c4ae0f346bb11fb49e525ab9"}},{"ruleId":"D1","level":"warning","message":{"text":"relational_policy._evaluate_flow (cyclomatic 19): relational_policy._evaluate_flow 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1e84051fb1f1457c9ea868cb4f2914cfd6da391924af1cb25fa0490601a84e"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyEngine._check_taint_sinks (cyclomatic 19): PolicyEngine._check_taint_sinks 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5cb5a576a32a05cd188590f1442fdd2ec3332396eb5e7d34abef4101a7c33"}},{"ruleId":"D1","level":"warning","message":{"text":"run_cases.extract_raw_log_focus (cyclomatic 19): run_cases.extract_raw_log_focus 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":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8727d764c4bba6e1d0e23193990dab0d8730fff484bbbc9dba09122216b5303"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.createFilterFromFilterState (cyclomatic 18): factory.createFilterFromFilterState has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 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":"langfuse/packages/shared/src/server/queries/clickhouse-sql/factory.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e1b29fb005c12ec0834bde5096e20c018855eed60790b8fd0641aefafbd5b6"}},{"ruleId":"D1","level":"warning","message":{"text":"events.getObservationsFromEventsTableInternal (cyclomatic 18): events.getObservationsFromEventsTableInternal has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdb5c9712aa8ff0d028a21d16e8723e5e9b5059b553e9cfa546bab8c670a07b"}},{"ruleId":"D1","level":"warning","message":{"text":"breadcrumb.BreadcrumbComponent (cyclomatic 18): breadcrumb.BreadcrumbComponent has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dd423d7d8065cdd73d021c6b840ddf2faf3f30949f27b5a1b5fc2f3570896b"}},{"ruleId":"D1","level":"warning","message":{"text":"data-table-column-visibility-filter.DataTableColumnVisibilityFilter (cyclomatic 18): data-table-column-visibility-filter.DataTableColumnVisibilityFilter has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (handleDragEnd, a function literal at line 499, a function literal at line 520, \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":"langfuse/web/src/components/table/data-table-column-visibility-filter.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd89724eb564dd5faede065fdfc862fc1139ce38ec5be22d9f6c1c103197e7e0"}},{"ruleId":"D1","level":"warning","message":{"text":"key-value-filter-builder.KeyValueFilterBuilder (cyclomatic 18): key-value-filter-builder.KeyValueFilterBuilder has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 185, handleFilterChange, handleAddFilter, \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":"langfuse/web/src/components/table/key-value-filter-builder.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34f949d04d9e0d5224e1eb426bce7bc1798e6758c3b7c15ae4483f675acb901"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceGraphDataContext.TraceGraphDataProvider (cyclomatic 18): TraceGraphDataContext.TraceGraphDataProvider has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 60, 116, 129, \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":"langfuse/web/src/components/trace2/contexts/TraceGraphDataContext.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dc4cc44cdac9de75daf306f7d6163bc02d956f85addf1102301d06f1301152"}},{"ruleId":"D1","level":"warning","message":{"text":"useLogViewAllObservationsIO.useLogViewAllObservationsIO.loadAllData (cyclomatic 18): useLogViewAllObservationsIO.useLogViewAllObservationsIO.loadAllData has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f25a45408d548f81e4b6797c4b2c6f387b31b22902ef11fd169944a81a9d383"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallDefinitionCard.ToolCallDefinitionCard (cyclomatic 18): ToolCallDefinitionCard.ToolCallDefinitionCard has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 51, 71). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ToolCallDefinitionCard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a4252e78494f1e5ee95f97ffb931eaeaaecad73352c0802a4c279e90fef8ac"}},{"ruleId":"D1","level":"warning","message":{"text":"JSONTableViewRow.JSONTableViewRowInner (cyclomatic 18): JSONTableViewRow.JSONTableViewRowInner has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableViewRow.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"da64da7e162f6f247bac89eac00ef939bf2a6aadef14aa15a0741819a832b1f7"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers.buildTraceUiData (cyclomatic 18): helpers.buildTraceUiData has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (calculateTreeNodeTotalCost, a function literal at line 431, a function literal at line 448, \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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0be8983c48f72d9e622f461e898c27c2500155f6f5239f1aa0797d0f77b787"}},{"ruleId":"D1","level":"warning","message":{"text":"selectionToPath.selectionToPath (cyclomatic 18): selectionToPath.selectionToPath 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":"langfuse/web/src/features/comments/lib/selectionToPath.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ebc1d21fbe0f0106ec90ae3346110de7807df3c808565ce8ffc4c31517c5de"}},{"ruleId":"D1","level":"warning","message":{"text":"useCommentedPaths.useCommentedPaths (cyclomatic 18): useCommentedPaths.useCommentedPaths has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 22, 41). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/hooks/useCommentedPaths.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae14d527d7c28b4a3597a62d7add2c230590d51a707b15565e7766877591a600"}},{"ruleId":"D1","level":"warning","message":{"text":"useSidebarFilterState.useSidebarFilterState (cyclomatic 18): useSidebarFilterState.useSidebarFilterState has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 442, 462, 471). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20f1f74032006c23880f3c6744f260d357f41503f9bd7a70991b40293f05fb6"}},{"ruleId":"D1","level":"warning","message":{"text":"NewOrganizationForm.NewOrganizationForm (cyclomatic 18): NewOrganizationForm.NewOrganizationForm has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (getTypeLabel, a function literal at line 78, a function literal at line 122, \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":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"620044250027a69384d695724e90a829d7b5dab493e3c0d442484e7126080f7c"}},{"ruleId":"D1","level":"warning","message":{"text":"JumpToPlaygroundButton.JumpToPlaygroundButton (cyclomatic 18): JumpToPlaygroundButton.JumpToPlaygroundButton has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (handlePlaygroundAction, a function literal at line 85, a function literal at line 126, \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":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e61c0918996b6feb946cf74acfd997024a702ef7d1f5f84c90a78e93f48c6b"}},{"ruleId":"D1","level":"warning","message":{"text":"HeatmapCell.CellWithData (cyclomatic 18): HeatmapCell.CellWithData has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/HeatmapCell.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b5ab4b4ef98cd0e9e3199d3061499a22b7d879a39488a516782525aaa1e983"}},{"ruleId":"D1","level":"warning","message":{"text":"nodeNameUtils.getParserSuffixLabel (cyclomatic 18): nodeNameUtils.getParserSuffixLabel 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":"langfuse/web/src/features/trace-graph-view/nodeNameUtils.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bdc2e1f59bc8363bfaee6d6c897bad41b5fd7f103ed7e4a9fc339db6721128"}},{"ruleId":"D1","level":"warning","message":{"text":"charts.DatasetCompare (cyclomatic 18): charts.DatasetCompare has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 188, 151, 145). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2859656044a0599295007130c74c0204810f51af1c935d9ed9583c46032e12"}},{"ruleId":"D1","level":"warning","message":{"text":"IngestionService.processObservationEventList (cyclomatic 18): IngestionService.processObservationEventList 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dc7be9063d6dc3d296bb94abaa12acbb26157c3b75cd8e52197d93be4fbd44"}},{"ruleId":"D1","level":"warning","message":{"text":"webhooks.executeHttpAction (cyclomatic 18): webhooks.executeHttpAction has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 135, 245). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3315198a031ca027d7edd05d9668db1abf2594bd0d9c50ee08d59f8e239aca06"}},{"ruleId":"D1","level":"warning","message":{"text":"langfuse_replay.replay_jsonl_to_langfuse (cyclomatic 18): langfuse_replay.replay_jsonl_to_langfuse 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":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"1619d68fb202586649e8951c896f4afb4e1f3d6ecdfdb677b27edc1da52d4501"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._evaluate_tool_result_postexec_once (cyclomatic 18): litellm_callback._evaluate_tool_result_postexec_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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4556238d1a5a28ac33f385da4a8453b3df75d7a1f119c9c7148d77031e27df9"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._collect_prior_tool_call_ids_from_messages (cyclomatic 18): litellm_callback._collect_prior_tool_call_ids_from_messages has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7932a48d8a8193586d613525649e57fdf20036e477d966b6e7d0fea2248ea56"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._enforce_topic_point_count_on_shift (cyclomatic 18): litellm_callback._enforce_topic_point_count_on_shift 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e4204990641ed59fe69a3f3133a86c20ae9f57789667e92ee9bacee905166d"}},{"ruleId":"D1","level":"warning","message":{"text":"alignment_sentinel_policy._extract_user_objective (cyclomatic 18): alignment_sentinel_policy._extract_user_objective 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe5198884ebcdacdb68d9855ce2979d57a978b2bd11ae2767e2ec3c100c1b34"}},{"ruleId":"D1","level":"warning","message":{"text":"openclaw_policy._tool_allowed (cyclomatic 18): openclaw_policy._tool_allowed 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e161e5470bfc47f9ca9857fa2314d4b70e2df77dddee4930f2ca6524b65b57c9"}},{"ruleId":"D1","level":"warning","message":{"text":"policy_rule_ir._validate_selector_like (cyclomatic 18): policy_rule_ir._validate_selector_like 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d0c347eba2c5f09a824ae1b008118665d3c8a23007c8c87534bf4ce69172b7"}},{"ruleId":"D1","level":"warning","message":{"text":"unary_gate_policy._render_predicate (cyclomatic 18): unary_gate_policy._render_predicate 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c8555e1e31fa06681900cd5a96f206901c33bcee9e7030b1eb3a4dbf77d8b"}},{"ruleId":"D1","level":"warning","message":{"text":"policy_check.check_response_policy (cyclomatic 18): policy_check.check_response_policy 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ac251f7ca4f5b15d35a7ba6c39a980b6f700392b91a0e220fbabd80fa341a5"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyEngine._check_security_policy (cyclomatic 18): PolicyEngine._check_security_policy 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedfcec84886f14524983dbffa57c8cea256955e0415a2f0efeb47887feb3820"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelPolicyRuntime.check_security (cyclomatic 18): KernelPolicyRuntime.check_security 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"889f2504febe7a5ed8dda54349dfaffe39966621abcc6ae600460e5312ae9632"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelPolicyRuntime.check_tool_call_budget (cyclomatic 18): KernelPolicyRuntime.check_tool_call_budget 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac21941ecba7705e71b4a215de7f6b148d9d5a311ec32c6d78f72ff2535c4d2"}},{"ruleId":"D1","level":"warning","message":{"text":"review_cases_with_llm.main (cyclomatic 18): review_cases_with_llm.main 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":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/review_cases_with_llm.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"300c697473f31fedd060a21264a7c2e0d1a6e1d818c6c10905ae52d6cc70f6c7"}},{"ruleId":"D1","level":"warning","message":{"text":"openai.extractReasoningContent (cyclomatic 17): openai.extractReasoningContent has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d44c81d65346db835cb6dec63e5981e0b4bff9c597c19a8ba07b146b682748b"}},{"ruleId":"D1","level":"warning","message":{"text":"pydantic-ai.extractFromParts (cyclomatic 17): pydantic-ai.extractFromParts 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":"langfuse/packages/shared/src/utils/chatml/adapters/pydantic-ai.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7528227a7a0713d243db1e56f40e8b36e63507763807c2b6f10cf49a2874b83a"}},{"ruleId":"D1","level":"warning","message":{"text":"toCompactVerbosityChatML.toCompactVerbosityChatML (cyclomatic 17): toCompactVerbosityChatML.toCompactVerbosityChatML 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":"langfuse/packages/shared/src/utils/IORepresentation/chatML/toCompactVerbosityChatML.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4495b92618993db1c44f9f69af5a281e3d1c1e904e493f2623b2dbe8c06092a9"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ModelParameters (cyclomatic 17): index.ModelParameters has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a255def504551e8a869e91e16a5c0c190eddca529f8e15990ddd1775b35c74"}},{"ruleId":"D1","level":"warning","message":{"text":"useAuthGuard.useAuthGuard (cyclomatic 17): useAuthGuard.useAuthGuard has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 39, 53). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/app-layout/hooks/useAuthGuard.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"af256d442a257dbd413455adfc29e24c5bb8b5fc4bf9cf405cb374ab635fac98"}},{"ruleId":"D1","level":"warning","message":{"text":"ValueCell.ValueCell (cyclomatic 17): ValueCell.ValueCell has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (getDisplayValue, handleCopy). 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":"langfuse/web/src/components/table/ValueCell.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1229ba04562732179d72fabc7e468a6cc4bd798af802e9eba73698362db10737"}},{"ruleId":"D1","level":"warning","message":{"text":"observations.parsePolicyNamesFromMetadata (cyclomatic 17): observations.parsePolicyNamesFromMetadata has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa080305567373bea314f123fecb21cfc61d4d0d2cab01aacd68cb34a98be779"}},{"ruleId":"D1","level":"warning","message":{"text":"LogViewExpandedContent.LogViewExpandedContent (cyclomatic 17): LogViewExpandedContent.LogViewExpandedContent has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/LogViewExpandedContent.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcb6bb9b337b6e7eed24ac9e05b4039aa81ed586c781329373f56c327b09008"}},{"ruleId":"D1","level":"warning","message":{"text":"treeExpansion.applyExpansionState (cyclomatic 17): treeExpansion.applyExpansionState 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 3 function literals inside it that branch (lines 322, 281, 293). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce72983547fae4c8c7501fa8cf11e1167bc4f20d721903be9fada276e08a2b3c"}},{"ruleId":"D1","level":"warning","message":{"text":"combobox.Combobox (cyclomatic 17): combobox.Combobox has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 96, 139, 175, \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":"langfuse/web/src/components/ui/combobox.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbeee8ebd5a35cea0507ddaa68e5b71d44edf720e21f12a181561a03decc201"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationQueueItemsTable.AnnotationQueueItemsTable (cyclomatic 17): AnnotationQueueItemsTable.AnnotationQueueItemsTable has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 258, a function literal at line 334, convertToTableRow, \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efc6bdf7c351b0a8d2d34d45d6da8331870ed63fef70298d427b778d456ab00"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonPathInput.JsonPathInput (cyclomatic 17): JsonPathInput.JsonPathInput has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 101, 85). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/JsonPathInput.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9f6a5528faa7b722e5a44a7d3284e0d7b6f0c596e603eaafacd6fb29e7c5fd"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyConfirmationStatsCard.PolicyConfirmationStatsCard (cyclomatic 17): PolicyConfirmationStatsCard.PolicyConfirmationStatsCard has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"510dfa9e3889a0bf8208bce2b09b6e1c79d0fa86017810145b2278f8ce5e5ff4"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoresTable.ScoresTable (cyclomatic 17): ScoresTable.ScoresTable has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ScoresTable.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d75e4a91e4279fcdd8522b66752b688ad9cdaf062168a908175f7233ae1188c"}},{"ruleId":"D1","level":"warning","message":{"text":"PreviewCsvImport.PreviewCsvImport (cyclomatic 17): PreviewCsvImport.PreviewCsvImport has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/PreviewCsvImport.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd569a316a8ced11b0a9efde9c24a3252505b591e847148d45e2ed6246a7960d"}},{"ruleId":"D1","level":"warning","message":{"text":"BulkErrorAnalysisButton.BulkErrorAnalysisButton (cyclomatic 17): BulkErrorAnalysisButton.BulkErrorAnalysisButton has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 2 function items inside it that branch (handleBulkAnalyze, a function literal at line 35). 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":"langfuse/web/src/features/error-analysis/components/BulkErrorAnalysisButton.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75461e28e1aab4afecd09bde162256a2b88bbbd0cd4df4079dde6e10c69aec5"}},{"ruleId":"D1","level":"warning","message":{"text":"inner-evaluator-form.InnerEvaluatorForm::onSubmit (cyclomatic 17): inner-evaluator-form.InnerEvaluatorForm::onSubmit 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 (inner-evaluator-form.InnerEvaluatorForm) 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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bbc961ef6818bf9f4295b13dec7723cf643e24c9150977d03e7dae57feb673"}},{"ruleId":"D1","level":"warning","message":{"text":"EventsTable.parsePolicyNamesFromMetadata (cyclomatic 17): EventsTable.parsePolicyNamesFromMetadata has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed9d164899a120d85027abcd3435e8067344789a18135d06af8fb439497cb64"}},{"ruleId":"D1","level":"warning","message":{"text":"CollapsibleSection.CollapsibleSection (cyclomatic 17): CollapsibleSection.CollapsibleSection has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/CollapsibleSection.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ad23e91f3560aebbf1aa278ca322e1420ca4d4d843a8acb231a771fcc4b370"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiAuthService.verifyAuthHeaderAndReturnScope (cyclomatic 17): ApiAuthService.verifyAuthHeaderAndReturnScope has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 91). 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":"langfuse/web/src/features/public-api/server/apiAuth.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7d1638a7c9caa088aea41c3834c1e2f184847e85cdbe4bbcc46302f9767b9d"}},{"ruleId":"D1","level":"warning","message":{"text":"dailyMetrics.generateDailyMetrics (cyclomatic 17): dailyMetrics.generateDailyMetrics has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/dailyMetrics.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5488e37c54c34c9d43742a87abcfe3636b36f5ad321815511fc405c25c693a"}},{"ruleId":"D1","level":"warning","message":{"text":"scores._handleGenerateScoresForPublicApi (cyclomatic 17): scores._handleGenerateScoresForPublicApi has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/scores.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf2bd71a755e72c9a25d4eab224d566909e4f5a7b68b8b3cffd56410ba41661"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryBuilder.validateAndProcessOrderBy (cyclomatic 17): QueryBuilder.validateAndProcessOrderBy has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1004, 1029, 1012). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bc2902c7d2b966f7ddb342ba33a43a050cb217cb0ee31152d3d5cd2c5e3216"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoreTimeSeriesNumericChart.ScoreTimeSeriesNumericChart (cyclomatic 17): ScoreTimeSeriesNumericChart.ScoreTimeSeriesNumericChart has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesNumericChart.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a147df42e3bea7cd34020c857d22e16797f5d1051bab6bf14ecc284fd5bb74"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupPage.SetupPage (cyclomatic 17): SetupPage.SetupPage has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac806229e81dee126c792d597e0207afd670812ebdd295242766615fd924079a"}},{"ruleId":"D1","level":"warning","message":{"text":"pivot-table-utils.sortPivotTableRows (cyclomatic 17): pivot-table-utils.sortPivotTableRows has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/utils/pivot-table-utils.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79c406edf3f13f4bfe62bd6ccd06118faca2971a37efdf694cc0c78259ff04e"}},{"ruleId":"D1","level":"warning","message":{"text":"thresholdProcessing.processThresholds (cyclomatic 17): thresholdProcessing.processThresholds 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":"langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd70ed72fd96e1792237c1adba6dea559045fc6d39d3a70b490ea92b19e0bd51"}},{"ruleId":"D1","level":"warning","message":{"text":"BackfillEventsFullFromEvents.run (cyclomatic 17): BackfillEventsFullFromEvents.run has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c79dd59c1e848b03b07b0db8a24b81869f15060f493c02034b0db5a3dd5a68"}},{"ruleId":"D1","level":"warning","message":{"text":"powershell._ps_collect_from_exec_unit (cyclomatic 17): powershell._ps_collect_from_exec_unit 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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e405d0ba751ffdfda45a19d86ae3fb2fe44b2342329ec6444371767fb2e537f0"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._load_trace_state_snapshot_from_disk (cyclomatic 17): litellm_callback._load_trace_state_snapshot_from_disk 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d0a1accf8161c621adf52ab79ce5157a4c32589f1fa3bc9612545efcea4bcb"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._snapshot_trace_backup_state (cyclomatic 17): litellm_callback._snapshot_trace_backup_state 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e050a7511b3731ee356a818b7e302775ee036b03c828d11fa02927b0da114d"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._ensure_trace_state (cyclomatic 17): litellm_callback._ensure_trace_state has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba38cecaa0e063a9cd152e4ea801ca0d6e6d8e7247b9f5cf94c9a1092decb2d"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._lookup_tool_instruction_metadata_for_trace (cyclomatic 17): litellm_callback._lookup_tool_instruction_metadata_for_trace 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4787}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ea6a14dbdf0428e1d7fcf0c5e3bbc7e485643514524d4e1bd638cc4bab764a"}},{"ruleId":"D1","level":"warning","message":{"text":"delete_policy._get_delete_policy_config (cyclomatic 17): delete_policy._get_delete_policy_config 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2312857a58cad6ebb991e7bb7564c124e70e5693345aafd3061c55d0ff63232"}},{"ruleId":"D1","level":"warning","message":{"text":"policy_rule_ir._validate_required_metadata (cyclomatic 17): policy_rule_ir._validate_required_metadata 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb214d60e09eb57f640d0d31ca6607ee17a81582788eff5ffd07abcc48e5ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"policy_check._policy_source_location (cyclomatic 17): policy_check._policy_source_location 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"577b91ee8a4525404ac4e7683d440cdbdf91dc44286eba289a60774c96cb9bf1"}},{"ruleId":"D1","level":"warning","message":{"text":"PolicyEngine._check_path_and_budget (cyclomatic 17): PolicyEngine._check_path_and_budget 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"3402790d2a5bb6723cc49608f0faad9244db50d6f51295ef3a29253822710ded"}},{"ruleId":"D1","level":"warning","message":{"text":"build_from_trajectories.parse_trajectory_into_steps (cyclomatic 17): build_from_trajectories.parse_trajectory_into_steps 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":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/build_from_trajectories.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eac7e763ca330b115061525fba51cdc5b32064c44a96dcfcebc6d1d650b5f17"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptService.buildAndResolvePromptGraph (cyclomatic 16): PromptService.buildAndResolvePromptGraph 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 2 function items inside it that branch (resolve, a function literal at line 333). 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":"langfuse/packages/shared/src/server/services/PromptService/index.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd56a61a91b7adeb2e7ea3fc2987b5e1e0dd0e09cb330c2fb7273c0c9b2689a1"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions-ui-table-events-service.getSessionsTableFromEventsGeneric (cyclomatic 16): sessions-ui-table-events-service.getSessionsTableFromEventsGeneric has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7ca157840949c998f7e10c07f242e084f64b7412fd5d9e6db913c5b84d634d"}},{"ruleId":"D1","level":"warning","message":{"text":"OtelIngestionProcessor.extractTags (cyclomatic 16): OtelIngestionProcessor.extractTags has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1561599870f49cb26985245e60382720d92cfc1e72f2fffec4666509f86ea17"}},{"ruleId":"D1","level":"warning","message":{"text":"gemini.extractFromParts (cyclomatic 16): gemini.extractFromParts 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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff366c7d38e2aa76a4c55ab5e731535c7be0abf4bcb57d19d0b8e5cd350ca227"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionButton.ActionButton (cyclomatic 16): ActionButton.ActionButton has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ActionButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"596d3496fc1aecf3459a58c1c85f7c8ad7915d96968a8d9a4e789b5b34fbca46"}},{"ruleId":"D1","level":"warning","message":{"text":"index.AppLayout (cyclomatic 16): index.AppLayout has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/app-layout/index.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ab241958d3f898706a0864292d09b07d5a583f136cff93ae0bb0182d8f6178"}},{"ruleId":"D1","level":"warning","message":{"text":"peek-evaluator-config-detail.PeekViewEvaluatorConfigDetail (cyclomatic 16): peek-evaluator-config-detail.PeekViewEvaluatorConfigDetail has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/peek/peek-evaluator-config-detail.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c56d6672144515f3db176f52922ae04c31cc05146a5b18fd46363a4e05500be"}},{"ruleId":"D1","level":"warning","message":{"text":"UserAssignmentSection.UserAssignmentSection (cyclomatic 16): UserAssignmentSection.UserAssignmentSection has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/UserAssignmentSection.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7ab622fadc986b22cbf06fef9049d1a6f7033c258666627f6999dd99fbdbe5"}},{"ruleId":"D1","level":"warning","message":{"text":"MappingStep.MappingStep (cyclomatic 16): MappingStep.MappingStep has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 36, getFullLabel, handleModeChange). 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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/MappingStep.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d144befb8bae8be0cd84b50c00300665868de98a86f7879d8d47c416c0a2bc"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetsTable.DatasetsTable (cyclomatic 16): DatasetsTable.DatasetsTable has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 336, 115, 132, \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":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3c794be987d7d0483ad19a3ca43d78b00840ac86e9a38d2f1826fd0bc6c456"}},{"ruleId":"D1","level":"warning","message":{"text":"costCalculations.sumObservationCosts (cyclomatic 16): costCalculations.sumObservationCosts has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 69). 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":"langfuse/web/src/features/datasets/lib/costCalculations.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e6efa81f3f7e87518c10db2f5ed446590484212c3cd88488383bec40957552"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateExperimentsForm.CreateExperimentsForm (cyclomatic 16): CreateExperimentsForm.CreateExperimentsForm has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/CreateExperimentsForm.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a0de3ff1f32c528375cba9ea0f6be673e55edcd7a9f8d75971ab49358e1585"}},{"ruleId":"D1","level":"warning","message":{"text":"filter-builder.PopoverFilterBuilder (cyclomatic 16): filter-builder.PopoverFilterBuilder has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaab0a8cc662578e85b2fe61ad37b9073c149cda16993663e89e6c6caf1ee41"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailPageNav.DetailPageNav (cyclomatic 16): DetailPageNav.DetailPageNav has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 37, 80, 113). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/navigate-detail-pages/DetailPageNav.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"81751373e7bceabe0a158cfa7a4b26275329d29b225a6e587a7b67c20d248d5f"}},{"ruleId":"D1","level":"warning","message":{"text":"MessagePlaceholderComponent.MessagePlaceholderComponent (cyclomatic 16): MessagePlaceholderComponent.MessagePlaceholderComponent has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/MessagePlaceholderComponent.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81d94fca48f5ae28d64bbccef65b6cc24b3423d214e205234ec4fe0928cfe8f"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptSelectionDialog.PromptSelectionDialog (cyclomatic 16): PromptSelectionDialog.PromptSelectionDialog has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/PromptSelectionDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"df76ad4f8833c1a51e12f604df253707c215031480048f998a047d66c3dc8b04"}},{"ruleId":"D1","level":"warning","message":{"text":"index.SetPromptVersionLabels (cyclomatic 16): index.SetPromptVersionLabels has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddabad8fb5a367a83e2c609961c6161ab9b73be35390a3e332a1e7c1b761f5e"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt-history.PromptHistoryTraceNode (cyclomatic 16): prompt-history.PromptHistoryTraceNode has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-history.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"64509ddb4966316c85315ea5d5714e9d972fe9f23cc7ccdce72756131bf647e7"}},{"ruleId":"D1","level":"warning","message":{"text":"MembershipInvitesPage.MembershipInvitesPage (cyclomatic 16): MembershipInvitesPage.MembershipInvitesPage has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c245ba8bb6bceb9104f0d1e216b9787f9be5eacf00c5ac8a63b3b8504b30b6"}},{"ruleId":"D1","level":"warning","message":{"text":"supportRequestMetadataEvent.buildPlainEventSupportRequestMetadataComponents (cyclomatic 16): supportRequestMetadataEvent.buildPlainEventSupportRequestMetadataComponents 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/plain/events/supportRequestMetadataEvent.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7f7977d06afd3f60ca8c6c81982eee5fb739e8b647ba9cbb2840cd78ca8741"}},{"ruleId":"D1","level":"warning","message":{"text":"ingestion.handler (cyclomatic 16): ingestion.handler has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/ingestion.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5b78fd9496027df64e6211d7c6c9685f479b22c6908d4b8e23d8c0691d4fcf"}},{"ruleId":"D1","level":"warning","message":{"text":"blobstorage.BlobStorageIntegrationSettings (cyclomatic 16): blobstorage.BlobStorageIntegrationSettings has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"299aa930033f8c20274eadca319adc4ac4b1a076680c72c8d791fdca47abdac0"}},{"ruleId":"D1","level":"warning","message":{"text":"ClickhouseWriter.truncateOversizedRecord (cyclomatic 16): ClickhouseWriter.truncateOversizedRecord has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/ClickhouseWriter/index.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3071dc5ad7837bf9496fda904f9da047aed111c1da499e2ffa7bcb07a958ecc7"}},{"ruleId":"D1","level":"warning","message":{"text":"commentMentionHandler.handleCommentMentionNotification (cyclomatic 16): commentMentionHandler.handleCommentMentionNotification has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/notifications/commentMentionHandler.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f70cf0b78872d3745edd22d947a4b60084139e286ebcc4498d8c3fdffc95191"}},{"ruleId":"D1","level":"warning","message":{"text":"autoExperienceSummaryQueue.autoExperienceSummaryQueueProcessor (cyclomatic 16): autoExperienceSummaryQueue.autoExperienceSummaryQueueProcessor has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoExperienceSummaryQueue.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf0ce3864bfa6593c27b02e7873e6323908530555fe093f58fe2c483e1afff2"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_callback._normalize_topic_summary (cyclomatic 16): litellm_callback._normalize_topic_summary has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc20d1d0f399d23f511efff69456ef37d342683f90fd259f8acb83a54b7f81c9"}},{"ruleId":"D1","level":"warning","message":{"text":"AllowDenyPolicy.check (cyclomatic 16): AllowDenyPolicy.check 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa959362ccefceb93155a200e940e161d0493a4134e01e124a323785297e3ad"}},{"ruleId":"D1","level":"warning","message":{"text":"taint_policy._get_taint_policy_config (cyclomatic 16): taint_policy._get_taint_policy_config 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3becfa74db08ca983338dc036697d6e3ba6ec3aa27089adeab1668b62e076f"}},{"ruleId":"D1","level":"warning","message":{"text":"unary_gate_policy._selector_matches (cyclomatic 16): unary_gate_policy._selector_matches 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c63e347dbbfe4c7358a051c7906463aa5037eb49724d27070526b56d931847"}},{"ruleId":"D2","level":"warning","message":{"text":"MyCustomHandler.async_post_call_success_hook (cognitive 245): MyCustomHandler.async_post_call_success_hook has cognitive complexity 245 (threshold 15). Drivers by points: if/else 46 (116 pts), ternaries 25 (69 pts), boolean chains 39, loops 3 (15 pts), error handling 1 (6 pts) (nesting depth added 131). 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":6313}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b5d34eae7fc57ef06cb862ed36ef90eb8e0d0c04f837630ec7b7c10ddb7a50"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ExperienceSummaryPage (cognitive 238): index.ExperienceSummaryPage has cognitive complexity 238 (threshold 15). Drivers by points: ternaries 31 (153 pts), if/else 47 (67 pts), boolean chains 17, error handling 1 (nesting depth added 142). Of this number, 48 points are the body\u0027s own statements and 190 belong to 40 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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9fb9d7fd9b0afe173b2ec30e2ba34e5dc37a615b6706f1c743f74d4ac574ca"}},{"ruleId":"D2","level":"warning","message":{"text":"buildGraphCanvasData.buildGraphFromStepData (cognitive 227): buildGraphCanvasData.buildGraphFromStepData has cognitive complexity 227 (threshold 15). Drivers by points: if/else 69 (159 pts), loops 16 (31 pts), boolean chains 30, ternaries 6 (7 pts) (nesting depth added 106). Of this number, 182 points are the body\u0027s own statements and 45 belong to 13 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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e768068652daaaaed374c45a608a3c9931e3c35425c1f8aeb25e21b0f2ff44fb"}},{"ruleId":"D2","level":"warning","message":{"text":"EventsTable.ObservationsEventsTable (cognitive 203): EventsTable.ObservationsEventsTable has cognitive complexity 203 (threshold 15). Drivers by points: ternaries 70 (105 pts), if/else 48 (57 pts), boolean chains 39, error handling 1, match/switch 1 (nesting depth added 44). Of this number, 38 points are the body\u0027s own statements and 165 belong to 64 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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"15acf59e0a2467d0a12f12864f76e024df102485dc3c00a099bc10f2204e69bc"}},{"ruleId":"D2","level":"warning","message":{"text":"observations.ObservationsTable (cognitive 195): observations.ObservationsTable has cognitive complexity 195 (threshold 15). Drivers by points: ternaries 63 (92 pts), if/else 46 (55 pts), boolean chains 46, error handling 2 (nesting depth added 38). Of this number, 58 points are the body\u0027s own statements and 137 belong to 74 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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4999c44e3f2c3e6db835926b6c07eec7549b6b09709b084deb213997f96530b"}},{"ruleId":"D2","level":"warning","message":{"text":"MyCustomHandler.async_post_call_streaming_iterator_hook (cognitive 182): MyCustomHandler.async_post_call_streaming_iterator_hook has cognitive complexity 182 (threshold 15). Drivers by points: ternaries 29 (69 pts), if/else 25 (63 pts), boolean chains 29, loops 7 (17 pts), error handling 3 (4 pts) (nesting depth added 89). 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":6778}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae4beb316b3f1b7c1d62e7bd837161854951a20f2a25db2020f713f6f0b68c"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._emit_response_nodes (cognitive 165): litellm_callback._emit_response_nodes has cognitive complexity 165 (threshold 15). Drivers by points: if/else 41 (91 pts), boolean chains 33, ternaries 20 (32 pts), error handling 3 (7 pts), loops 1 (2 pts) (nesting depth added 67). 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4023}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b02afd245d57ba2647d4e2533cb00951b7d296b49a7816d4bb6e5d061c46165"}},{"ruleId":"D2","level":"warning","message":{"text":"MyCustomHandler.async_pre_call_hook (cognitive 139): MyCustomHandler.async_pre_call_hook has cognitive complexity 139 (threshold 15). Drivers by points: if/else 42 (81 pts), boolean chains 27, ternaries 15 (23 pts), loops 1 (8 pts) (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5926}}}],"partialFingerprints":{"codehealthFindingId/v1":"3448595f08408530e3fef03c773a1fbf65c7efb2ef0d9e7f20327d7a820df530"}},{"ruleId":"D2","level":"warning","message":{"text":"useSidebarFilterState.useSidebarFilterState.filters (cognitive 131): useSidebarFilterState.useSidebarFilterState.filters has cognitive complexity 131 (threshold 15). Drivers by points: if/else 34 (65 pts), boolean chains 44, ternaries 14 (20 pts), loops 1 (2 pts) (nesting depth added 38). None of this is in the body itself: all 131 points belong to 29 function items inside it that branch (a function literal at line 923, getFacetDisabledState, a function literal at line 1383, \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":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bbf29b820535bbee1a318f9ed1fd937df696fd939bece2f0c321abd13c7376"}},{"ruleId":"D2","level":"warning","message":{"text":"PrettyJsonView.PrettyJsonView (cognitive 124): PrettyJsonView.PrettyJsonView has cognitive complexity 124 (threshold 15). Drivers by points: if/else 42 (58 pts), ternaries 17 (39 pts), boolean chains 24, loops 1 (2 pts), error handling 1 (nesting depth added 39). Of this number, 39 points are the body\u0027s own statements and 85 belong to 16 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5527d6cd61f93cbee7095b41469d5fb577d144af90f1f93748441f36f3ffce"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceGraphCanvas.TraceGraphCanvas (cognitive 122): TraceGraphCanvas.TraceGraphCanvas has cognitive complexity 122 (threshold 15). Drivers by points: if/else 45 (49 pts), ternaries 25 (45 pts), boolean chains 20, error handling 3 (5 pts), loops 2, match/switch 1 (nesting depth added 26). Most of this is not in the body itself: 8 of the 122 points are its own statements and the rest belongs to 30 function items inside it that branch (a function literal at line 298, a function literal at line 491, a function literal at line 624, \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":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"be109654c8785c89f193cd73b734d568a53d559d9610a1ff10b924b1a32b3786"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.PolicyGovernancePage (cognitive 106): policy.PolicyGovernancePage has cognitive complexity 106 (threshold 15). Drivers by points: if/else 36 (41 pts), ternaries 30 (40 pts), boolean chains 22, error handling 3 (nesting depth added 15). Of this number, 36 points are the body\u0027s own statements and 70 belong to 28 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":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca41bf418de0b368c54d18af7c379f3772c8a39cb7f47ba96af2f883572915c"}},{"ruleId":"D2","level":"warning","message":{"text":"json.deepParseJsonIterative (cognitive 105): json.deepParseJsonIterative has cognitive complexity 105 (threshold 15). Drivers by points: if/else 27 (75 pts), loops 4 (16 pts), ternaries 2 (6 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 66). 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":"langfuse/packages/shared/src/utils/json.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"667ceee03af6047b929f5fabc03ec3896c393fa5b8d1279629fa6d2a568b5ac6"}},{"ruleId":"D2","level":"warning","message":{"text":"evalService.createEvalJobs (cognitive 103): evalService.createEvalJobs has cognitive complexity 103 (threshold 15). Drivers by points: if/else 26 (50 pts), ternaries 12 (33 pts), boolean chains 15, error handling 2 (4 pts), loops 1 (nesting depth added 47). Of this number, 102 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d3283dbaee782d291cd1b2b300d2c71c6171242234e9c88ffccf1ca7fb33b7"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._format_tool_result_output_for_langfuse (cognitive 103): litellm_callback._format_tool_result_output_for_langfuse has cognitive complexity 103 (threshold 15). Drivers by points: if/else 30 (69 pts), ternaries 6 (20 pts), boolean chains 14 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3469}}}],"partialFingerprints":{"codehealthFindingId/v1":"965edd70d0950c1498d16a1b25233b89043e359ae87982c9a593a33ea3ca9c20"}},{"ruleId":"D2","level":"warning","message":{"text":"buildGraphCanvasData.buildTurnMetadataSummary (cognitive 92): buildGraphCanvasData.buildTurnMetadataSummary has cognitive complexity 92 (threshold 15). Drivers by points: if/else 31 (69 pts), ternaries 8 (12 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 44). Of this number, 89 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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f60a58fc63617f843fe26c87ac12b111f0601a1f22aed080e42583aedd2c0d3"}},{"ruleId":"D2","level":"warning","message":{"text":"buildGraphCanvasData.buildHierarchyGraphFromStepData (cognitive 88): buildGraphCanvasData.buildHierarchyGraphFromStepData has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 18 (43 pts), if/else 15 (25 pts), boolean chains 11, loops 6 (9 pts) (nesting depth added 38). Of this number, 77 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e58295c9a0d337ed158e6f2c3335a19b0e79c95086d2ee19b22d7def2b1faf"}},{"ruleId":"D2","level":"warning","message":{"text":"unicode.decodeUnicodeEscapesOnly (cognitive 88): unicode.decodeUnicodeEscapesOnly has cognitive complexity 88 (threshold 15). Drivers by points: if/else 27 (68 pts), boolean chains 11, loops 4 (8 pts), ternaries 1 (nesting depth added 45). Of this number, 73 points are the body\u0027s own statements and 15 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":"langfuse/web/src/utils/unicode.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cad100a504f74c4deb40f3783828b1845c24c7cfd3a61b8084663aa4b69cd79"}},{"ruleId":"D2","level":"warning","message":{"text":"ObservationGovernanceAnalysisPanel.ObservationGovernanceAnalysisPanel (cognitive 86): ObservationGovernanceAnalysisPanel.ObservationGovernanceAnalysisPanel has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 27 (62 pts), boolean chains 12, if/else 10 (12 pts) (nesting depth added 37). Of this number, 71 points are the body\u0027s own statements and 15 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"33df1551d8d081690f749edaebf9b157ef70c8ed3d2ecf7edcece609fe7e00ae"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceGovernanceBanner.TraceGovernanceBanner (cognitive 86): TraceGovernanceBanner.TraceGovernanceBanner has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 23 (49 pts), if/else 24 (25 pts), boolean chains 9, error handling 2, loops 1 (nesting depth added 27). Of this number, 22 points are the body\u0027s own statements and 64 belong to 24 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":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b122ee5137b5249dae3019f18578261b6b639c03ce5f899f40991eddc688b02e"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._emit_tool_result_nodes_if_needed (cognitive 82): litellm_callback._emit_tool_result_nodes_if_needed has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 15 (33 pts), if/else 12 (26 pts), boolean chains 18, error handling 1 (4 pts), loops 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3722}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f320414ebeb879b438902a52acbc26e4baacb3e91b9720ad039d8c3f8a25f5"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._trace_state_from_dict (cognitive 81): litellm_callback._trace_state_from_dict has cognitive complexity 81 (threshold 15). Drivers by points: if/else 41 (49 pts), boolean chains 27, loops 5 (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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca15620ef1cb83b15ad24ca595ebfcb11b8debf5f4ca3e3e89d16ad3fd72ea79"}},{"ruleId":"D2","level":"warning","message":{"text":"autoErrorAnalysisQueue.autoErrorAnalysisQueueProcessor (cognitive 80): autoErrorAnalysisQueue.autoErrorAnalysisQueueProcessor has cognitive complexity 80 (threshold 15). Drivers by points: if/else 21 (32 pts), ternaries 17 (31 pts), error handling 8 (13 pts), boolean chains 3, loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ca0c8ae2f8b2cfe833f918c11f46e76a7e6df998d2adf3012184a1bcabdbd4"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyEngine.pre_instruction (cognitive 80): PolicyEngine.pre_instruction has cognitive complexity 80 (threshold 15). Drivers by points: if/else 24 (46 pts), ternaries 10 (22 pts), boolean chains 12 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4178547e7955aa2278f2df5af9a4cb64e6712886da055790fc18540d7207b0"}},{"ruleId":"D2","level":"warning","message":{"text":"unary_gate_policy._eval_predicate (cognitive 77): unary_gate_policy._eval_predicate has cognitive complexity 77 (threshold 15). Drivers by points: if/else 46 (60 pts), boolean chains 15, error handling 1 (2 pts) (nesting depth added 15). 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31a0f644d8376a9faf659f8cfcab7b2946ebee3ec576eeab10c685ffc08ba4b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.verifyClickhouseObservation (cognitive 74): index.verifyClickhouseObservation has cognitive complexity 74 (threshold 15). Drivers by points: if/else 18 (52 pts), boolean chains 16, ternaries 1 (3 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef69440ddfd21e76c807d57ecb68b2ec2956965075e13a0c9e57f0f581950545"}},{"ruleId":"D2","level":"warning","message":{"text":"build_from_trajectories.main (cognitive 73): build_from_trajectories.main has cognitive complexity 73 (threshold 15). Drivers by points: if/else 17 (35 pts), ternaries 13 (22 pts), boolean chains 9, loops 4 (7 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/build_from_trajectories.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9e23c1f65829333a8aacff007e97c2af8e58526dd465a65bc5c0c6bf0d41e2"}},{"ruleId":"D2","level":"warning","message":{"text":"traces.TracesTable (cognitive 71): traces.TracesTable has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 31 (36 pts), if/else 19, boolean chains 16 (nesting depth added 5). Of this number, 27 points are the body\u0027s own statements and 44 belong to 28 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":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"728a66a683107cbc8ab88f2b7b9f91f0df387c123dc4870177d22a895b4ce0b5"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelIngestionProcessor.extractInputAndOutput (cognitive 70): OtelIngestionProcessor.extractInputAndOutput has cognitive complexity 70 (threshold 15). Drivers by points: boolean chains 30, if/else 24 (27 pts), ternaries 5 (10 pts), error handling 1 (3 pts) (nesting depth added 10). Of this number, 66 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6023454346747bfe32344a1f166cd201eb1568ebb418c7592d72e2037f54b9"}},{"ruleId":"D2","level":"warning","message":{"text":"TimelineChartCard.TimelineChartCard (cognitive 70): TimelineChartCard.TimelineChartCard has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 16 (33 pts), if/else 21 (26 pts), boolean chains 11 (nesting depth added 22). Of this number, 22 points are the body\u0027s own statements and 48 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4448a90007cd952dee89d8e17286d7190b5204bea4ea088fc377f9c637f3cc81"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._inject_taint_watermarks_into_messages (cognitive 70): litellm_callback._inject_taint_watermarks_into_messages has cognitive complexity 70 (threshold 15). Drivers by points: if/else 14 (52 pts), loops 3 (9 pts), boolean chains 8, ternaries 1 (nesting depth added 44). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5842}}}],"partialFingerprints":{"codehealthFindingId/v1":"82004754431cf91c59932c9a4845ea99976871bb8d6f3d525184deebd5451a16"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecCompositePolicy.check (cognitive 70): ExecCompositePolicy.check has cognitive complexity 70 (threshold 15). Drivers by points: if/else 26 (51 pts), boolean chains 11, ternaries 5 (7 pts), loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/exec_composite_policy.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c773221821e1008064d1c7dd0cb3ad7ef853c1e2011bf4a3a99dadc9a7e5a65"}},{"ruleId":"D2","level":"warning","message":{"text":"index.PlaygroundProvider (cognitive 69): index.PlaygroundProvider has cognitive complexity 69 (threshold 15). Drivers by points: if/else 31 (37 pts), boolean chains 11, ternaries 9 (11 pts), loops 4 (7 pts), error handling 2 (3 pts) (nesting depth added 12). None of this is in the body itself: all 69 points belong to 24 function literals inside it that branch (lines 309, 142, 236, \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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2894f1d5ac08bf9f0403df6c18d961294e5e6f8e2b28655d44c9a654bfe7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"UnaryGatePolicy.check (cognitive 69): UnaryGatePolicy.check has cognitive complexity 69 (threshold 15). Drivers by points: if/else 17 (41 pts), boolean chains 13, ternaries 7 (13 pts), error handling 1, loops 1 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d88d9e3290eda67f93f6c5849a0b877828d6da67f8ec1ae8f32446121c5d845"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoreChartLegendContent.ScoreChartLegendContent (cognitive 68): ScoreChartLegendContent.ScoreChartLegendContent has cognitive complexity 68 (threshold 15). Drivers by points: if/else 30 (38 pts), boolean chains 22, ternaries 4 (6 pts), loops 2 (nesting depth added 10). Most of this is not in the body itself: 10 of the 68 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 151, smartFormatLabel, getFormattedLabel, \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9a70633938aa86bdbf9ce2ec2a58700879be035ca43ff33bfd1c5ed09ec1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"blobstorage.BlobStorageIntegrationSettingsForm (cognitive 68): blobstorage.BlobStorageIntegrationSettingsForm has cognitive complexity 68 (threshold 15). Drivers by points: boolean chains 41, ternaries 14 (23 pts), if/else 2, match/switch 2 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 45 belong to 13 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7e429e911ad986d9efe2b3978267d1e593c959927e3ac3eaf0d4fac49b8929"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchLLMCompletion.fetchLLMCompletion (cognitive 66): fetchLLMCompletion.fetchLLMCompletion has cognitive complexity 66 (threshold 15). Drivers by points: if/else 24 (35 pts), boolean chains 18, ternaries 6 (11 pts), error handling 2 (nesting depth added 16). Of this number, 65 points are the body\u0027s own statements and 1 belongs 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":"langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4404c33804f9b7bf0ac27722b15ac32108737a707e2abe98b44cf5e78dcb53a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DataGenerator.generateEvaluationObservations (cognitive 65): DataGenerator.generateEvaluationObservations has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 17 (58 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 42). Most of this is not in the body itself: 1 of the 65 points is its own statement and the rest belongs to one function literal inside it that branches (line 322). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"36faaf96186c21e68f1ce1b7c3fc3b24e3a6508b187af49d2b90c7043f3dbdac"}},{"ruleId":"D2","level":"warning","message":{"text":"traces.buildTracesBaseQuery (cognitive 64): traces.buildTracesBaseQuery has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 26 (46 pts), boolean chains 13, if/else 4 (5 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/traces.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d17a040148d8ec8c6eed6333e1d2636c2a6c2bacf63a963d5731c786864a262"}},{"ruleId":"D2","level":"warning","message":{"text":"StatisticsCard.StatisticsCard (cognitive 64): StatisticsCard.StatisticsCard has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 33, ternaries 15 (29 pts), if/else 2 (nesting depth added 14). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a94303f1d9c64351df9c91c2e63336ee754ab5971ef06e546e1c7f4b315d93"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorAnalysisSettings.ErrorAnalysisSettings (cognitive 63): ErrorAnalysisSettings.ErrorAnalysisSettings has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 13 (28 pts), if/else 7 (19 pts), boolean chains 16 (nesting depth added 27). Of this number, 40 points are the body\u0027s own statements and 23 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72c9e4243bd24249a2649a4f47339cad4cca87036c23697ebe5625c5e41b269"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentList.CommentList (cognitive 62): CommentList.CommentList has cognitive complexity 62 (threshold 15). Drivers by points: boolean chains 30, if/else 27 (28 pts), ternaries 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 15 of the 62 points are its own statements and the rest belongs to 19 function items inside it that branch (handleKeyDown, a function literal at line 273, a function literal at line 578, \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":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"28342febf177569c8e5764acd8942974e9c62b7a5ed1f66ee75e6cdfaf945823"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelIngestionProcessor.extractUsageDetails (cognitive 61): OtelIngestionProcessor.extractUsageDetails has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (42 pts), ternaries 5 (12 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 36). Of this number, 58 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5afbc456826bfc86371f32ebbb6c96bff3f1cc7b37afcf45c455dcf4c8fbc4d"}},{"ruleId":"D2","level":"warning","message":{"text":"fill-time-series-gaps.aggregateIntoMultiUnitBuckets (cognitive 60): fill-time-series-gaps.aggregateIntoMultiUnitBuckets has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (38 pts), loops 8 (17 pts), boolean chains 3, match/switch 2 (nesting depth added 33). Of this number, 58 points are the body\u0027s own statements and 2 belong to 2 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":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8de4eb73a75f683ff312f9255f2db6dbd5aaa905a19e746001abc6af958e260"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawPolicy.check (cognitive 60): OpenClawPolicy.check has cognitive complexity 60 (threshold 15). Drivers by points: if/else 16 (27 pts), ternaries 5 (12 pts), error handling 3 (9 pts), boolean chains 6, loops 3 (6 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ea4dbd9f76ba2b00153b86127fe9123913085fd5f379ce2614c03fc85a2662"}},{"ruleId":"D2","level":"warning","message":{"text":"commentFilterService.applyCommentFilters (cognitive 59): commentFilterService.applyCommentFilters has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (41 pts), boolean chains 11, ternaries 1 (4 pts), loops 1 (3 pts) (nesting depth added 29). Of this number, 51 points are the body\u0027s own statements and 8 belong to 4 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":"langfuse/packages/shared/src/server/services/commentFilterService.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9c3975a0941b2827715d99ea02d58edf09cbc1a219606dad3b78b3def90994"}},{"ruleId":"D2","level":"warning","message":{"text":"inner-evaluator-form.InnerEvaluatorForm (cognitive 58): inner-evaluator-form.InnerEvaluatorForm has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 42, ternaries 25 (41 pts), if/else 16 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (inner-evaluator-form.InnerEvaluatorForm::onSubmit) 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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dc09b331f2a18d48e36d54b30b38f2b193c66728f7e96b8ba83f93a6579c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"apply_review_results.main (cognitive 58): apply_review_results.main has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 17, loops 4 (7 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":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/apply_review_results.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"667f288c8d9744eff2d6af40c2c3d7316e29ab860943b0b4de0440d8f310894b"}},{"ruleId":"D2","level":"warning","message":{"text":"unary_gate_policy._tool_block_reason (cognitive 57): unary_gate_policy._tool_block_reason has cognitive complexity 57 (threshold 15). Drivers by points: if/else 25 (41 pts), ternaries 6 (14 pts), boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d71c4a4faa29c4a5c36d02e214ae769cf32ec7664a1cb6c706e6c7ace22a26"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyEngine._efsm_step (cognitive 57): PolicyEngine._efsm_step has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 13, error handling 2 (6 pts), ternaries 4 (6 pts), loops 2 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2c0b7d4d83436319e3eb9c8ddc70828ec9f45794398fbb8deea66925a28da3"}},{"ruleId":"D2","level":"warning","message":{"text":"RelationalPolicy.check (cognitive 56): RelationalPolicy.check has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 15, ternaries 4 (6 pts), loops 3 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83a82cae06868b4d18d173ad3acac22228e9f2b41ab1b096800b3cc3dbc999e"}},{"ruleId":"D2","level":"warning","message":{"text":"scores.ScoresTable (cognitive 55): scores.ScoresTable has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 28 (33 pts), boolean chains 17, if/else 5 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 33 belong to 20 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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"244d63304278332385c0fd51dc39a72de0867bcf310673ced450ec17c4ed4a88"}},{"ruleId":"D2","level":"warning","message":{"text":"errorTypeFilters.applyErrorTypeFilters (cognitive 55): errorTypeFilters.applyErrorTypeFilters has cognitive complexity 55 (threshold 15). Drivers by points: if/else 26 (40 pts), ternaries 3 (8 pts), boolean chains 6, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb96fc1f1b87da293e79d0650fffe29b3a1dd67279455fd9775b142293a67a45"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelPolicyRuntime.build_taint_state (cognitive 55): KernelPolicyRuntime.build_taint_state has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (32 pts), boolean chains 15, loops 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14eb4bb2f693d18e2564a84492c98ccc661ba4006ad32c815274fe820cfc06b"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol_adapter.extract_all_user_messages_from_request (cognitive 55): protocol_adapter.extract_all_user_messages_from_request has cognitive complexity 55 (threshold 15). Drivers by points: if/else 17 (48 pts), loops 2 (5 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":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c491f7f8379590039a2d6e7e8a07ec8c41d51768fb46ce7d1c0792abb3cb5d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorAnalysisDropdown.ErrorAnalysisDropdown (cognitive 54): ErrorAnalysisDropdown.ErrorAnalysisDropdown has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 15 (24 pts), if/else 18 (19 pts), boolean chains 10, match/switch 1 (nesting depth added 10). Of this number, 23 points are the body\u0027s own statements and 31 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c40afb4121473888011f7324a8dbdc54d2c104ed04fbaa1568a5fa572d77ab"}},{"ruleId":"D2","level":"warning","message":{"text":"useChatMLParser.useChatMLParser (cognitive 53): useChatMLParser.useChatMLParser has cognitive complexity 53 (threshold 15). Drivers by points: if/else 8 (22 pts), ternaries 6 (13 pts), boolean chains 10, loops 4 (8 pts) (nesting depth added 25). Most of this is not in the body itself: 3 of the 53 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 86, 162). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/hooks/useChatMLParser.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85c8caba1b94da82cb5168f79d3b2d4335892710ff97168af4410e0a7c0837a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.handler (cognitive 53): index.handler has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (35 pts), loops 4 (10 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 21). Of this number, 46 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10963354982e157a6f6ba80de95be3db489bd2640a25917b7422d2f5f4ae1bd"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._screen_tool_results_with_alignment (cognitive 53): litellm_callback._screen_tool_results_with_alignment has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 15, ternaries 3 (6 pts), error handling 1 (2 pts), loops 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"d580de3e1af2bb3443512e1d2bf19317f08d3612e00fbb7503e3500ab6c6f684"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetRunsTable.DatasetRunsTable (cognitive 52): DatasetRunsTable.DatasetRunsTable has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 23 (38 pts), if/else 8 (10 pts), boolean chains 4 (nesting depth added 17). Of this number, 18 points are the body\u0027s own statements and 34 belong to 12 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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"13edc840ba7362585f31f7fafd4f943b1854cd93703e46c84ba2165e6f5aad18"}},{"ruleId":"D2","level":"warning","message":{"text":"useScoreAnalyticsQuery.useScoreAnalyticsQuery.data (cognitive 52): useScoreAnalyticsQuery.useScoreAnalyticsQuery.data has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 20 (23 pts), if/else 10 (15 pts), boolean chains 14 (nesting depth added 8). Of this number, 46 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fec264cca754d5ad1c7736d11de4ee6cdb68573a63fedc4001b0bdee4628ea"}},{"ruleId":"D2","level":"warning","message":{"text":"extractTools.extractTools (cognitive 51): extractTools.extractTools has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 14 (nesting depth added 19). Of this number, 44 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/extractTools.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d10f4d9798678c50b50c6445092487ea52d33638f4bc7613e39257dac795121"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._build_device_context (cognitive 51): litellm_callback._build_device_context has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 16, ternaries 5, 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"113c7e95ef12ea864a23ec4940ce36ae6a27df4520c45ea88677ad6077b35f8b"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions.SessionsTable (cognitive 50): sessions.SessionsTable has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 26 (28 pts), if/else 12, boolean chains 10 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 32 belong to 17 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":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c139d2e69fea38ff45641647cb8111d62e09ed59589ba84b9b2c09972736f360"}},{"ruleId":"D2","level":"warning","message":{"text":"handleBatchActionJob.handleBatchActionJob (cognitive 50): handleBatchActionJob.handleBatchActionJob has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 5 (12 pts), loops 4 (8 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a06a9275c7ce706575ad9c74634fc8f384b37a606e440129fb3570580fd11b5"}},{"ruleId":"D2","level":"warning","message":{"text":"experienceSummaryHintMarkdown.buildExperienceSummaryHintSectionContent (cognitive 49): experienceSummaryHintMarkdown.buildExperienceSummaryHintSectionContent has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 5 (20 pts), ternaries 2 (8 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":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e09c2aff2649b4ff47e7ffbc8bfee70e8d7307bae3b90b30e17af6b392777e"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyConfirmationDetailsSheet.PolicyConfirmationDetailsSheet (cognitive 49): PolicyConfirmationDetailsSheet.PolicyConfirmationDetailsSheet has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 13 (23 pts), if/else 12 (17 pts), boolean chains 7, loops 2 (nesting depth added 15). Of this number, 21 points are the body\u0027s own statements and 28 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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationDetailsSheet.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5843db74d4286175e80860b079526890f28615808995efe51a2099014408209e"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetForm.DatasetForm (cognitive 49): DatasetForm.DatasetForm has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 17, if/else 12 (17 pts), ternaries 13 (15 pts) (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 27 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":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c556528614336168fd93ecb43645f339278a19e666027c0e87654139403239d7"}},{"ruleId":"D2","level":"warning","message":{"text":"aisdk.normalizeMessage (cognitive 48): aisdk.normalizeMessage has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (36 pts), boolean chains 12 (nesting depth added 20). Of this number, 44 points are the body\u0027s own statements and 4 belong to 5 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dd7202c9e2c2e0e0f842f42ae5205658f003c89f4eeec526512d4ba0a029b4"}},{"ruleId":"D2","level":"warning","message":{"text":"data-table-view-presets-drawer.TableViewPresetsDrawer (cognitive 48): data-table-view-presets-drawer.TableViewPresetsDrawer has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 16, ternaries 11 (12 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 11 of the 48 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 569, a function literal at line 205, handleSelectView, \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":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3779de6f50465f19f9e5262290d66061bb11c046a5c06da50f25e54fdb58fda9"}},{"ruleId":"D2","level":"warning","message":{"text":"tree-building.buildTreeNodesBottomUp (cognitive 48): tree-building.buildTreeNodesBottomUp has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (29 pts), ternaries 5 (12 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 25). Of this number, 44 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd2946ae7120e76af0c10ffe8ae443baba908e081256a6c0162a17e3a083a79"}},{"ruleId":"D2","level":"warning","message":{"text":"unary_gate_policy._render_predicate (cognitive 47): unary_gate_policy._render_predicate has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (47 pts) (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba51d41112663e33a699b208b17fd9be25c0ab37d5ee185c7dd186bc9a378b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ObservationDetailView.ObservationDetailView (cognitive 46): ObservationDetailView.ObservationDetailView has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 30, ternaries 7 (10 pts), if/else 6 (nesting depth added 3). Of this number, 34 points are the body\u0027s own statements and 12 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2898a56b4f147e0710f6668033f2a4306f2dcd210626987b974844019ddbe375"}},{"ruleId":"D2","level":"warning","message":{"text":"router.buildSampledTurnContext (cognitive 46): router.buildSampledTurnContext has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (32 pts), boolean chains 5, ternaries 4 (5 pts), loops 3 (4 pts) (nesting depth added 18). Of this number, 43 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":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d877a9527fdaa67aef18ac6382391ad701e944c44f4ee49f107af9d1c955720"}},{"ruleId":"D2","level":"warning","message":{"text":"sign-in.SSOButtons (cognitive 46): sign-in.SSOButtons has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 36, ternaries 4 (10 pts) (nesting depth added 6). Of this number, 45 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"267993f635bb3b8d60f68d6d1237311f1459235c6147718dcd9e57ea58d85029"}},{"ruleId":"D2","level":"warning","message":{"text":"gemini.normalizeGeminiMessage (cognitive 45): gemini.normalizeGeminiMessage has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 12, ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b901d1243696de3aeb5dfbc8bf88d311bb382bf820f8c99c0ff54d1c7378ff"}},{"ruleId":"D2","level":"warning","message":{"text":"data-table.DataTable (cognitive 45): data-table.DataTable has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 12 (18 pts), boolean chains 13, if/else 9 (13 pts), loops 1 (nesting depth added 10). Most of this is not in the body itself: 13 of the 45 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 303, 328, 245, \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":"langfuse/web/src/components/table/data-table.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8114764f3efe01085fddf18eae96feb0912156ddcb8c8745f4c250196c3d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"JumpToPlaygroundButton.parseGeneration (cognitive 45): JumpToPlaygroundButton.parseGeneration has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 4 (12 pts), ternaries 5 (12 pts), boolean chains 4 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dbb2a7edfd32d91cb2286fd715e9f9633e46db188e838fac0cb15a7c870b31"}},{"ruleId":"D2","level":"warning","message":{"text":"evalService.extractVariablesFromTracingData (cognitive 45): evalService.extractVariablesFromTracingData has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (42 pts), boolean chains 2, loops 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7563c3ff90214cf5df216f53fc69101ab1dbbdc5a88293246b4753760e1c3f"}},{"ruleId":"D2","level":"warning","message":{"text":"powershell._ps_iter_flat (cognitive 45): powershell._ps_iter_flat has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 5 (12 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7f59e58943571646dd99dfebb79a57c34c997d3ddc940ec8ba8dee8383bc12"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._resolve_trace_state_from_metadata (cognitive 45): litellm_callback._resolve_trace_state_from_metadata has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (36 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 21). 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"be07283deff25b453dc2b801dae86b277852b48e6279ea59421c13dd66a90912"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._emit_langfuse_node (cognitive 45): litellm_callback._emit_langfuse_node has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 13, error handling 3 (4 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2870}}}],"partialFingerprints":{"codehealthFindingId/v1":"9031e6d7bd51b60693ff00b613db552b7ae3c0a982c0fcd1eb6bf72d95a008e4"}},{"ruleId":"D2","level":"warning","message":{"text":"relational_policy._flow_kind (cognitive 45): relational_policy._flow_kind has cognitive complexity 45 (threshold 15). Drivers by points: if/else 27 (35 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 9). 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"453b7149178a21d02e6149854cac70426d2de02232ac801d130b5c843505c983"}},{"ruleId":"D2","level":"warning","message":{"text":"DistributionCategoricalCard.DistributionCategoricalCard (cognitive 43): DistributionCategoricalCard.DistributionCategoricalCard has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 10 (19 pts), if/else 10 (12 pts), boolean chains 11, match/switch 1 (nesting depth added 11). Of this number, 30 points are the body\u0027s own statements and 13 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"516e704237e28b92ff71298e8be0ff6096d51820310de8d03b5ca9e030ac6845"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetForm.WidgetForm (cognitive 43): WidgetForm.WidgetForm has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 67, if/else 49 (62 pts), ternaries 39 (61 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (WidgetForm.WidgetForm::handleSaveWidget) 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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16c30b9b9aea56316e0369d39a330d33e8e2b323d75555d440088d6a8569055"}},{"ruleId":"D2","level":"warning","message":{"text":"direct_metadata._coerce_generic (cognitive 43): direct_metadata._coerce_generic has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (29 pts), loops 6 (12 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/direct_metadata.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c3872dac8d12b5a3744929cfe74a5c73339315ddf465b0ba06ea817af04ec1"}},{"ruleId":"D2","level":"warning","message":{"text":"applyFieldMapping.applyFieldMappingConfig (cognitive 42): applyFieldMapping.applyFieldMappingConfig has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (34 pts), boolean chains 4, loops 1 (3 pts), match/switch 1 (nesting depth added 24). 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":"langfuse/packages/shared/src/features/batchAction/applyFieldMapping.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"277e1d50999a8e0063820c40a89f7dbf62de9990fa2720b71f69a44a6172df95"}},{"ruleId":"D2","level":"warning","message":{"text":"NewDatasetItemForm.NewDatasetItemForm (cognitive 42): NewDatasetItemForm.NewDatasetItemForm has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 17, if/else 13 (15 pts), ternaries 8 (10 pts) (nesting depth added 4). Most of this is not in the body itself: 8 of the 42 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 172, a function literal at line 278, onSubmit, \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":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8c8d3aacc20c913e507063aee2cde6c024c1b38d21464d3636bdb1e8d2b4c5"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillEventsHistoricFromParts.run (cognitive 42): BackfillEventsHistoricFromParts.run has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (30 pts), loops 4 (6 pts), boolean chains 5, error handling 1 (nesting depth added 11). Of this number, 24 points are the body\u0027s own statements and 18 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5744cd923729be174a8eed8d8979f08eda13bdb159acb7071cc4a15d626080"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityLabelPolicy.check (cognitive 42): SecurityLabelPolicy.check has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 9, loops 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa82afe0a48383317e45dbc1936bdc7bae30095d798455db00616b5930cd6e06"}},{"ruleId":"D2","level":"warning","message":{"text":"DataGenerator.generateSyntheticObservations (cognitive 41): DataGenerator.generateSyntheticObservations has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 13 (29 pts), boolean chains 8, match/switch 1 (2 pts), if/else 1, loops 1 (nesting depth added 17). None of this is in the body itself: all 41 points belong to one function literal inside it that branches (line 426). 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":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e2b8eac7d5ac16d9c39cc0fb15ba6584ec39047daed8a17cdc75f1a08f7262"}},{"ruleId":"D2","level":"warning","message":{"text":"buildStepData.assignGlobalTimingSteps (cognitive 41): buildStepData.assignGlobalTimingSteps has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 5 (10 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 21). Of this number, 38 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildStepData.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fbcdae5f1d27e7772f977a32f36c7cad813ace98b6e23e69dc4da9e1dc6647"}},{"ruleId":"D2","level":"warning","message":{"text":"extractToolsBackend.extractToolCallsFromRawOutput (cognitive 40): extractToolsBackend.extractToolCallsFromRawOutput has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 6 (15 pts), boolean chains 5 (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":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e3bc829b9fdb422496fd039f37396d208beda2a29439d36ac2d0a085858791"}},{"ruleId":"D2","level":"warning","message":{"text":"IOPreviewJSON.IOPreviewJSONInner (cognitive 40): IOPreviewJSON.IOPreviewJSONInner has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 12, ternaries 8 (9 pts) (nesting depth added 2). Most of this is not in the body itself: 12 of the 40 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 350, 226, 109, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSON.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f494017956f7aae261870b5793f72a392d4c4fba69459da38ec74b524ae6c9"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeJsonViewer.JSONView (cognitive 40): CodeJsonViewer.JSONView has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 16 (27 pts), if/else 5 (7 pts), boolean chains 6 (nesting depth added 13). Of this number, 29 points are the body\u0027s own statements and 11 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7e3478b8a056c1db551c87176ba4b8a9605515424a588148f244da5dc7693f"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateLLMApiKeyForm.CreateLLMApiKeyForm::onSubmit (cognitive 40): CreateLLMApiKeyForm.CreateLLMApiKeyForm::onSubmit has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (29 pts), ternaries 5 (6 pts), boolean chains 4, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CreateLLMApiKeyForm.CreateLLMApiKeyForm) 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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f23eefac08301a53edd511900fe303fda01705c9f2a0c709ced0eefb3cac91"}},{"ruleId":"D2","level":"warning","message":{"text":"MembersTable.MembersTable (cognitive 40): MembersTable.MembersTable has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 17 (25 pts), boolean chains 8, if/else 5 (7 pts) (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 15 belong to 9 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afaa50da9cc7276b78a599ab35e398ddaea4a2224316c790397d70808023ca1"}},{"ruleId":"D2","level":"warning","message":{"text":"DistributionNumericCard.DistributionNumericCard (cognitive 40): DistributionNumericCard.DistributionNumericCard has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 11 (20 pts), boolean chains 9, if/else 9, match/switch 2 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 17 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d46890868e37a23bdcc50fb18e7e09f5c89df442b8e33ab9a4413af9600abd1"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardWidget.DashboardWidget (cognitive 40): DashboardWidget.DashboardWidget has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 13, if/else 9 (12 pts) (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 20 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc30474dad9d1d4cb39c3af51e115fa0c8e86e29b8be4ff53043bc13dd4bcaa"}},{"ruleId":"D2","level":"warning","message":{"text":"date-picker.TimeRangePicker (cognitive 39): date-picker.TimeRangePicker has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 12 (17 pts), if/else 13 (14 pts), boolean chains 8 (nesting depth added 6). Most of this is not in the body itself: 10 of the 39 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 317, getDisplayContent, onCalendarSelection, \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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"401f622fac86f3259935ff12d2397379808c65ea9ce46dc7beffd98a0b2ebc6a"}},{"ruleId":"D2","level":"warning","message":{"text":"MappingPreviewPanel.MappingPreviewPanel (cognitive 39): MappingPreviewPanel.MappingPreviewPanel has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 15, ternaries 3 (4 pts), error handling 1 (nesting depth added 6). Most of this is not in the body itself: 14 of the 39 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 158, 48, 98, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingPreviewPanel.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"238917708312e5f7c5d8e098c0370cad9192777d75eef172ca9b84371709fa0f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationForm.InnerAnnotationForm (cognitive 39): AnnotationForm.InnerAnnotationForm has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 12 (13 pts), boolean chains 12 (nesting depth added 6). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to 10 function items inside it that branch (a function literal at line 584, handleNumericUpsert, handleUpsert, \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":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2570e56dbb52639d257f4fb41d3e8995e11c684b7ae423599bede9e9e089d4"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._collect_prior_tool_call_ids_from_messages (cognitive 39): litellm_callback._collect_prior_tool_call_ids_from_messages has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (25 pts), boolean chains 5, ternaries 1 (5 pts), loops 2 (4 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdf9b0de416091ad7d190f5c8ba2ee96bf7099571fc4d3bc86c99d56f39380e"}},{"ruleId":"D2","level":"warning","message":{"text":"TaintPolicy.check (cognitive 39): TaintPolicy.check has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 4 (10 pts), boolean chains 6, loops 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25bdf740756f356b0a3ff34a242fadf2c88e4cc431d12f1184257ebd418504c"}},{"ruleId":"D2","level":"warning","message":{"text":"observations_converters.convertObservationPartial (cognitive 38): observations_converters.convertObservationPartial has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 34, if/else 2, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations_converters.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa60df9ed1497cb3457122df48d457e15cb152ac7c423c714892bc65eb77df11"}},{"ruleId":"D2","level":"warning","message":{"text":"index.SessionEventsPage (cognitive 38): index.SessionEventsPage has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 17, if/else 14, ternaries 5 (7 pts) (nesting depth added 2). Most of this is not in the body itself: 13 of the 38 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 706, 809, 632, \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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1e1d58b88397557304869e2a45d9ab8e92607c52b4ea2722c278ba4bdfb8ca"}},{"ruleId":"D2","level":"warning","message":{"text":"filter-builder.InlineFilterState (cognitive 38): filter-builder.InlineFilterState has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 11 (35 pts), boolean chains 3 (nesting depth added 24). None of this is in the body itself: all 38 points belong to 2 function literals inside it that branch (lines 273, 288). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1c14d2cf764722efa4458eace0723d2c4977efe74dc20130dbd2625c5616a8"}},{"ruleId":"D2","level":"warning","message":{"text":"HeatmapCard.HeatmapCard (cognitive 38): HeatmapCard.HeatmapCard has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 15 (28 pts), boolean chains 7, if/else 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/HeatmapCard.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b1cb5e5a9ff253e2ab5824ddf53461ffc3420735d8bde946e4e9f48f49f40f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.handler (cognitive 38): index.handler has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 8, error handling 3 (7 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scim/Users/index.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1e838800dafc0e43dccc0cc2906116930c0c181bd0a764bcebe47f5c149d76"}},{"ruleId":"D2","level":"warning","message":{"text":"policy_check._policy_source_location (cognitive 38): policy_check._policy_source_location has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 2 (6 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4b5cf09f6b94acce3110e0c7a327abcb261e5b84375f71c7386103096122cd"}},{"ruleId":"D2","level":"warning","message":{"text":"schemaValidation.validateAllDatasetItems (cognitive 37): schemaValidation.validateAllDatasetItems has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (33 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/datasets/schemaValidation.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7e2129dda0ac898cad59f03649ff3b0bd8f901007aa2fb2a6f2c30e54561b9"}},{"ruleId":"D2","level":"warning","message":{"text":"variable-mapping-card.VariableMappingCard (cognitive 37): variable-mapping-card.VariableMappingCard has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 8 (17 pts), boolean chains 14, if/else 3 (6 pts) (nesting depth added 12). Most of this is not in the body itself: 3 of the 37 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 157, 296, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"132ff8bd309c830de4f4269fee4eae0e5142602ea14d2b5016ccc3be8968fa79"}},{"ruleId":"D2","level":"warning","message":{"text":"filter-builder.FilterBuilderForm (cognitive 37): filter-builder.FilterBuilderForm has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 25, if/else 4 (7 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 14 belong to 12 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e5cf990f897dd23fc1137a735fe810107e95c1bf18fdfb834908b5486f1f77"}},{"ruleId":"D2","level":"warning","message":{"text":"useSidebarFilterState.useSidebarFilterState.applySelection (cognitive 37): useSidebarFilterState.useSidebarFilterState.applySelection has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (21 pts), ternaries 5 (9 pts), boolean chains 7 (nesting depth added 9). Of this number, 35 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"95129063efa03dbcc830b6426a9aaf77cdc20379ecbd52ff25b47d6d6500a1da"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillEventsHistoric.run (cognitive 37): BackfillEventsHistoric.run has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (25 pts), loops 4 (6 pts), boolean chains 5, error handling 1 (nesting depth added 9). Of this number, 21 points are the body\u0027s own statements and 16 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eefbdf2e01c2756849031d0e8fa107ef38609a18ad6dfb88dee0ee1c0f2b4df"}},{"ruleId":"D2","level":"warning","message":{"text":"EfsmGatePolicy.check (cognitive 37): EfsmGatePolicy.check has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 3 (7 pts), boolean chains 4, loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5fdc86afbace788636b85fa8c9a85555994633104a03160946183ad223cd83"}},{"ruleId":"D2","level":"warning","message":{"text":"validation.validatePricingTiers (cognitive 36): validation.validatePricingTiers has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 5 (7 pts), ternaries 1 (4 pts), error handling 1 (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":"langfuse/packages/shared/src/features/model-pricing/validation.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"986415144e42736c903a37ddedbc9cd93f6c884380a1d33982589449b3134dab"}},{"ruleId":"D2","level":"warning","message":{"text":"createDataset.upsertDataset (cognitive 36): createDataset.upsertDataset has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 11 (23 pts), if/else 5 (11 pts), boolean chains 2 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/actions/createDataset.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"461fa822dbd031f805f75431a6e2e80cb68a5b8d2ed116b6d5923a676bb310b8"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiStepExperimentForm.MultiStepExperimentForm (cognitive 36): MultiStepExperimentForm.MultiStepExperimentForm has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 24, if/else 8 (9 pts), ternaries 2, match/switch 1 (nesting depth added 1). Most of this is not in the body itself: 15 of the 36 points are its own statements and the rest belongs to 8 function items inside it that branch (isStepValid, a function literal at line 448, a function literal at line 274, \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":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b47daad23f3ae8e8527962021f5ec1189ef586a9e1b6c9aa4f4f87e125c108"}},{"ruleId":"D2","level":"warning","message":{"text":"buildScoreComparisonQuery.buildScoreComparisonQuery (cognitive 36): buildScoreComparisonQuery.buildScoreComparisonQuery has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 32 (36 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2bc8099d0353ca5eae1f2129326ef6df9139b4f19e914f50d90f65437d3a75"}},{"ruleId":"D2","level":"warning","message":{"text":"IngestionService.getUsageUnits (cognitive 36): IngestionService.getUsageUnits has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 6 (12 pts), boolean chains 6, error handling 2 (4 pts), loops 1 (nesting depth added 14). Of this number, 22 points are the body\u0027s own statements and 14 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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e896ed35593935fb74ea0386f98bd8fa33227be61ee11e0fef3b3934ec29d7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ingestionQueue.ingestionQueueProcessorBuilder.\u003Creturned closure\u003E (cognitive 36): ingestionQueue.ingestionQueueProcessorBuilder.\u003Creturned closure\u003E has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 7, ternaries 4 (7 pts), error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 8). Of this number, 34 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":"langfuse/worker/src/queues/ingestionQueue.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faf0ca6af39dc8ef769068ec2a839e0871434454b3736b9c65b57a58a9ea26f"}},{"ruleId":"D2","level":"warning","message":{"text":"handleExperimentBackfill.writeEnrichedSpans (cognitive 36): handleExperimentBackfill.writeEnrichedSpans has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 32, if/else 3, loops 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd4dc296ea30232e115f224c22b81a6b69f0fbea60cce804eb0e21a266bfb26"}},{"ruleId":"D2","level":"warning","message":{"text":"index.main (cognitive 36): index.main has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (29 pts), error handling 3 (6 pts), loops 1 (nesting depth added 13). Of this number, 24 points are the body\u0027s own statements and 12 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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a9bad877172432e1b280c0c8694df07cfdf497e546a4580ff3d4598802a56a"}},{"ruleId":"D2","level":"warning","message":{"text":"types.compute_prop_taint_for_instruction (cognitive 36): types.compute_prop_taint_for_instruction has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 10, ternaries 5 (7 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/types.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadbae339e56efb9087e5762d6602e274afe7c06d4e7a90320a4c01fbc3515e9"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._response_transform_content_only (cognitive 36): litellm_callback._response_transform_content_only has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 4 (9 pts), boolean chains 5, error handling 2 (5 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5512}}}],"partialFingerprints":{"codehealthFindingId/v1":"478a0adc19743937bb1e95def0bdfc65770f52e9219769cade00c487a6d59312"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelPolicyRuntime.check_path_and_budget (cognitive 36): KernelPolicyRuntime.check_path_and_budget has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 4 (9 pts), boolean chains 8, loops 3 (4 pts), error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"739536c7465fa033b43bec006f13085a69901a32ce5e80d923aea040a8876a84"}},{"ruleId":"D2","level":"warning","message":{"text":"tree-building.filterAndPrepareObservations (cognitive 35): tree-building.filterAndPrepareObservations has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 8, loops 4 (5 pts), ternaries 1 (nesting depth added 11). Of this number, 28 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c7710122bc5b46a24dc703f76e2d43c68ce7a7327a85db5ff76ac6e6fc0655"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingService.getSubscriptionInfo (cognitive 35): BillingService.getSubscriptionInfo has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 5 (6 pts), boolean chains 4, error handling 1 (nesting depth added 12). None of this is in the body itself: all 35 points belong to 3 function literals inside it that branch (lines 315, 465, 405). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b40e6973a2b50d1238b91607c5d6e20be36eef0c2c429d3e92b74cf7d5814c"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingService.getInvoices (cognitive 35): BillingService.getInvoices has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 10 (14 pts), boolean chains 4, loops 1 (nesting depth added 11). None of this is in the body itself: all 35 points belong to 3 function literals inside it that branch (lines 1626, 1551, 1593). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"469a7da24fd20768f272f9a9ba9fb98899cd3711eebf81c062377aad043249d6"}},{"ruleId":"D2","level":"warning","message":{"text":"automations.AutomationsPage (cognitive 35): automations.AutomationsPage has cognitive complexity 35 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 10, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 35 points are its own statements and the rest belongs to 6 function items inside it that branch (renderMainContent, handleDeleteAutomation, a function literal at line 76, \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":"langfuse/web/src/features/automations/components/automations.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fede19cde03ee77afddc08c65124693d32b28270999a23c093891cad69721b"}},{"ruleId":"D2","level":"warning","message":{"text":"remap-evaluator.RemapEvaluatorPage (cognitive 35): remap-evaluator.RemapEvaluatorPage has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (23 pts), boolean chains 8, if/else 2, error handling 1, match/switch 1 (nesting depth added 13). Of this number, 17 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":"langfuse/web/src/features/evals/pages/remap-evaluator.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed0e4e8ac9d5817219e1e57ded99836bc3d76535e91ca3d7827da694a13d49c"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoreDistributionCategoricalChart.ScoreDistributionCategoricalChart (cognitive 35): ScoreDistributionCategoricalChart.ScoreDistributionCategoricalChart has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 8, ternaries 5 (7 pts) (nesting depth added 9). Most of this is not in the body itself: 3 of the 35 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 177, a function literal at line 57, a function literal at line 173, \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionCategoricalChart.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3269d2e7d7bbd06349bfbdc5fb3abdfe1a23d433ef53c5b60f0a5b6dde646238"}},{"ruleId":"D2","level":"warning","message":{"text":"PatchLLMToolAndLLMSchemaAuditLogs.run (cognitive 35): PatchLLMToolAndLLMSchemaAuditLogs.run has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 2 (6 pts), ternaries 2 (6 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":"langfuse/worker/src/backgroundMigrations/patchLLMToolAndLLLMSchemaAuditLogs.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0084d747cf02f8febd2459cadb65227a909b7b7abfec23306a47d459f47004a8"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._wrap_reference_tool_ids_into_messages (cognitive 35): litellm_callback._wrap_reference_tool_ids_into_messages has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5681}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b6e3f80be898a87e1e0aad492151ec61c195e07e8996680e8bfaa1fe74e50b"}},{"ruleId":"D2","level":"warning","message":{"text":"policy_rule_ir._validate_predicate (cognitive 35): policy_rule_ir._validate_predicate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"398ca94012d8634cf577fb9880fc4fccc2225bca1ee9b01de50f11d418e4e059"}},{"ruleId":"D2","level":"warning","message":{"text":"traces-ui-table-service.getTracesTableGeneric (cognitive 34): traces-ui-table-service.getTracesTableGeneric has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 17 (19 pts), boolean chains 14, match/switch 1 (nesting depth added 2). Most of this is not in the body itself: 15 of the 34 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 375, 264, 231). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e206991ca6ec6a52caa6b109006ce3b75af37c5a723169e46fa73f2c086d68fa"}},{"ruleId":"D2","level":"warning","message":{"text":"pydantic-ai.extractFromParts (cognitive 34): pydantic-ai.extractFromParts has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 5 (17 pts), if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/pydantic-ai.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e1ae09996994b2227ed14b990f0fd0cd7bf3bda96fe12c047ed7cd63483fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"generic.normalizeGoogleMessage (cognitive 34): generic.normalizeGoogleMessage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 10 (nesting depth added 13). Most of this is not in the body itself: 9 of the 34 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 40, 17, 25). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/generic.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a04defcd0e35f62965857f754f212ae7e785b40ffcb0b6c663d09bdf695f21"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonValue.JsonValue (cognitive 34): JsonValue.JsonValue has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 6 (10 pts), boolean chains 4, match/switch 2 (nesting depth added 13). Of this number, 18 points are the body\u0027s own statements and 16 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d2133c15edb02de2644eed76373282c66baee378e2f1e21df59a95a8d73f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluator-table.EvaluatorTable (cognitive 34): evaluator-table.EvaluatorTable has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 13 (18 pts), if/else 9 (10 pts), boolean chains 6 (nesting depth added 6). Most of this is not in the body itself: 11 of the 34 points are its own statements and the rest belongs to 14 function items inside it that branch (convertToTableRow, a function literal at line 260, a function literal at line 373, \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":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eae6af6bd36aae203f411c11fda1a83e4ed34ccdd139a790b5da9966d81d1c2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.DashboardDetail (cognitive 34): index.DashboardDetail has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 16, if/else 10 (11 pts), ternaries 4 (7 pts) (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 15 belong to 9 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efda2078247abbbf782cf274f0e0a593db237d42c6fd08e8a9a0e7e084b5b22"}},{"ruleId":"D2","level":"warning","message":{"text":"alignment_trigger.should_trigger_preexec_sentinel (cognitive 34): alignment_trigger.should_trigger_preexec_sentinel has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 7, ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ed3089ae493e7e45b4c974a1128f2251de5923b97f5721864e990c313563cb"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyEngine.observe_untrusted_output (cognitive 34): PolicyEngine.observe_untrusted_output has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 13, loops 5 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"1675d0311511ebe91fb6ee2bf93cab772ac2eb473d006fe123b0e18d2c6a67b4"}},{"ruleId":"D2","level":"warning","message":{"text":"public-api-filter-builder.convertApiProvidedFilterToClickhouseFilter (cognitive 33): public-api-filter-builder.convertApiProvidedFilterToClickhouseFilter has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (20 pts), ternaries 2 (6 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 18). None of this is in the body itself: all 33 points belong to one function literal inside it that branches (line 223). 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":"langfuse/packages/shared/src/server/queries/public-api-filter-builder.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4063a97dd2ade4f2be3a08ff3ee321b3741a257666ba46e958465623d78cda8b"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelIngestionProcessor.extractModelParameters (cognitive 33): OtelIngestionProcessor.extractModelParameters has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 10 (22 pts), error handling 3 (6 pts), if/else 5 (nesting depth added 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92d58f5abf4b631d3bf6cf76fe61d3d640f3fae1f58b586f8723db78f7686dc"}},{"ruleId":"D2","level":"warning","message":{"text":"AdvancedJsonSection.AdvancedJsonSection (cognitive 33): AdvancedJsonSection.AdvancedJsonSection has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 14, if/else 11, ternaries 7 (8 pts) (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 14 belong to 9 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1472f6a8549b9e501e1972f3f61e634d4d68017495ee00d911ee1a06a90081"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownViewer.MarkdownView (cognitive 33): MarkdownViewer.MarkdownView has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 13 (28 pts), boolean chains 5 (nesting depth added 15). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 417). 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":"langfuse/web/src/components/ui/MarkdownViewer.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c11fa156cd1bba000c091d9fd87ba7468bcc9dbdede813bbbdb631a1364beb"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationQueueItemPage.AnnotationQueueItemPage (cognitive 33): AnnotationQueueItemPage.AnnotationQueueItemPage has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 15, if/else 14, ternaries 2 (3 pts), match/switch 1 (nesting depth added 1). Most of this is not in the body itself: 14 of the 33 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 103, renderContent, a function literal at line 78, \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2352421fea229c203e82233eb62865f6714fa426a2ff9d2e57ab8aa0f9b1a7a"}},{"ruleId":"D2","level":"warning","message":{"text":"UpsertModelFormDialog.UpsertModelFormDialog (cognitive 33): UpsertModelFormDialog.UpsertModelFormDialog has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 12 (14 pts), if/else 11, boolean chains 8 (nesting depth added 2). Most of this is not in the body itself: 9 of the 33 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 80, onSubmit, a function literal at line 169, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25c7d4f1072d67255c9f8486ce223bdcb4d6715f2263bae3440deffdf9423e"}},{"ruleId":"D2","level":"warning","message":{"text":"index.NewPromptForm (cognitive 33): index.NewPromptForm has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 10, if/else 9, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to 6 function items inside it that branch (onSubmit, a function literal at line 184, a function literal at line 211, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14421d7adb26fa42ef085a60cf84d0abdb05e5783c5fd9a1994d885b144a281"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-detail.PromptDetail (cognitive 33): prompt-detail.PromptDetail has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 11, if/else 6 (7 pts), error handling 1 (nesting depth added 6). Of this number, 29 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb82610a18bc857bfb57b24b678b608a170d342d9ccbbd1b4e62a638a1c2e03"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._summarize_turn_topic (cognitive 33): litellm_callback._summarize_turn_topic has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 7, loops 2 (5 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2924d235608372b1202d318a6302795931c9c46b6ebc41f38e354dfaa65857"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanContent.SpanContent (cognitive 32): SpanContent.SpanContent has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 26, ternaries 4 (6 pts) (nesting depth added 2). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/SpanContent.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e60bed447bf962ccbf2c78cb31a5654219a4d601ddaa012e549a94901a00c6"}},{"ruleId":"D2","level":"warning","message":{"text":"CorrectedOutputField.CorrectedOutputField (cognitive 32): CorrectedOutputField.CorrectedOutputField has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 7, if/else 6 (7 pts), error handling 3 (6 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 14 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":"langfuse/web/src/components/trace2/components/IOPreview/components/CorrectedOutputField.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc15ba37b9dfbc9c977bd7cc8b748ec90c0a8e46d1f35f298d29931b0342084"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessage.ChatMessage (cognitive 32): ChatMessage.ChatMessage has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 13, ternaries 7 (13 pts), if/else 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb6e3bf981ff7014bc2762059e74a61f457d445c6047096156265a50f6937c"}},{"ruleId":"D2","level":"warning","message":{"text":"treeStructure.buildTreeStructureIterative (cognitive 32): treeStructure.buildTreeStructureIterative has cognitive complexity 32 (threshold 15). Drivers by points: loops 5 (15 pts), ternaries 2 (9 pts), if/else 3 (7 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0534111e41ba4f2d36ea7fbdc3e20ef8e8338c5a4b10d04bb1e1d691cf955fa"}},{"ruleId":"D2","level":"warning","message":{"text":"chart.ChartTooltipContent (cognitive 32): chart.ChartTooltipContent has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 15, ternaries 8 (12 pts), if/else 5 (nesting depth added 4). Most of this is not in the body itself: 4 of the 32 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 203, 151, 142, \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":"langfuse/web/src/components/ui/chart.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"acac62c03222ebeb03e6fcfe1a8360a339d212e68b5441261c3ee4a39aa631fd"}},{"ruleId":"D2","level":"warning","message":{"text":"template-form.InnerEvalTemplateForm (cognitive 32): template-form.InnerEvalTemplateForm has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 13 (14 pts), if/else 10 (12 pts), boolean chains 6 (nesting depth added 3). Most of this is not in the body itself: 11 of the 32 points are its own statements and the rest belongs to 5 function items inside it that branch (onSubmit, a function literal at line 259, a function literal at line 339, \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":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6985f2514d03f93291eeb4b992086a92441fd80106f76149d26ebcd443658f26"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateLLMApiKeyForm.CreateLLMApiKeyForm (cognitive 32): CreateLLMApiKeyForm.CreateLLMApiKeyForm has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 25 (47 pts), boolean chains 32, if/else 19 (30 pts), error handling 1, match/switch 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CreateLLMApiKeyForm.CreateLLMApiKeyForm::onSubmit) 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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad10654160887c91b60e2f52427c94512605bcb344f16d3c7b67fd4eb55e1ff"}},{"ruleId":"D2","level":"warning","message":{"text":"fill-time-series-gaps.fillGapsInSingleUnitData (cognitive 32): fill-time-series-gaps.fillGapsInSingleUnitData has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (7 pts), boolean chains 3, match/switch 2, ternaries 2 (nesting depth added 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to 2 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":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c6df6adf90973ced317b7af59ba7fbc7cf6a682fdf0b713fa533424d75912c"}},{"ruleId":"D2","level":"warning","message":{"text":"bash._ts_iter_flat (cognitive 32): bash._ts_iter_flat has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e90211addb60c36a429385e64b60d5e7fdb7094aa3361ed3e0adbb943941ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"powershell._ps_collect_from_exec_unit (cognitive 32): powershell._ps_collect_from_exec_unit has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (8 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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ce9369d30e2d827c9a33010e364856ffd538922a61144b617ffe4ef3e84762"}},{"ruleId":"D2","level":"warning","message":{"text":"langfuse_replay.replay_jsonl_to_langfuse (cognitive 32): langfuse_replay.replay_jsonl_to_langfuse has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 2 (4 pts), boolean chains 2, 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":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cdc724f6ac28aec807f594bca35011b5105f5c25664e14295ead25e22ff44d"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._max_emitted_tool_result_index (cognitive 32): litellm_callback._max_emitted_tool_result_index has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (24 pts), error handling 3 (4 pts), boolean chains 3, 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d0e4cb5503b124e240dd4024dd63c3781d1f378e7a5753ca75219a9cdb3daa"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelPolicyRuntime.check_taint_sink_for_tool (cognitive 32): KernelPolicyRuntime.check_taint_sink_for_tool has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"49297aab12f2312f0e48369310a3b6650acbb2cc762c1bf7c5b201bbcd0350f9"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelPolicyRuntime.efsm_step (cognitive 32): KernelPolicyRuntime.efsm_step has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 9, ternaries 5 (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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c277c0285827481baccdacc806ea8092579c762f2240c3da18089e2fa4cf427b"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions-ui-table-service.getSessionsTableGeneric (cognitive 31): sessions-ui-table-service.getSessionsTableGeneric has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 15 (16 pts), boolean chains 13, if/else 1, match/switch 1 (nesting depth added 1). Of this number, 28 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/sessions-ui-table-service.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96cfccbb10fee05099c9ce55fe76ea0c04d249fb30288c6d3a6b183684e2799"}},{"ruleId":"D2","level":"warning","message":{"text":"aisdk.preprocessData (cognitive 31): aisdk.preprocessData has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 6, ternaries 1 (3 pts) (nesting depth added 12). Of this number, 28 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"038b0a8bb446ed39bbea6cb90334debfb80480bdf598525bf155b9b170f3da9c"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameworkTraceLoader.adaptTrace (cognitive 31): FrameworkTraceLoader.adaptTrace has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (20 pts), boolean chains 6, if/else 2 (3 pts), loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/framework-traces/framework-trace-loader.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d65113525a8b899512c3f4112b8a1e81d6c5ec920c68f4d6d081ac169d7d96"}},{"ruleId":"D2","level":"warning","message":{"text":"seed-postgres.createDatasets (cognitive 31): seed-postgres.createDatasets has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 3 (10 pts), loops 4 (9 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":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec351e1f6efe2354306ec235761ebfe0a7ff03da26aff2fb0341d3f6f473a93"}},{"ruleId":"D2","level":"warning","message":{"text":"NewDatasetItemFromExistingObject.NewDatasetItemFromExistingObject (cognitive 31): NewDatasetItemFromExistingObject.NewDatasetItemFromExistingObject has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (23 pts), boolean chains 8 (nesting depth added 13). Of this number, 28 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemFromExistingObject.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eb09afd16d03658f972d169237eed58d93fdabf068b33a4800406064dbda20"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoreDistributionBooleanChart.ScoreDistributionBooleanChart (cognitive 31): ScoreDistributionBooleanChart.ScoreDistributionBooleanChart has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 13, ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 151, 64, 102, \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd2548b4b2761e3eb99b6b43bd0771499ba7447743c2748da75899d10905407"}},{"ruleId":"D2","level":"warning","message":{"text":"DistributionBooleanCard.DistributionBooleanCard (cognitive 31): DistributionBooleanCard.DistributionBooleanCard has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (16 pts), if/else 8, boolean chains 6, match/switch 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6426e6378eb3f887ba61cbdbb9d873a0cbe08f598fe253a3201becc42e7ba816"}},{"ruleId":"D2","level":"warning","message":{"text":"charts.DatasetCompare (cognitive 31): charts.DatasetCompare has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (19 pts), if/else 6 (9 pts), boolean chains 3 (nesting depth added 13). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 188, 151, 145). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0e2a53fbefb00274499c960e20ff99977992d52224e973493e027c069fd54b"}},{"ruleId":"D2","level":"warning","message":{"text":"handleCloudUsageMeteringJob.handleCloudUsageMeteringJob (cognitive 31): handleCloudUsageMeteringJob.handleCloudUsageMeteringJob has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (22 pts), error handling 2 (5 pts), boolean chains 3, 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":"langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e106edd50b5a1022713d511eafa6c41d1850668f7c40aeb55904a389f41f06f"}},{"ruleId":"D2","level":"warning","message":{"text":"otelIngestionQueue.otelIngestionQueueProcessor (cognitive 31): otelIngestionQueue.otelIngestionQueueProcessor has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (14 pts), error handling 4 (6 pts), ternaries 4 (6 pts), boolean chains 5 (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, 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":"langfuse/worker/src/queues/otelIngestionQueue.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c1caf62e0bb639f1110fea049d759299cb7d0da38e48c052881a4dd361ad79"}},{"ruleId":"D2","level":"warning","message":{"text":"json.deepParseJsonRecursive (cognitive 30): json.deepParseJsonRecursive has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (6 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/json.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a26474893f25739faf13fcd6c1fdace52743a6b0a0eef17ba3c7315b6b470dd"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.normalizeMessage (cognitive 30): openai.normalizeMessage has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, if/else 11 (13 pts), ternaries 2 (4 pts) (nesting depth added 4). Of this number, 29 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c1a44e0bf7e0254933180bf1b926518e67bc1dd4db6c07e0cd49510329a9fe"}},{"ruleId":"D2","level":"warning","message":{"text":"gemini.preprocessData (cognitive 30): gemini.preprocessData has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e23878a7a0bb6fb0ceab2d7b4ab3ead42b8e5aae9b973c85f7317b8953c10a"}},{"ruleId":"D2","level":"warning","message":{"text":"generic.preprocessData (cognitive 30): generic.preprocessData has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 6, ternaries 2 (4 pts), error handling 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/generic.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"065e25317f5b96692a80218618feaeb4d98673b56347f84d6e43ea8dde710f05"}},{"ruleId":"D2","level":"warning","message":{"text":"TracePreview.TracePreview (cognitive 30): TracePreview.TracePreview has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 20, ternaries 8, if/else 2. Of this number, 24 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbb99b7f5aaab18ebc71a54b18bc51d4a9833ed67c088af0fa15eace38f6c83"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceGraphView.TraceGraphView (cognitive 30): TraceGraphView.TraceGraphView has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 6). None of this is in the body itself: all 30 points belong to 7 function literals inside it that branch (lines 137, 91, 53, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/components/TraceGraphView.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfd26b2a60a8ec86459803a64b1417a62e20b5d3503664dc5d43d9d08e60af7"}},{"ruleId":"D2","level":"warning","message":{"text":"sign-in.SignIn (cognitive 30): sign-in.SignIn has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 10, ternaries 8 (10 pts), if/else 7 (8 pts), error handling 2 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, 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":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0243d775a48b799e836db443586ea111165cc58bf052e746afea34d36c91b13c"}},{"ruleId":"D2","level":"warning","message":{"text":"usageAggregation.processUsageAggregationForAllOrgs (cognitive 30): usageAggregation.processUsageAggregationForAllOrgs has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 5 (7 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/usageAggregation.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0555a0b6055b9f9cfc7a60353f891b7f829686a95cb4614503c48949742689"}},{"ruleId":"D2","level":"warning","message":{"text":"index.verifyClickhouseTrace (cognitive 30): index.verifyClickhouseTrace has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 5, ternaries 1 (3 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a393a886a82e6cdba9a3acb6201b7647eff0a5f49ea51c54fc83d112ec0a13e1"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyEngine._check_taint_sinks (cognitive 30): PolicyEngine._check_taint_sinks has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"af308896c9884858ca4ba9458a1d0ee7562549c8e1f6f34545ae8586c3ff6de1"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol_adapter.to_canonical_assistant_message (cognitive 30): protocol_adapter.to_canonical_assistant_message has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 6 (10 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"440e99eb892763d8ce0a65513ea35a06d7e9213f900bb8989ba860be538319a2"}},{"ruleId":"D2","level":"warning","message":{"text":"run_cases.load_manifest (cognitive 30): run_cases.load_manifest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 8, ternaries 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aec9818f8f87b7bf3a0cedd87b3aa48d727e4007fa449c704b7446a612c289d"}},{"ruleId":"D2","level":"warning","message":{"text":"seed-dataset-versions.seedDatasetVersions (cognitive 29): seed-dataset-versions.seedDatasetVersions has cognitive complexity 29 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 6 (13 pts) (nesting depth added 16). Of this number, 25 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d9c00d19f2a32a71a789fcca9d3c2c7913e1da196861f11484e895f09c1cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"useLogViewAllObservationsIO.useLogViewAllObservationsIO.loadAllData (cognitive 29): useLogViewAllObservationsIO.useLogViewAllObservationsIO.loadAllData has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 6, error handling 2 (3 pts), loops 2 (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 11 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":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dff4fd8958e28f62b3d1eedc69e84eea3655d381d47cc3c3b917bd21f5f288"}},{"ruleId":"D2","level":"warning","message":{"text":"useLogViewDownload.useLogViewDownload.handleCopyJson (cognitive 29): useLogViewDownload.useLogViewDownload.handleCopyJson has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 4 (16 pts), if/else 8 (13 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (useLogViewDownload.useLogViewDownload.handleDownloadJson) 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":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0123273935f943d15065f0ecc42a9f4c758f7e7b22b9250e6bd436c06dd41bf"}},{"ruleId":"D2","level":"warning","message":{"text":"useLogViewDownload.useLogViewDownload.handleDownloadJson (cognitive 29): useLogViewDownload.useLogViewDownload.handleDownloadJson has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 4 (16 pts), if/else 8 (13 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (useLogViewDownload.useLogViewDownload.handleCopyJson) 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":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aba7709d8d5ed21916d83aa1fc6d540df17cf1bd0a5284429ce13469f53833"}},{"ruleId":"D2","level":"warning","message":{"text":"PrettyJsonView.JsonPrettyTable (cognitive 29): PrettyJsonView.JsonPrettyTable has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 9, ternaries 7 (nesting depth added 3). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 475, 609, 453, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfc6882ac45b6066379c89450b923b40d01dc3deaa11b26ef2aa47bd926bc4e"}},{"ruleId":"D2","level":"warning","message":{"text":"router.extractFirstJsonObject (cognitive 29): router.extractFirstJsonObject has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3838472578f74d34e49dc4149ffa106728ab07f4fa4df2f9c5fbb010c318de48"}},{"ruleId":"D2","level":"warning","message":{"text":"router.inferErrorTypeKeyFromText (cognitive 29): router.inferErrorTypeKeyFromText has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 17, 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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54eab3f995b22b26b7cc6c82cdb5277df1226455ef3ad70140932e986db30d5"}},{"ruleId":"D2","level":"warning","message":{"text":"chatCompletionHandler.chatCompletionHandler (cognitive 29): chatCompletionHandler.chatCompletionHandler has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 8, loops 1 (3 pts), error handling 1 (nesting depth added 8). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 102, 47, 108). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/server/chatCompletionHandler.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"408c4f1e7067b7560a48c6d935170e787765c4bdf04978d3cf697f7c7757e02c"}},{"ruleId":"D2","level":"warning","message":{"text":"router.extractFirstJsonObject (cognitive 29): router.extractFirstJsonObject has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"208a681e70f4e547cc50dc84866030253194afce001ad4565218f550645931dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiAuthService.verifyAuthHeaderAndReturnScope (cognitive 29): ApiAuthService.verifyAuthHeaderAndReturnScope has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 14). None of this is in the body itself: all 29 points belong to one function literal inside it that branches (line 91). 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":"langfuse/web/src/features/public-api/server/apiAuth.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c731d7c843d430d4c5bb14e7bbe89ddbdcc02df50e3bffa8cacaae1d4d6ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"UpsertScoreConfigDialog.UpsertScoreConfigDialog (cognitive 29): UpsertScoreConfigDialog.UpsertScoreConfigDialog has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 9 (13 pts), if/else 8 (9 pts), boolean chains 7 (nesting depth added 5). Most of this is not in the body itself: 7 of the 29 points are its own statements and the rest belongs to 6 function items inside it that branch (onSubmit, a function literal at line 194, a function literal at line 290, \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":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c8c111872df72a1eb2a11f545941b4dd253127b8104d6cb906b901cfca57b5"}},{"ruleId":"D2","level":"warning","message":{"text":"handleCloudSpendAlertJob.handleCloudSpendAlertJob (cognitive 29): handleCloudSpendAlertJob.handleCloudSpendAlertJob has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 2 (6 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 11). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/cloudSpendAlerts/handleCloudSpendAlertJob.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"908d5ceb42010982eb3d371af69fdb87b060d69bdfed2ba4f207bb3d580542d0"}},{"ruleId":"D2","level":"warning","message":{"text":"autoErrorAnalysisQueue.inferErrorTypeKeyFromText (cognitive 29): autoErrorAnalysisQueue.inferErrorTypeKeyFromText has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 17, 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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59e05b66551978ae8b0b73aaf38799fbc5ae89cb7743ff9e6689bd05e1ae806"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._strip_and_record_reference_tool_ids_from_message (cognitive 29): litellm_callback._strip_and_record_reference_tool_ids_from_message has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 3, ternaries 1 (2 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5462}}}],"partialFingerprints":{"codehealthFindingId/v1":"597bcd9f85772870058fa98c9fb040c088e513ca030f3bcb47cdfff8f9b565b5"}},{"ruleId":"D2","level":"warning","message":{"text":"events.getObservationsFromEventsTableInternal (cognitive 28): events.getObservationsFromEventsTableInternal has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 4 (9 pts), boolean chains 5 (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7088725077bc23780c7d7ea5386ae016b759fd4f5acb8f8b938a029f9074cb10"}},{"ruleId":"D2","level":"warning","message":{"text":"dataset-items.buildPrismaWhereFromFilterState (cognitive 28): dataset-items.buildPrismaWhereFromFilterState has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b677893e71d9e8cec0a6ff1d0fe60f312f083b14cc515cc578b9603b06c169"}},{"ruleId":"D2","level":"warning","message":{"text":"redirectHandler.fetchWithSecureRedirects (cognitive 28): redirectHandler.fetchWithSecureRedirects has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 5 (10 pts), error handling 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/webhooks/redirectHandler.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e0d9a3ff8a7b85ddfd08125c372f2587300dba8495b85e5eb8a40a2238528a"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.preprocessData (cognitive 28): openai.preprocessData has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 10, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd5764f7ed28451e91af1e038115a58be5dc86e8eefe7a935a41310f1fb8605"}},{"ruleId":"D2","level":"warning","message":{"text":"AdvancedJsonViewer.AdvancedJsonViewer (cognitive 28): AdvancedJsonViewer.AdvancedJsonViewer has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 7, ternaries 6 (7 pts) (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 14 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9259e394177e1d0f42b411b33e60f3fcf6314834c0c8634e15444ec15cbb7b02"}},{"ruleId":"D2","level":"warning","message":{"text":"slider.Slider (cognitive 28): slider.Slider has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 6, ternaries 3 (nesting depth added 7). Most of this is not in the body itself: 4 of the 28 points are its own statements and the rest belongs to 4 function items inside it that branch (handleInputBlur, a function literal at line 28, handleKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/slider.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e13a52a310e6973b4cc38586f71ed747360e67718c3aa726a3a9b2fa878594"}},{"ruleId":"D2","level":"warning","message":{"text":"EvaluatorSelectionStep.EvaluatorSelectionStep (cognitive 28): EvaluatorSelectionStep.EvaluatorSelectionStep has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (24 pts), if/else 3, boolean chains 1 (nesting depth added 16). Of this number, 18 points are the body\u0027s own statements and 10 belong to 4 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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/EvaluatorSelectionStep.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6fff435919cae9f464765600511eeaf7ecc74ac3bc4368f79fb4c58e97bff6"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentDrawerButton.CommentDrawerButton (cognitive 28): CommentDrawerButton.CommentDrawerButton has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 5 (9 pts), boolean chains 7 (nesting depth added 7). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 65, 130, 190, \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":"langfuse/web/src/features/comments/CommentDrawerButton.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a70bcf4c7df8f1a6d0f5292c852d2c0c97a80a0668235246ea1095c9b42a5c"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetActionButton.DatasetActionButton (cognitive 28): DatasetActionButton.DatasetActionButton has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 10 (20 pts), boolean chains 8 (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":"langfuse/web/src/features/datasets/components/DatasetActionButton.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8163e03f91b0be4c124e695c5c9b2bf7eee22c637efba39fabe344e58256f688"}},{"ruleId":"D2","level":"warning","message":{"text":"useCsvMapping.useCsvMapping (cognitive 28): useCsvMapping.useCsvMapping has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 10 (20 pts), boolean chains 6, if/else 2 (nesting depth added 10). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 60, 84, 49). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvMapping.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af72d94afc84a0078b5776499b547d04ee5cf30ddc993925df157939df6f4e7"}},{"ruleId":"D2","level":"warning","message":{"text":"template-selector.TemplateSelector (cognitive 28): template-selector.TemplateSelector has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 20, if/else 6, ternaries 2. Of this number, 19 points are the body\u0027s own statements and 9 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-selector.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"648c73eaeb1bc19c8c17ec020ff9516dc4321b8554f8dad9c0c8236d27dba852"}},{"ruleId":"D2","level":"warning","message":{"text":"useExtractVariables.useExtractVariables (cognitive 28): useExtractVariables.useExtractVariables has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), error handling 1 (4 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 7). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 103, 62, 56, \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":"langfuse/web/src/features/evals/hooks/useExtractVariables.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63ccbe0846e8aeaecca9232e7dec97867622521b5ed6d2d45f9c9740decf7ad"}},{"ruleId":"D2","level":"warning","message":{"text":"filter-query-encoding.decodeFiltersGeneric (cognitive 28): filter-query-encoding.decodeFiltersGeneric has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/lib/filter-query-encoding.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d3ae11ccd665f7f6a804085898dfde0955ae29307daa9b0435d6a4f72d6ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"[modelId].ModelDetailPage (cognitive 28): [modelId].ModelDetailPage has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (8 pts), ternaries 4 (7 pts) (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/models/[modelId].tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed07a5f61543fa3ec1599818ea818eb67c1edb9c88a9ac1dfca0a8edaf835806"}},{"ruleId":"D2","level":"warning","message":{"text":"autoErrorAnalysisQueue.extractFirstJsonObject (cognitive 28): autoErrorAnalysisQueue.extractFirstJsonObject has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fa6412fd52ede1941a4528f9b0eb1171dc16b9d7a05c1d1765bff3274faf39"}},{"ruleId":"D2","level":"warning","message":{"text":"AlignmentSentinelPolicy.check (cognitive 28): AlignmentSentinelPolicy.check has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (8 pts), error handling 4 (5 pts), ternaries 5, loops 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b3fa05f942b2008fbef14b4af1b438c55fa08e9d830c1925beae7f10d9dcdb"}},{"ruleId":"D2","level":"warning","message":{"text":"alignment_sentinel_policy._extract_user_objective (cognitive 28): alignment_sentinel_policy._extract_user_objective has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d033703ec459617a596cfaf9f0927d1eef3d02651d2190d3976e21dc83ec476"}},{"ruleId":"D2","level":"warning","message":{"text":"policy_rule_ir._validate_required_metadata (cognitive 28): policy_rule_ir._validate_required_metadata has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 3, 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14441be1b657ba8335876d87899ea80c3b75e211c548b281234ce6a2926ce50"}},{"ruleId":"D2","level":"warning","message":{"text":"run_cases.main (cognitive 28): run_cases.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6, loops 2, ternaries 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc78fbc569df9b57edd029e820ea08e910289fbd96197006c5357118c54d3b2b"}},{"ruleId":"D2","level":"warning","message":{"text":"processEventBatch.processEventBatch (cognitive 27): processEventBatch.processEventBatch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (16 pts), ternaries 3 (6 pts), boolean chains 5 (nesting depth added 4). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 156, 282, 243, \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":"langfuse/packages/shared/src/server/ingestion/processEventBatch.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59a6e7ed155e82fac9572647d4518d953006d7a9e7df5daae1860489f008f70"}},{"ruleId":"D2","level":"warning","message":{"text":"extractToolsBackend.extractToolsFromRawInput (cognitive 27): extractToolsBackend.extractToolsFromRawInput has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (9 pts), boolean chains 3, ternaries 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ff9e1ce4a6a871c07c1e53e5ba79e98ebfe51b128b065598d02a10ba27ef95"}},{"ruleId":"D2","level":"warning","message":{"text":"gemini.extractFromParts (cognitive 27): gemini.extractFromParts has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, ternaries 2 (6 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a659afcf8c56de49a41ce2afd1afc69ac123d92ecd719ecbaeaca35dde5932"}},{"ruleId":"D2","level":"warning","message":{"text":"TimelineBar.TimelineBar (cognitive 27): TimelineBar.TimelineBar has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 13, ternaries 9 (13 pts), if/else 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":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineBar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1420855c30d334bf5e362d341c8e16cb14ec4ffad5aab0cc7aab5d465b85a282"}},{"ruleId":"D2","level":"warning","message":{"text":"TracePage.TracePage (cognitive 27): TracePage.TracePage has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (12 pts), boolean chains 8, if/else 7 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/TracePage.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"152589355612dc220c32feb690f5fe5005a1227da19dd604e60c4b924c83cfad"}},{"ruleId":"D2","level":"warning","message":{"text":"stripeWebhookHandler.handleSubscriptionChanged (cognitive 27): stripeWebhookHandler.handleSubscriptionChanged has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 10, ternaries 3 (nesting depth added 1). Of this number, 25 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2ae48ede5c6a25302630bc036f98f8dba40369c0144fdb4ec0a33cca62a0ca"}},{"ruleId":"D2","level":"warning","message":{"text":"WebhookActionHandler.validateFormData (cognitive 27): WebhookActionHandler.validateFormData has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 13). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 117). 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":"langfuse/web/src/features/automations/components/actions/WebhookActionHandler.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"380e27e6a0dcf63c1935f3b2f9e7dec36ae4db45c86c5f823cd9efaf82292a92"}},{"ruleId":"D2","level":"warning","message":{"text":"multi-select.MultiSelect (cognitive 27): multi-select.MultiSelect has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, ternaries 7 (8 pts), if/else 7 (nesting depth added 1). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 220, a function literal at line 88, handleDebouncedChange, \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":"langfuse/web/src/features/filters/components/multi-select.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"993d27f46027cc9a780aceffecae16750e8b2c2f8b083b76cbedfdcfce90e804"}},{"ruleId":"D2","level":"warning","message":{"text":"useSidebarFilterState.useSidebarFilterState (cognitive 27): useSidebarFilterState.useSidebarFilterState has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 3 (6 pts), boolean chains 4 (nesting depth added 10). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 442, 462, 471). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9893021cb845e1eac4bffba1bde6afbe91a80beff9bc2c5323b5c527084eb93"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyGuideCard.summarizeSection (cognitive 27): PolicyGuideCard.summarizeSection has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (22 pts), boolean chains 3, if/else 1, 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":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f366597c3416c349172660b109acb87a1bda1197192a7f7e7d56e1f4ac1c649a"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryBuilder.validateFilters (cognitive 27): QueryBuilder.validateFilters has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e9bee692cca1dc211d128c1b37b825adb5968e7fb97077cc50d33857e7766e"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.PromptVersionTable (cognitive 27): metrics.PromptVersionTable has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 14 (15 pts), if/else 7, boolean chains 5 (nesting depth added 1). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 262, 196, 216, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72d88122d2235a470c0d1c01f55208ffc96b2780d2cbf49f00be840bf4ddd6f"}},{"ruleId":"D2","level":"warning","message":{"text":"analytics.ScoresAnalyticsV2Page (cognitive 27): analytics.ScoresAnalyticsV2Page has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12, ternaries 4 (10 pts), boolean chains 5 (nesting depth added 6). Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 104, 120, 131, \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":"langfuse/web/src/pages/project/[projectId]/scores/analytics.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"edefe80696f70b1e29e773ab29bc21cc13d1af6c8ee6f18c99f79792cb19ae90"}},{"ruleId":"D2","level":"warning","message":{"text":"users.UsersTable (cognitive 27): users.UsersTable has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 14 (17 pts), if/else 6, boolean chains 3, match/switch 1 (nesting depth added 3). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 396, 415, 435, \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":"langfuse/web/src/pages/project/[projectId]/users.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5ea3de0ea56a3c0ba76bae876c2385b11eae77d61a94359a9308a9d66999a0"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.getAuthOptions (cognitive 27): auth.getAuthOptions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 4, ternaries 3 (4 pts), error handling 1 (nesting depth added 6). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 741, 614, 876). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/auth.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"4519f29a7cf7280f1c63396dc0ebd0f6768bf1ea84e65b7d0faefaa33afc8e89"}},{"ruleId":"D2","level":"warning","message":{"text":"langfuse_replay._emit_response_nodes_from_pair (cognitive 27): langfuse_replay._emit_response_nodes_from_pair has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 6, if/else 5, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dbca29b7ff6a0436b2239a613c92d70cbbf608a4d91d1f9f58d06a3e76e753"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._extract_tool_call_details_by_call_id (cognitive 27): litellm_callback._extract_tool_call_details_by_call_id has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 4 (10 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3360}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a180d6439f91524c05a8cc2293ffd683b358d7323a49fa7e85ca9dc8f5b8fe5"}},{"ruleId":"D2","level":"warning","message":{"text":"AllowDenyPolicy.check (cognitive 27): AllowDenyPolicy.check has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 3 (7 pts), boolean chains 4, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6aa53cdec18c547f467160488438f3da856f4cda12189db755a3085433fd1c"}},{"ruleId":"D2","level":"warning","message":{"text":"rate_limit_policy._policy_enabled (cognitive 27): rate_limit_policy._policy_enabled has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (7 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/rate_limit_policy.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"94edddc581a5b64463056dfc83eb0297da9a683dc361b91001f9724951a97531"}},{"ruleId":"D2","level":"warning","message":{"text":"unary_gate_policy._load_rule_bundle (cognitive 27): unary_gate_policy._load_rule_bundle has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (6 pts), boolean chains 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"239efefa49dba47f98f8ff45453e68a674dabcd3aee285e6e655fc6f9a1ebc44"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol_adapter.extract_text_from_responses_input (cognitive 27): protocol_adapter.extract_text_from_responses_input has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"483d0c6e46ab8058a47a9cd4c57c57503ccab89d6e06af44b64e596b577556b8"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol_adapter.inject_system_hint_into_request (cognitive 27): protocol_adapter.inject_system_hint_into_request has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4b376ac935ee4e5b998805c1f2c008cc38e6af3fd6969490aac4e4b028cda1"}},{"ruleId":"D2","level":"warning","message":{"text":"warm_skill_trust.main (cognitive 27): warm_skill_trust.main has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 2 (6 pts), loops 2 (4 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/warm_skill_trust.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8224543b6b61c8929d96673af093fcdb156dc9adbb1958f44ce2265d65e78c"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelIngestionProcessor.processToEvent (cognitive 26): OtelIngestionProcessor.processToEvent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 3 (9 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 13). None of this is in the body itself: all 26 points belong to 2 function literals inside it that branch (lines 211, 193). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"15da14b7bde4aecc9ad22a8c01c7beca1c8462fcf29c89bea9dbe6e9d6eeee74"}},{"ruleId":"D2","level":"warning","message":{"text":"microsoft-agent.extractFromParts (cognitive 26): microsoft-agent.extractFromParts has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 6, ternaries 1 (3 pts), loops 1 (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eb9d43ddfec9088d3616d377a7456c0816c388967b0811c73bc4bebb924cc1"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingService.changePlan (cognitive 26): BillingService.changePlan has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13, ternaries 7 (11 pts), boolean chains 2 (nesting depth added 4). None of this is in the body itself: all 26 points belong to 3 function literals inside it that branch (lines 782, 1076, 1036). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"76820b9fa9a82214ebc3bb2bc2eb909b41b806c0048191b1ed2f89a5da3a7175"}},{"ruleId":"D2","level":"warning","message":{"text":"useCsvImport.useCsvImport.execute (cognitive 26): useCsvImport.useCsvImport.execute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 5 (6 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"langfuse/web/src/features/datasets/hooks/useCsvImport.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1447ef88e17be2dd03dce219f4fca34eebbab372e869bdb65fae89948caacfab"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyGuideCard.PolicyGuideCard (cognitive 26): PolicyGuideCard.PolicyGuideCard has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 16 (22 pts), boolean chains 4 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 11 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf29b3096a4c8b9a8ce78a43104f56f760913aff8f914c2413091f799c6c71a"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-content-utils.renderRichPromptContent (cognitive 26): prompt-content-utils.renderRichPromptContent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-content-utils.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34989421d52d38e4bd26aab4f9919ef76b081474289a814d7a92a715ecb7167"}},{"ruleId":"D2","level":"warning","message":{"text":"Heatmap.Heatmap (cognitive 26): Heatmap.Heatmap has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 17, if/else 7, ternaries 2. Of this number, 14 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfc48a984c3477310532392b86386b34a5a081b1eb13ef0acc76808bb30b5b9"}},{"ruleId":"D2","level":"warning","message":{"text":"multi-select-key-values.MultiSelectKeyValues (cognitive 26): multi-select-key-values.MultiSelectKeyValues has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 16, if/else 6, ternaries 4. Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 9 function items inside it that branch (formatFilterValues, a function literal at line 122, renderOption, \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":"langfuse/web/src/features/scores/components/multi-select-key-values.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9969691985e2a56ea0ca60cfd66a2aae241864692c4d04734877b12fa8ac29"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._append_bootstrap_scan_notice_if_needed (cognitive 26): litellm_callback._append_bootstrap_scan_notice_if_needed has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 5, loops 2 (3 pts), error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95accb2f39647f1803a3aee581ea75f3c77f56c160d7c4dd053643e5ea339e2"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._load_trace_state_snapshot_from_disk (cognitive 26): litellm_callback._load_trace_state_snapshot_from_disk has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), boolean chains 3, error handling 3, ternaries 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e55225db9ddd3499285f98d5fdb2d7219ff1362905e61d2f2457265a43fa47"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._get_instruction_builder_for_trace (cognitive 26): litellm_callback._get_instruction_builder_for_trace has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (3 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4728}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2aa678a07ca598aa10406c732c8d64ae3b570b2b71a5d42f083cf5a5109625"}},{"ruleId":"D2","level":"warning","message":{"text":"openclaw_policy._get_ping_pong (cognitive 26): openclaw_policy._get_ping_pong has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3, boolean chains 2, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d289bbcfa1f930e58bbe7bad58d42e62ccdb1923c235d60b872ea29528071086"}},{"ruleId":"D2","level":"warning","message":{"text":"taint_policy._get_taint_policy_config (cognitive 26): taint_policy._get_taint_policy_config has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (8 pts), boolean chains 4, 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"893ffa496a86633df57d3b6ccbf6f0f9b69dae7fa682a73b5cfe173eb0f59122"}},{"ruleId":"D2","level":"warning","message":{"text":"policy_check.check_response_policy (cognitive 26): policy_check.check_response_policy has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7d89e919f00f6ced7502cdebd040e429545a97e88f565c81357d6a0a0f8c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"key-value-filter-builder.KeyValueFilterBuilder (cognitive 25): key-value-filter-builder.KeyValueFilterBuilder has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 9, boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 8 function items inside it that branch (a function literal at line 185, handleFilterChange, handleAddFilter, \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":"langfuse/web/src/components/table/key-value-filter-builder.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"085a9b23d0f1150d1bc1348e600a9deb5fcd4dd7bc6225a8f581ee144e31411b"}},{"ruleId":"D2","level":"warning","message":{"text":"treeExpansion.applyExpansionState (cognitive 25): treeExpansion.applyExpansionState has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (20 pts), loops 3 (5 pts) (nesting depth added 5). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 322, 281, 293). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfadda57bcbd629289d3ee7145b50f8d3384eab23ceea407f354901d972856b"}},{"ruleId":"D2","level":"warning","message":{"text":"combobox.Combobox (cognitive 25): combobox.Combobox has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 4 (8 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 96, 139, 175, \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":"langfuse/web/src/components/ui/combobox.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ac2d3a6e4a41e8a987b807ca7f5f5d5dfe0878734decb4aa1f05b949962f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingService.applyPromotionCode (cognitive 25): BillingService.applyPromotionCode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 9, ternaries 2 (4 pts), error handling 1 (nesting depth added 3). None of this is in the body itself: all 25 points belong to 3 function literals inside it that branch (lines 1912, 1972, 1955). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0dfb80231e86c66f4b422ed427ffbc6d5b3c6bd90644a89eda40164c3c07f2"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-templates-table.EvalsTemplateTable (cognitive 25): eval-templates-table.EvalsTemplateTable has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 8 (9 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 217, 435, 467, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a356c226e24e053fc4ecb4db951a4821ba7d64e248228ac6a27b7b93e80ea1"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingSurvey.OnboardingSurvey (cognitive 25): OnboardingSurvey.OnboardingSurvey has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, ternaries 5 (6 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 39, isEmpty, handleSkipButton, \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":"langfuse/web/src/features/onboarding/components/OnboardingSurvey.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a93e35d0f1af3a0a8e9db3b804973601456ce699d998e7dc985e892a1b201f"}},{"ruleId":"D2","level":"warning","message":{"text":"SupportFormSection.SupportFormSection (cognitive 25): SupportFormSection.SupportFormSection has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, ternaries 7 (9 pts), if/else 5 (6 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (onSubmit, a function literal at line 469, a function literal at line 206, \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":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9846d289ac49a5f687faff7acf834842b692623cb561c66ac4b86d578e76e6d"}},{"ruleId":"D2","level":"warning","message":{"text":"fill-time-series-gaps.aggregateCategoricalIntoMultiUnitBuckets (cognitive 25): fill-time-series-gaps.aggregateCategoricalIntoMultiUnitBuckets has cognitive complexity 25 (threshold 15). Drivers by points: loops 9 (15 pts), if/else 3 (6 pts), boolean chains 2, match/switch 2 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, 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":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecf9ae9fec6cb518c055c11ee07c20085cd73c87414dc38840864378ea1f3f8"}},{"ruleId":"D2","level":"warning","message":{"text":"getDatabaseReadStream.getDatabaseReadStreamPaginated (cognitive 25): getDatabaseReadStream.getDatabaseReadStreamPaginated has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (23 pts), boolean chains 1, match/switch 1 (nesting depth added 12). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 536, 277, 352, \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":"langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfd645179528cf68f027885a06477808f25b7312f2b01c2df37277c3342c815"}},{"ruleId":"D2","level":"warning","message":{"text":"webhooks.executeHttpAction (cognitive 25): webhooks.executeHttpAction has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, ternaries 2 (4 pts), error handling 2 (nesting depth added 8). Most of this is not in the body itself: 8 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 135, 245). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e85cfb7fbc774f9d4c81be0165012da027f38dad4b2c5b5bf6ddecd5766536d"}},{"ruleId":"D2","level":"warning","message":{"text":"skill_trust._load_cache_from_disk (cognitive 25): skill_trust._load_cache_from_disk has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 2 (4 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/helpers/skill_trust.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6a990e3137615aec1458528a83eb83b7eb9a540520f479d018b44b8ec7d56f"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._resolve_upstream_compat_flags (cognitive 25): litellm_callback._resolve_upstream_compat_flags has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (6 pts), boolean chains 1, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6dfa117dbd38b0b206759404a651b9b0c831612712f6748a4843bc7ede58ae"}},{"ruleId":"D2","level":"warning","message":{"text":"openclaw_policy._build_history (cognitive 25): openclaw_policy._build_history has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, ternaries 1 (3 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"62612d2dbf06441149971fb0560b89631f4db01fa211d4ac18784acccd4da923"}},{"ruleId":"D2","level":"warning","message":{"text":"policy_rule_ir._validate_required_metadata_rule_refs (cognitive 25): policy_rule_ir._validate_required_metadata_rule_refs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (5 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75132817a2c709d8be46d99c53f9be05ef1fbbe26d65e051cb4505a5f5ed2da"}},{"ruleId":"D2","level":"warning","message":{"text":"policy_rule_ir._validate_selector_like (cognitive 25): policy_rule_ir._validate_selector_like has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7691a44ba6568990bd2b5dfcf0828235eef51f3647e11b6ab28c5bd969a062"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyEngine._check_static_allowdeny (cognitive 25): PolicyEngine._check_static_allowdeny has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 14, if/else 7 (9 pts), ternaries 2 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"6293f1eeb3d80bedc142519c166bdd31d98071772a238ee87d55069aece21cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyEngine._check_path_and_budget (cognitive 25): PolicyEngine._check_path_and_budget has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 8, loops 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89ef6b07264f6b4715246e718ed69f19072b6244e28d82acb3dcc15c1cc34a1"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelPolicyRuntime.check_allow_deny (cognitive 25): KernelPolicyRuntime.check_allow_deny has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 14, if/else 7 (9 pts), ternaries 2 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"8667c9ab62560bfc44cdce99ad4b3371c3c14dbb32509d5b280ebc66d8ce82d3"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelPolicyRuntime.check_tool_call_budget (cognitive 25): KernelPolicyRuntime.check_tool_call_budget has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, error handling 1 (3 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"60384706e8852500a0900a9b5f586c4601839ba207722e197f2197a3e942272b"}},{"ruleId":"D2","level":"warning","message":{"text":"run_cases.extract_raw_log_focus (cognitive 25): run_cases.extract_raw_log_focus has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 6 (7 pts), boolean chains 4, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"049322b742981063682f7aefbf9b1e49390855fba078c8598065c99d5cfb8f51"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONTableView.JSONTableView (cognitive 24): JSONTableView.JSONTableView has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7, ternaries 5, loops 1 (nesting depth added 1). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 119, 144, 64, \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":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e991a0b8e2463701b9da1dae6893424ecc7f4d635e1a17f7948a7ef6ec9134"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingInvoiceTable.BillingInvoiceTable (cognitive 24): BillingInvoiceTable.BillingInvoiceTable has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, ternaries 5 (6 pts), boolean chains 5 (nesting depth added 1). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 7 function items inside it that branch (onPaginationChange, a function literal at line 133, a function literal at line 77, \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":"langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d232e2023b371fe8c534df6015b133564bf630a9018f538a80ea58d4a4e66f0"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateOrEditAnnotationQueueButton.CreateOrEditAnnotationQueueButton (cognitive 24): CreateOrEditAnnotationQueueButton.CreateOrEditAnnotationQueueButton has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 7, ternaries 3, error handling 1. Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 7 function items inside it that branch (onSubmit, a function literal at line 85, a function literal at line 131, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f95360516d8f10642d9f25e0cd69cad0be3a78a8c5661db060c440706e36f2"}},{"ruleId":"D2","level":"warning","message":{"text":"PivotTable.PivotTable (cognitive 24): PivotTable.PivotTable has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8, error handling 2, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 260, 346, 246, \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":"langfuse/web/src/features/widgets/chart-library/PivotTable.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"490c7e29b6f1977359241c3390719ee2c3ecc9687e38bebaa4a6641fa233376d"}},{"ruleId":"D2","level":"warning","message":{"text":"sign-in.getServerSideProps (cognitive 24): sign-in.getServerSideProps has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 14, ternaries 6 (10 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf33abdc05c84ccfbaa9b111860c63054cfc3e329b5fbc62ce9d68bf3b6b75ae"}},{"ruleId":"D2","level":"warning","message":{"text":"playgroundConverter.convertChatMlToPlayground (cognitive 24): playgroundConverter.convertChatMlToPlayground has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, error handling 2 (6 pts), if/else 5 (6 pts), ternaries 1 (2 pts) (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/playgroundConverter.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"63208b8aa0f106f9b84079479e3fdab93fb589053826c91a8172ce01297b0f3e"}},{"ruleId":"D2","level":"warning","message":{"text":"handleBatchExportJob.handleBatchExportJob (cognitive 24): handleBatchExportJob.handleBatchExportJob has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (17 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 4). Of this number, 22 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, 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":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"292df0f11f5763bdd7431eb7e32329cdd2d4f5a8b013b60d2a811fdd70debe51"}},{"ruleId":"D2","level":"warning","message":{"text":"IngestionService.mapObservationEventsToRecords (cognitive 24): IngestionService.mapObservationEventsToRecords has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 9 (10 pts), boolean chains 4 (nesting depth added 4). None of this is in the body itself: all 24 points belong to one function literal inside it that branches (line 1803). 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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e31a8475a547c64476325f57d3f3a5305e6f6b51d4a4a8ce499a693f732dae"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._ensure_trace_state (cognitive 24): litellm_callback._ensure_trace_state has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"50db593444924257774586b1ce1925bd94162b14c7142ae16a5b6fc755009770"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._normalize_topic_summary (cognitive 24): litellm_callback._normalize_topic_summary has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5dd73ea29611774a43885b436e58c7f5638c3ea20fb42171b3f535e3cb404b"}},{"ruleId":"D2","level":"warning","message":{"text":"delete_policy._get_delete_policy_config (cognitive 24): delete_policy._get_delete_policy_config has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96429c4a429b84f54b6e6d016d759696bf28fcfc338658967901960a55ee1eb"}},{"ruleId":"D2","level":"warning","message":{"text":"direct_metadata._path_values (cognitive 24): direct_metadata._path_values has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/direct_metadata.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d404a43f5c13340016acaf9c8970afa0a9d57fffe5ad06277bbc4154ef3c4dde"}},{"ruleId":"D2","level":"warning","message":{"text":"exec_composite_policy._humanize_review_reason (cognitive 24): exec_composite_policy._humanize_review_reason has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, ternaries 5 (10 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/exec_composite_policy.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d203fa116133e0615c6c42b6427b4dc5a21fa4e0e81f3237717ef3aafaf2c3"}},{"ruleId":"D2","level":"warning","message":{"text":"user_approval.apply_user_approval_preprocessing (cognitive 24): user_approval.apply_user_approval_preprocessing has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (4 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/user_approval.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bba58a2bb18f577669aa646d202cb9336a6a1406d9b5410c16feeb05b174ca"}},{"ruleId":"D2","level":"warning","message":{"text":"dataset-items.createManyDatasetItems (cognitive 23): dataset-items.createManyDatasetItems has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e968d3c2116648630b62f24fe26530f490c4293f76ae5467bd93b6be1310987e"}},{"ruleId":"D2","level":"warning","message":{"text":"langgraph.normalizeMessage (cognitive 23): langgraph.normalizeMessage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 1 belongs 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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"156c8a27f8662354ff8327fd47e9c6727c689aecead61dfda890bbadf1bbc613"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionLabel.VersionLabel (cognitive 23): VersionLabel.VersionLabel has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 10 (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":"langfuse/web/src/components/VersionLabel.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a842a37e6d1292a38742d793f4a162cb8c87fc7175ea432ee0bc5630a552c35"}},{"ruleId":"D2","level":"warning","message":{"text":"data-table-ai-filters.DataTableAIFilters (cognitive 23): data-table-ai-filters.DataTableAIFilters has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 6). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (handleAiFilterSubmit, a function literal at line 127, a function literal at line 120). 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":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eaf2f4510ef5f80db9a61fa8da92bc25a6e005d8b7e6399b7993f187afe109"}},{"ruleId":"D2","level":"warning","message":{"text":"data-table-toolbar.DataTableToolbar (cognitive 23): data-table-toolbar.DataTableToolbar has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 17, ternaries 3 (6 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-toolbar.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb365a415ed2ee6660659199c66b05ac36a8ce128714344d7617ae0c7189697"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.buildTraceUiData (cognitive 23): helpers.buildTraceUiData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 7 (10 pts), boolean chains 3 (nesting depth added 6). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (calculateTreeNodeTotalCost, a function literal at line 431, a function literal at line 448, \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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9727f7ae3c15db647514088a33280eb38169f08cce3d3e1743e29eb0ada7ed4"}},{"ruleId":"D2","level":"warning","message":{"text":"time-picker-input.TimePickerInput (cognitive 23): time-picker-input.TimePickerInput has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 5). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (handleKeyDown, calculateNewValue, a function literal at line 53). 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":"langfuse/web/src/components/ui/time-picker-input.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"446bc8982bcc85915ffe42c24a99f7e9b4fcb1554aa8fd1402e874f3276e69ac"}},{"ruleId":"D2","level":"warning","message":{"text":"githubDispatchHelpers.processGitHubDispatchActionConfig (cognitive 23): githubDispatchHelpers.processGitHubDispatchActionConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 4, ternaries 3 (4 pts), error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"langfuse/web/src/features/automations/server/githubDispatchHelpers.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1efcfdc4a9c2c1c3303202d35d686fd9ec6196ce3c40adc5e662e6e5d9c48"}},{"ruleId":"D2","level":"warning","message":{"text":"usePreviewData.usePreviewData (cognitive 23): usePreviewData.usePreviewData has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 9 (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":"langfuse/web/src/features/evals/hooks/usePreviewData.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e085b81d62fe1775e4c9ab06edc1bf131ec1066f30e8f53a370c0e80ffe6ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"prompts-table.PromptTable (cognitive 23): prompts-table.PromptTable has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 9, boolean chains 3, loops 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 147, 309, 254, \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":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf086a75d2b422bf8fd9072cd1e8f25b358c537364cd380c525afc1367219494"}},{"ruleId":"D2","level":"warning","message":{"text":"handleBlobStorageIntegrationProjectJob.handleBlobStorageIntegrationProjectJob (cognitive 23): handleBlobStorageIntegrationProjectJob.handleBlobStorageIntegrationProjectJob has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd3ceb4d5528143fc466a96e361d5813a1c661852398308a8c083fb4b86c3b3"}},{"ruleId":"D2","level":"warning","message":{"text":"bash._ts_collect_from_exec_unit (cognitive 23): bash._ts_collect_from_exec_unit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a140e78818bcfd1fe94347ebc24259a3820d8f9aa8f7304aa327926eb300415"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._wrap_messages_with_categories (cognitive 23): litellm_callback._wrap_messages_with_categories has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5792}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b1f7de6913d66cf33970a4111e91a39a676f10c3806591b930aa007dd9aef1"}},{"ruleId":"D2","level":"warning","message":{"text":"RateLimitPolicy.check (cognitive 23): RateLimitPolicy.check has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 4 (9 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/rate_limit_policy.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe96a6e6ed25836fa531ae4cfc41672dc5f50d75907c570483ddf0ea0210bcc9"}},{"ruleId":"D2","level":"warning","message":{"text":"run_cases.analysis_summary (cognitive 23): run_cases.analysis_summary has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 5 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c62e321ea5bf1e4169f739917862c0bf9cface8a8442d38e523b077a723306"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptService.buildAndResolvePromptGraph::resolve (cognitive 22): PromptService.buildAndResolvePromptGraph::resolve has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/PromptService/index.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4179ff34d0de70690aac314fedad559131ed72b48afe5118d0dd63d8e8182a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ValueCell.renderArrayValue (cognitive 22): ValueCell.renderArrayValue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 2 (nesting depth added 9). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 70, 93). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/ValueCell.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31accba566bd587002772baab557edfe1865d7d66949e3b71c2450f691a600e"}},{"ruleId":"D2","level":"warning","message":{"text":"multi-select-combobox.MultiSelectCombobox (cognitive 22): multi-select-combobox.MultiSelectCombobox has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/multi-select-combobox.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe78ccb75765608e95aec73266044588e078cf32271056bfd7e918157ef2ab0"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingSwitchPlanDialog.BillingSwitchPlanDialog (cognitive 22): BillingSwitchPlanDialog.BillingSwitchPlanDialog has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (6 pts), ternaries 3 (4 pts) (nesting depth added 4). None of this is in the body itself: all 22 points belong to 3 function literals inside it that branch (lines 90, 260, 65). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c59f45bf1cf060d4f4376e449e7a56dc64b746ade01b047199b44e72480707c"}},{"ruleId":"D2","level":"warning","message":{"text":"automationForm.AutomationForm::getDefaultValues (cognitive 22): automationForm.AutomationForm::getDefaultValues has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, ternaries 5, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c12c731a4bdfb47d55bf6417708262c6f08b2d28c6869cc8c8dce180676841"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelSelector.ChannelSelector (cognitive 22): ChannelSelector.ChannelSelector has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 5 (7 pts) (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea0c538ac837a079a206bf994ac3cbc0c8d84dd220db3df9511245217c9f3c7"}},{"ruleId":"D2","level":"warning","message":{"text":"buildGraphCanvasData.getFirstBooleanValue (cognitive 22): buildGraphCanvasData.getFirstBooleanValue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, 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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2def9936e125664a56bc9b256e6af5615e664896205e43ed19b6f38a36db83"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._enforce_topic_point_count_on_shift (cognitive 22): litellm_callback._enforce_topic_point_count_on_shift has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c8e98ae2e7d6b4eeedb09f46cf2e986a9d6b3b9e8e8efa337219a4aec8c790"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._infer_codex_tool_name_from_arguments (cognitive 22): litellm_callback._infer_codex_tool_name_from_arguments has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, boolean chains 9. 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a253c0b4bf6a79d1af5001c6b9454345aedff0d3b1e0bd830469e7f040eb70ad"}},{"ruleId":"D2","level":"warning","message":{"text":"PathBudgetPolicy.check (cognitive 22): PathBudgetPolicy.check has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/path_budget_policy.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e77fb056d93b9304a39d87897a522225626bfd1d1409168f300b40651a0e274"}},{"ruleId":"D2","level":"warning","message":{"text":"policy_rule_ir._validate_rule (cognitive 22): policy_rule_ir._validate_rule has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"094bac448a325d7007be35d7624189d5cd769c5b929008023adf27323df75514"}},{"ruleId":"D2","level":"warning","message":{"text":"relational_policy._evaluate_flow (cognitive 22): relational_policy._evaluate_flow has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dceae2eacaa6b7157d485ad482f27174dabbf87f423f2e1adff71e9c9a16915"}},{"ruleId":"D2","level":"warning","message":{"text":"build_from_trajectories.parse_trajectory_into_steps (cognitive 22): build_from_trajectories.parse_trajectory_into_steps has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, ternaries 2 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/build_from_trajectories.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f558a13ba676b3ba3ef37cfd5a98aa525bcad62b9a3c87d55e528755a10ee256"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.createFilterFromFilterState (cognitive 21): factory.createFilterFromFilterState has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (17 pts), if/else 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 13). None of this is in the body itself: all 21 points belong 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":"langfuse/packages/shared/src/server/queries/clickhouse-sql/factory.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"240a5b8f1363b9e455d0482541ddeb33a60e86ec1d2a2d3620e48c22666df5ea"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelIngestionProcessor.convertKeyPathToNestedObject (cognitive 21): OtelIngestionProcessor.convertKeyPathToNestedObject has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (5 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03cdf5febf068a9b707b59ca4723a1144531d34d7533e778bd5550913c0f5b5"}},{"ruleId":"D2","level":"warning","message":{"text":"gemini.extractToolDeclarations (cognitive 21): gemini.extractToolDeclarations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dde7a41cc63f2fd1159bf0352b144148a119691f42360d4e7b4003f55a1e9b1"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ModelParameters (cognitive 21): index.ModelParameters has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 6 (7 pts), boolean chains 4 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c955f2144b56f687ba772deadb66185e43e4490d8e0ee391c67ddfb4f710d323"}},{"ruleId":"D2","level":"warning","message":{"text":"data-table-column-visibility-filter.DataTableColumnVisibilityFilter (cognitive 21): data-table-column-visibility-filter.DataTableColumnVisibilityFilter has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (handleDragEnd, a function literal at line 499, a function literal at line 361, \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":"langfuse/web/src/components/table/data-table-column-visibility-filter.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"302375540099964fa020cf64f05ec83af72f50b24b7ea3d350bad93c7332c17d"}},{"ruleId":"D2","level":"warning","message":{"text":"useTableViewManager.useTableViewManager (cognitive 21): useTableViewManager.useTableViewManager has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 7 (nesting depth added 2). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 131, 315, 281, \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":"langfuse/web/src/components/table/table-view-presets/hooks/useTableViewManager.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3775273e2dfcf440fb8eebae073819b6a568ac18b27a6fc19df68d926ba2e74"}},{"ruleId":"D2","level":"warning","message":{"text":"selectionToPath.selectionToPath (cognitive 21): selectionToPath.selectionToPath has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, ternaries 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/lib/selectionToPath.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7190accbfb8074b278e5a98c1b3337691af90811a15d1577b20ebcac3a0bfc7f"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetItemsTable.DatasetItemsTable (cognitive 21): DatasetItemsTable.DatasetItemsTable has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 4, if/else 4 (nesting depth added 1). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 268, a function literal at line 173, a function literal at line 293, \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":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"046e4c1002b47270f515880deac8cf378d761420a702ea790323b8c88f421374"}},{"ruleId":"D2","level":"warning","message":{"text":"ExperienceSummaryView.ExperienceSummaryView (cognitive 21): ExperienceSummaryView.ExperienceSummaryView has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 14 (16 pts), boolean chains 2, if/else 2, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 167, 79, 56, \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":"langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"69efb4be8d24566f1eb30f863e7ef2c06387b8645902996202c7ad679eebf3ca"}},{"ruleId":"D2","level":"warning","message":{"text":"GovernanceOverviewPanel.GovernanceOverviewPanel (cognitive 21): GovernanceOverviewPanel.GovernanceOverviewPanel has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 4 (8 pts), boolean chains 2, loops 2 (nesting depth added 5). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 113). 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":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5557b3c392f99cec00d96bd2be130fbba180aee79f7e98995c492a5162e68825"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoreAnalyticsNoticeBanner.ScoreAnalyticsNoticeBanner (cognitive 21): ScoreAnalyticsNoticeBanner.ScoreAnalyticsNoticeBanner has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts), ternaries 2 (4 pts) (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/ScoreAnalyticsNoticeBanner.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"418851c9cb6b67b7982e5768129687e6fa72d33fbcf480b1824e5f61f5234877"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillExperimentsHistoric.run (cognitive 21): BackfillExperimentsHistoric.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (8 pts), boolean chains 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"374bddf82192575afcbcc22055d9c54c94c311a8a84370f63e554a2cfb739a95"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._evaluate_tool_result_postexec_once (cognitive 21): litellm_callback._evaluate_tool_result_postexec_once has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6, ternaries 4 (6 pts), error handling 4 (5 pts), boolean chains 4 (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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"0913bedcb6739b22d41691e7391d3e36100c0fae1758be5d2178466902759587"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._lookup_tool_instruction_metadata_for_trace (cognitive 21): litellm_callback._lookup_tool_instruction_metadata_for_trace has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (7 pts), ternaries 4 (6 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4787}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52078e7eb743f3f23081ea05f77a3bbab4b8b8f6af9a44b56a3a4557d3780ef"}},{"ruleId":"D2","level":"warning","message":{"text":"unary_gate_policy._extract_instruction_tags (cognitive 21): unary_gate_policy._extract_instruction_tags has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"47012bc245a6bd64eb1c41510f37a95f4a8b105c2b977d5143c753662720f681"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyEngine._check_security_policy (cognitive 21): PolicyEngine._check_security_policy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eec2c88e04b83cffd16b25f833a57e70f4b9f91c0132621b63eb3f17f13044"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelPolicyRuntime.check_security (cognitive 21): KernelPolicyRuntime.check_security has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"746d3ab1f0d40de009f3b98aef912a29dfcedf4b379cc060734c344b4afc432f"}},{"ruleId":"D2","level":"warning","message":{"text":"observations.getObservationsTableInternal (cognitive 20): observations.getObservationsTableInternal has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, boolean chains 9. Of this number, 16 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"725435f9e0116dcc909dba928577d7b2945f16a20c546f89ebdf037ac3fefcc1"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelIngestionProcessor.extractExperimentFields (cognitive 20): OtelIngestionProcessor.extractExperimentFields has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 12, error handling 2 (4 pts), boolean chains 2, if/else 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a580c01744fcaa3d2f2f15f94e5be50e402afc8b7698fa99c1d827387f2434"}},{"ruleId":"D2","level":"warning","message":{"text":"observations.parsePolicyNamesFromMetadata (cognitive 20): observations.parsePolicyNamesFromMetadata has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4885a0baab8bc431a9da0249536c2c0d4a3241a9307773995dbcc1aad12267"}},{"ruleId":"D2","level":"warning","message":{"text":"useCorrectionEditor.useCorrectionEditor.handleEdit (cognitive 20): useCorrectionEditor.useCorrectionEditor.handleEdit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (5 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionEditor.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b40fd3ffb0c602c69cfa44790d97eecc874190d91c15bff2233d32e78464c1f"}},{"ruleId":"D2","level":"warning","message":{"text":"treeNavigation.getNodeByIndex (cognitive 20): treeNavigation.getNodeByIndex has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2fdfbe3a05fe69b9e3dd696cfb727bb3a466e29bdcb2558ff25a003a548c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"webhookHelpers.processWebhookHeaders (cognitive 20): webhookHelpers.processWebhookHeaders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/webhookHelpers.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd65659d660202b11a32b3a37fed598f8cd79a34485892ad3d659cc0724d4e19"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonPathInput.JsonPathInput (cognitive 20): JsonPathInput.JsonPathInput has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, error handling 2 (4 pts), if/else 4, ternaries 2 (4 pts) (nesting depth added 4). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 101, 85). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/JsonPathInput.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf741ba6daff7a62c2f203feb5d0040167b4ef1b64dc98756139dc7093fab70"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusStep.StatusStep (cognitive 20): StatusStep.StatusStep has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 18, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/StatusStep.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fbcd8e897c3e89fb4a66c2a0450573e2483446bd3bdffe7aabe03e7e0e8131"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetAggregateTableCell.DatasetAggregateCellContent (cognitive 20): DatasetAggregateTableCell.DatasetAggregateCellContent has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, ternaries 6 (7 pts), if/else 2 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efdfc00e06100e748c3063f3e7d17ea4529306b34a9ad51241d3a6f8c06273c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditDatasetItem.EditDatasetItem (cognitive 20): EditDatasetItem.EditDatasetItem has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 8, if/else 3 (nesting depth added 3). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 94, a function literal at line 199, a function literal at line 238, \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":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6d51efad71c1da2609607959b86742bdbf733ac14f891e363848cde107b118"}},{"ruleId":"D2","level":"warning","message":{"text":"inner-evaluator-form.InnerEvaluatorForm::onSubmit (cognitive 20): inner-evaluator-form.InnerEvaluatorForm::onSubmit has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 5, 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: one other method here (inner-evaluator-form.InnerEvaluatorForm) 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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"419a4eb52dcd8699e5935c9504cc1dcbcb6d01fa4c99e01a8cdac8b7a1643cb8"}},{"ruleId":"D2","level":"warning","message":{"text":"EventsTable.parsePolicyNamesFromMetadata (cognitive 20): EventsTable.parsePolicyNamesFromMetadata has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ecc919188bd266114ca859397f915eafe5513b2dea31f6d36b2b032f39268f"}},{"ruleId":"D2","level":"warning","message":{"text":"JumpToPlaygroundButton.JumpToPlaygroundButton (cognitive 20): JumpToPlaygroundButton.JumpToPlaygroundButton has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 6, boolean chains 1, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (handlePlaygroundAction, a function literal at line 85, a function literal at line 126, \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":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ff147c33c65b4ee565df5acdbe37d0c76ef1efe096e603c85c93c823d39557"}},{"ruleId":"D2","level":"warning","message":{"text":"withMiddlewares.withMiddlewares.\u003Creturned closure\u003E (cognitive 20): withMiddlewares.withMiddlewares.\u003Creturned closure\u003E has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 8). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 45). 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":"langfuse/web/src/features/public-api/server/withMiddlewares.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fa842591c6dd827f50e1e1f35d465d2f4192d3de3939752d22e692f0f41e28"}},{"ruleId":"D2","level":"warning","message":{"text":"color-scales.buildColorMappings (cognitive 20): color-scales.buildColorMappings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"599b459cc96ee647f31aa23165abaf915b0219149886677e93af9eddbd845c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"ingestion.handler (cognitive 20): ingestion.handler has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), error handling 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 5 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":"langfuse/web/src/pages/api/public/ingestion.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ca7bbc5ccdf465e0e16824ac336b7798be7a4ada76d9be05b1dfb7e0802c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"prompts.handler (cognitive 20): prompts.handler has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/prompts.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ca12bf9bf9ff8fc4bed6d14351ee2829a0c21a2e4411b2604e00b7e5092dde"}},{"ruleId":"D2","level":"warning","message":{"text":"IngestionService.processObservationEventList (cognitive 20): IngestionService.processObservationEventList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, ternaries 3, error handling 1 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"7482322c699b8e6d4cc7ffcf67053bf71f91376f1bf1ae9722593607c465f49b"}},{"ruleId":"D2","level":"warning","message":{"text":"handleExperimentBackfill.processExperimentBackfill (cognitive 20): handleExperimentBackfill.processExperimentBackfill has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (10 pts), if/else 4 (9 pts), boolean chains 1 (nesting depth added 10). 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":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"883d77457ecdf312c8c8c252bc10eb5245b5caf109269f954801d985124a871b"}},{"ruleId":"D2","level":"warning","message":{"text":"commentMentionHandler.handleCommentMentionNotification (cognitive 20): commentMentionHandler.handleCommentMentionNotification has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 2 (3 pts), ternaries 2, loops 1 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/notifications/commentMentionHandler.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0279b8fce3703273bb915cff1b9104976a1aa76bec5da30aff95df5e5d326ac"}},{"ruleId":"D2","level":"warning","message":{"text":"engine._get_path (cognitive 20): engine._get_path has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (10 pts), if/else 5 (9 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/tool_parsers/engine.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa054cf0ac1458133e70484dc0f62d213e9d28c5edc23bba927b3cdf3277a4b"}},{"ruleId":"D2","level":"warning","message":{"text":"openclaw_policy._tool_allowed (cognitive 20): openclaw_policy._tool_allowed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 8 (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":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3929d3de4e82205ba8f3361d44f31eb684490d4047a4ec839714dcc8e677a5"}},{"ruleId":"D2","level":"warning","message":{"text":"review_cases_with_llm.main (cognitive 20): review_cases_with_llm.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 6 (7 pts), boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/review_cases_with_llm.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdad6a97732c439033c27629bff37d3fc12d668f6629aebe8c3f16e0be0284eb"}},{"ruleId":"D2","level":"warning","message":{"text":"dataset-run-items.getDatasetRunItemsTableInternal (cognitive 19): dataset-run-items.getDatasetRunItemsTableInternal has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 4 (5 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"04eaea62ef91cead60df9c54097755f8b9b6fafd3c7deb03cc6e5a4875b9c739"}},{"ruleId":"D2","level":"warning","message":{"text":"data-table-column-visibility-filter.ColumnVisibilityListItem (cognitive 19): data-table-column-visibility-filter.ColumnVisibilityListItem has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, ternaries 7 (8 pts), if/else 1 (nesting depth added 1). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-column-visibility-filter.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8314c6d253e716ba0d7a20eb8acf02afe41dd65007fd25acc9ea8e532812b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"data-table.TableBodyComponent (cognitive 19): data-table.TableBodyComponent has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (13 pts), boolean chains 6 (nesting depth added 8). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 555). 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":"langfuse/web/src/components/table/data-table.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1077638b7ab8451c07c25bc100e036fbd57df4186a3bdd6b5e7ada8f37b2b7"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceDetailView.TraceDetailView (cognitive 19): TraceDetailView.TraceDetailView has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, ternaries 5 (6 pts), if/else 2 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04d3015dd1c71513d62e5794cbb040de33af4d59dca3574290e59d6471f6326"}},{"ruleId":"D2","level":"warning","message":{"text":"IOPreviewPretty.IOPreviewPretty (cognitive 19): IOPreviewPretty.IOPreviewPretty has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 5 (6 pts) (nesting depth added 1). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 187, 220). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewPretty.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17fcf2a1252ab8a8f90056556d297101a4dcb415d82cb6a4262a0d4e3964eb3"}},{"ruleId":"D2","level":"warning","message":{"text":"trace-aggregation.aggregateTraceMetrics (cognitive 19): trace-aggregation.aggregateTraceMetrics has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (8 pts), ternaries 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/trace-aggregation.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"781342f87bd735e64be1f42a27e8f7d51bc8e3a44600e13b16d5b0fbff62d9f2"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualizedJsonViewer.VirtualizedJsonViewer (cognitive 19): VirtualizedJsonViewer.VirtualizedJsonViewer has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9, if/else 7, boolean chains 3. Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 165, 130, 103, \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d0fa06514a0758a470a23b6bca7bce5cded1b2bdcc8711657adf23b65a426d"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaButtonGroup.MediaButtonGroup (cognitive 19): MediaButtonGroup.MediaButtonGroup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 3, ternaries 2. Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 135, 263, 193, \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95df845b01de4cb9b449d93fc73b23f030981e7f2b6a1c469e2c2104d6283f2"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetVersionHistoryPanel.DatasetVersionHistoryPanel (cognitive 19): DatasetVersionHistoryPanel.DatasetVersionHistoryPanel has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 4, ternaries 2. Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 2 function items inside it that branch (renderVersionItem, a function literal at line 139). 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":"langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f6b5c0b472d8a1f101c7ca5a87db2f967b7d019eb340fc090e3433cb52e03e"}},{"ruleId":"D2","level":"warning","message":{"text":"BulkErrorAnalysisButton.BulkErrorAnalysisButton::handleBulkAnalyze (cognitive 19): BulkErrorAnalysisButton.BulkErrorAnalysisButton::handleBulkAnalyze has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (7 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/BulkErrorAnalysisButton.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"68988fa947d1334a1dc5f977552088803e412ccf1af93a3a50e1098e0d150459"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptModelStep.PromptModelStep (cognitive 19): PromptModelStep.PromptModelStep has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (5 pts), if/else 3 (4 pts) (nesting depth added 2). None of this is in the body itself: all 19 points belong to 7 function items inside it that branch (handleToggleStructuredOutput, a function literal at line 109, a function literal at line 282, \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":"langfuse/web/src/features/experiments/components/steps/PromptModelStep.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e638eb1d881713da599f5f53d73e7484c41cbfa2c50ef921c78f279b3b8b5df"}},{"ruleId":"D2","level":"warning","message":{"text":"router.countValidDatasetItems (cognitive 19): router.countValidDatasetItems has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/server/router.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b4ee67269c71935b5cc0f171167e0de390a6bac2dff1ae5fb7b866ceec984c"}},{"ruleId":"D2","level":"warning","message":{"text":"useFilterState.getCommaArrayParam (cognitive 19): useFilterState.getCommaArrayParam has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 6, if/else 2 (nesting depth added 6). None of this is in the body itself: all 19 points belong to 3 function literals inside it that branch (lines 40, 75, 77). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8a4de2cbc13fabeeebe3ccedae48cd89a97a16a2146c92038ca88e05142739"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackConnectButton.SlackConnectButton (cognitive 19): SlackConnectButton.SlackConnectButton has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (handleConnect::handleMessage, handleConnect, a function literal at line 64, \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":"langfuse/web/src/features/slack/components/SlackConnectButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd033a93ea8c0d2a2617cd2db7d27200680736d84fa18f99275ebc8ec6aad9d"}},{"ruleId":"D2","level":"warning","message":{"text":"supportRequestMetadataEvent.buildPlainEventSupportRequestMetadataComponents (cognitive 19): supportRequestMetadataEvent.buildPlainEventSupportRequestMetadataComponents has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 3 (4 pts), boolean chains 2 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: 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":"langfuse/web/src/features/support-chat/plain/events/supportRequestMetadataEvent.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2c7faf7dae93d5ca0a52d0b0a32faa9cba15e05b12a1c132d58fdb81af661e"}},{"ruleId":"D2","level":"warning","message":{"text":"nodeNameUtils.getParserSuffixLabel (cognitive 19): nodeNameUtils.getParserSuffixLabel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/nodeNameUtils.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2861da4283b4c023a2062288d888c6a70dc14c1b09fa3454b02ec285d6e1f1"}},{"ruleId":"D2","level":"warning","message":{"text":"pivot-table-utils.sortPivotTableRows (cognitive 19): pivot-table-utils.sortPivotTableRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, loops 3, ternaries 1 (2 pts) (nesting depth added 3). Of this number, 10 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/utils/pivot-table-utils.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4fff6ad1ae1c2987c6aec75f2e3e563d228851ce89bd215c4a724ae0b549c0"}},{"ruleId":"D2","level":"warning","message":{"text":"upsertDefaultModelPrices.upsertDefaultModelPrices (cognitive 19): upsertDefaultModelPrices.upsertDefaultModelPrices has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (4 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/upsertDefaultModelPrices.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5879548915df0560ddbcaca3b9727ae8b8347dcc3ef65f3bba133559bb2d0f91"}},{"ruleId":"D2","level":"warning","message":{"text":"trace-stream.getTraceStream (cognitive 19): trace-stream.getTraceStream has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), ternaries 2, boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 3 function items inside it that branch (a function literal at line 283, a function literal at line 61, processTraceRow). 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":"langfuse/worker/src/features/database-read-stream/trace-stream.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e102ab462d27025312f84784b9768abd832e78bbcf96840dfc59136c17a92c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"event-stream.getEventsStream (cognitive 19): event-stream.getEventsStream has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 9). None of this is in the body itself: all 19 points belong to 4 function literals inside it that branch (lines 283, 77, 75, \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":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24f7d71eda8622437ab1666d1829b12a829ba8338f985dfd561c86ab96a7c0a"}},{"ruleId":"D2","level":"warning","message":{"text":"thresholdProcessing.processThresholds (cognitive 19): thresholdProcessing.processThresholds has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"311169d26eb737d92929ee235aa1dd8ca07496b141c25536d96b0f2a73fe6d44"}},{"ruleId":"D2","level":"warning","message":{"text":"processBatchedObservationEval.processBatchedObservationEval (cognitive 19): processBatchedObservationEval.processBatchedObservationEval has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (8 pts), loops 2 (nesting depth added 8). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to one function item inside it that branches (processBatch). 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":"langfuse/worker/src/features/batchAction/processBatchedObservationEval.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52d13afb4e958e993777acb1036ebd80476aefaba69d4bae1d9914dee41b5c0"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillEventsFullFromEvents.run (cognitive 19): BackfillEventsFullFromEvents.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"004822280e8f2821dcfaa5b6254aad907cd218639e43e18580e9bfabf25ae5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"bash._collect_exec_path_tokens (cognitive 19): bash._collect_exec_path_tokens has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (5 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc63ae53632ca0dd25cf412b344bd2f6a1426be141f520b88491390c4b24ae9e"}},{"ruleId":"D2","level":"warning","message":{"text":"powershell._collect_exec_path_tokens (cognitive 19): powershell._collect_exec_path_tokens has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (5 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfb0d49cd0547cc964c620c14de97e0ca1a31b8594502581d3a501e40a1a0ce"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._snapshot_trace_backup_state (cognitive 19): litellm_callback._snapshot_trace_backup_state has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d314bf73911f47773311ae867a44176faeb42cf8e654a71a9713da17d1412b"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._inject_reference_tool_id_into_tools (cognitive 19): litellm_callback._inject_reference_tool_id_into_tools has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18d80d74721b926cf4219e1bab84c2a1449ffebec06d91a04b0faaa34fb4bc5"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._truncate_messages_after_last_reset (cognitive 19): litellm_callback._truncate_messages_after_last_reset has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"76aef6e305052bdd9e7abbf3dadc44389962afa33ecccd25c1b2cd7ee26ec638"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._extract_tool_call_details_from_response (cognitive 19): litellm_callback._extract_tool_call_details_from_response has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae7d93052e59ea47ece2a14b3c232e64edbcccc7f1c1110b8b8f98a1c45cbc1"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._resolve_codex_tool_name_for_request (cognitive 19): litellm_callback._resolve_codex_tool_name_for_request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1134761d7054006081098a90aece648237c03e4ac0727d6e01bbdc77df4153"}},{"ruleId":"D2","level":"warning","message":{"text":"openclaw_policy._repair_tool_calls (cognitive 19): openclaw_policy._repair_tool_calls has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"275d5b5756f9a0c20d606f66d1574b65d4d010cf15a606e58d41128529f4e18c"}},{"ruleId":"D2","level":"warning","message":{"text":"filterToPrisma.tableColumnsToSqlFilter (cognitive 18): filterToPrisma.tableColumnsToSqlFilter has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 4, if/else 2, match/switch 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 67, 50, 47). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/filterToPrisma.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de34bd4d48bce6601fa2a4e94145be2425d8d751ae2bcd1555aa88174ee8028"}},{"ruleId":"D2","level":"warning","message":{"text":"toCompactVerbosityChatML.toCompactVerbosityChatML (cognitive 18): toCompactVerbosityChatML.toCompactVerbosityChatML has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/IORepresentation/chatML/toCompactVerbosityChatML.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03f0f0f7ee7369c39a5703214a66d6174971266e4a8c6b7b9827d85bf12408f"}},{"ruleId":"D2","level":"warning","message":{"text":"SeederOrchestrator.createDatasetExperimentData (cognitive 18): SeederOrchestrator.createDatasetExperimentData has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 1 (4 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a78df4422cb0a8c68929480e8c21f35375f863ae69ebc70ee15d770a1c177e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionButton.ButtonContent (cognitive 18): ActionButton.ButtonContent has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (16 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":"langfuse/web/src/components/ActionButton.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a304634b6cf072076dd032899b0447b6658af0191ee6664e3830209de5be90"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffViewer.DiffViewer (cognitive 18): DiffViewer.DiffViewer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 106, DiffRow::renderContent, a function literal at line 162). 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":"langfuse/web/src/components/DiffViewer.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2c5f1ff419b02ed5fa894374750b70d2da562b94b859d1a52b838448e908b9"}},{"ruleId":"D2","level":"warning","message":{"text":"useLocalStorage.useLocalStorage (cognitive 18): useLocalStorage.useLocalStorage has cognitive complexity 18 (threshold 15). Drivers by points: error handling 5 (7 pts), ternaries 4 (6 pts), if/else 5 (nesting depth added 4). None of this is in the body itself: all 18 points belong to 7 function literals inside it that branch (lines 91, 102, 34, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/useLocalStorage.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"73336659f348dd7269f5eaf71b443668f0300a1fcc2f18d6bc3b1a81f3f0adef"}},{"ruleId":"D2","level":"warning","message":{"text":"observationIoSource.buildKernelObservationIoSourceMap (cognitive 18): observationIoSource.buildKernelObservationIoSourceMap has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 6). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/observationIoSource.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"67434d6932d1ebd82097b515d9c3c79247c94d41a02e8bbd5dee5fc488ea1c1e"}},{"ruleId":"D2","level":"warning","message":{"text":"TruncatedString.TruncatedString (cognitive 18): TruncatedString.TruncatedString has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 77, 132, 53). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"035a20827cf551509c93c47057d10e5ce9b5cccac1c5733da7576cb2bf331125"}},{"ruleId":"D2","level":"warning","message":{"text":"useCommentedPaths.useCommentedPaths (cognitive 18): useCommentedPaths.useCommentedPaths has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (6 pts), boolean chains 2, loops 1 (nesting depth added 5). None of this is in the body itself: all 18 points belong to 2 function literals inside it that branch (lines 22, 41). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/hooks/useCommentedPaths.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"16523f640c5572325504cddebfa1de813b147fe88c39978ac6b3b6ba81348205"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelUsageChart.ModelUsageChart (cognitive 18): ModelUsageChart.ModelUsageChart has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, ternaries 7. Of this number, 15 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c9c533943b6be3fee69a79dad5571f0304cb65d57ce8a50aec6ebef62695ac"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyConfirmationStatsCard.PolicyConfirmationStatsCard (cognitive 18): PolicyConfirmationStatsCard.PolicyConfirmationStatsCard has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, 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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"082e83dde57bc72bda968dd9e96e33780975b77f6418aaf3ebf2ce6715a73868"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoreAnalytics.ScoreAnalytics (cognitive 18): ScoreAnalytics.ScoreAnalytics has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, ternaries 3 (5 pts), if/else 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 103, 76). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f291f1eea39cbfecbcf004be3a34a7eb9f4f4b817f7c55e3c34be0766d55267"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboard-router.getPolicyConfirmationDetailsByState (cognitive 18): dashboard-router.getPolicyConfirmationDetailsByState has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (5 pts), boolean chains 2, loops 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"d778aae04d9e0d3d8fdb6f9d1c17b1c164596a7f896442a2eedb400297b6abf9"}},{"ruleId":"D2","level":"warning","message":{"text":"getPlan.getOrganizationPlanServerSide (cognitive 18): getPlan.getOrganizationPlanServerSide has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (4 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":"langfuse/web/src/features/entitlements/server/getPlan.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f57b17d8677216194e81a12a4c6fc41797d0077ab29f70168e9883ec1ae30ef"}},{"ruleId":"D2","level":"warning","message":{"text":"filter-builder.PopoverFilterBuilder (cognitive 18): filter-builder.PopoverFilterBuilder has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 4, if/else 4 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 7 belong to 4 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":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b789484f41d6aed2a3916fe5f1f370e58f810bf27e44766bdbdd960e6d220747"}},{"ruleId":"D2","level":"warning","message":{"text":"SurveyStep.SurveyStep (cognitive 18): SurveyStep.SurveyStep has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 4 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/components/SurveyStep.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e0f48f64cc08f60bf9107382f665e08c8db8c7292888a4d2247b408b90d61d"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationOutput.GenerationOutput (cognitive 18): GenerationOutput.GenerationOutput has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 3, boolean chains 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/GenerationOutput.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57882564702703df6a0a53d284955b4fb2fb2392ecfd81b711d624b2956146f"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryBuilder.validateAndProcessOrderBy (cognitive 18): QueryBuilder.validateAndProcessOrderBy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8 (nesting depth added 2). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1004, 1029, 1012). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"599d84c7cf6ac8edaf8b7d28e23c39b47b73b3b6cf99da46379c1c2a83f91088"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryBuilder.build (cognitive 18): QueryBuilder.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"251f1b41c7eff4bc7f5fda00ee6f3c17ea7cdde564b3ca3c28f5ee12ec138a70"}},{"ruleId":"D2","level":"warning","message":{"text":"BigNumber.BigNumber (cognitive 18): BigNumber.BigNumber has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 4 (6 pts), boolean chains 4, loops 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 135, 116, 124, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/BigNumber.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d17bbdff5cc52936cdf97167bd027712090a22334fd1b5990c3f86d6b7cfd5c"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetForm.WidgetForm::handleSaveWidget (cognitive 18): WidgetForm.WidgetForm::handleSaveWidget has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 2, if/else 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. This shape REPEATS in the file: one other method here (WidgetForm.WidgetForm) 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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b1d46e17c32b8de3b498d4bebd33228f43296978c5cd8aa537d2ba112ed754"}},{"ruleId":"D2","level":"warning","message":{"text":"sign-up.SignIn (cognitive 18): sign-up.SignIn has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9, if/else 4, boolean chains 3, error handling 2. Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: 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":"langfuse/web/src/pages/auth/sign-up.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30816bd99e74cebf5957f80cd2685ff5f430053bbb667d848af6dc60eb044e1"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.replaceVariablesInPrompt (cognitive 18): utils.replaceVariablesInPrompt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/utils.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b673ed807d7d71aade7b4d0e73b1dbff25a93e8edaf7d959df54edf494ef92"}},{"ruleId":"D2","level":"warning","message":{"text":"EncryptBlobStorageSecrets.run (cognitive 18): EncryptBlobStorageSecrets.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (7 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/encryptBlobStorageSecrets.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"775b10ff764a254af20554bd677f16c763b30cc023d9e68014a9d235d5cf30d2"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistrySet.classify_confidentiality (cognitive 18): RegistrySet.classify_confidentiality has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (8 pts) (nesting depth added 10). 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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/registries/_base.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"689d5b029496c276041f310d99d6386ac2eaf1040eb4cd8f168b461268201280"}},{"ruleId":"D2","level":"warning","message":{"text":"bash._classify_segment_risk (cognitive 18): bash._classify_segment_risk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 1 (2 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4f094b16b4335f49218df8f927a48a6d2fab78a49020a229d24f4efab2972b"}},{"ruleId":"D2","level":"warning","message":{"text":"powershell._ps_find_exec_units (cognitive 18): powershell._ps_find_exec_units has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (8 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46ae03ae35cf842baf43bad228090007d7d5fe7839a695544c62660ad53aaf4"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._build_policy_runtime_context (cognitive 18): litellm_callback._build_policy_runtime_context has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 2 (5 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85bafa8e840e27abc980d5457bc09cf99472d073a867f45de88b437637712a8"}},{"ruleId":"D2","level":"warning","message":{"text":"DeletePolicy.check (cognitive 18): DeletePolicy.check has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"130731c5d76ec6732e0c056bc9b431c2c6ed4f21d61ce9c8e13c5f9a1ccb4f3f"}},{"ruleId":"D2","level":"warning","message":{"text":"unary_gate_policy._selector_matches (cognitive 18): unary_gate_policy._selector_matches has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8 (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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"372f41ddbd431b713c1eafe6dff9b4689927dfa607d51bec9cd9c55d5acb1c73"}},{"ruleId":"D2","level":"warning","message":{"text":"observations.getObservationsForTrace (cognitive 17): observations.getObservationsForTrace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 5, loops 2 (3 pts), boolean chains 2 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"561d04eaa4cbe1cf96f66674a68eb937b1fef4046dadd7ee5c2815c650c0add8"}},{"ruleId":"D2","level":"warning","message":{"text":"getInternalTracingHandler.getInternalTracingHandler.processTracedEvents (cognitive 17): getInternalTracingHandler.getInternalTracingHandler.processTracedEvents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/llm/getInternalTracingHandler.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"63100451fa32328069ec9c20ddc63bb7917df0c800160bf39e3f30d7a4c9b43e"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelIngestionProcessor.filterRedundantShallowTraces (cognitive 17): OtelIngestionProcessor.filterRedundantShallowTraces has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5a1cfb13b353fe465eef4c52a8a27d8440f31b510ea29d8582643b57ea16ea"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelIngestionProcessor.extractMetadata (cognitive 17): OtelIngestionProcessor.extractMetadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts), ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eae586afc1b8633be8d3586c5d77d4f117fc23f59e8a2511679f9b7f716a39e"}},{"ruleId":"D2","level":"warning","message":{"text":"microsoft-agent.extractToolDefinitions (cognitive 17): microsoft-agent.extractToolDefinitions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, 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":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8433d811017d5ee1ba7e7a295cc3cf8d6b857085c9058282289420e4f54eb38"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic-kernel.normalizeMessage (cognitive 17): semantic-kernel.normalizeMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/semantic-kernel.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e448fdc5032ddb3e0f173cde938b9521801c61d303de6e8cdfc7533631786438"}},{"ruleId":"D2","level":"warning","message":{"text":"ObservationPreview.ObservationPreview (cognitive 17): ObservationPreview.ObservationPreview has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, ternaries 3, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"05feda17b010f48b0f3ea2991d23ad9382322f33bb17f531344e9a2507c586e1"}},{"ruleId":"D2","level":"warning","message":{"text":"LogViewToolbar.LogViewToolbar (cognitive 17): LogViewToolbar.LogViewToolbar has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 16, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/LogViewToolbar.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c30c719dd95eb5cef5916ff7290f6c519d0a03304196b3a5b759412359d7a90"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallDefinitionCard.ToolCallDefinitionCard (cognitive 17): ToolCallDefinitionCard.ToolCallDefinitionCard has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (6 pts), if/else 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 51, 71). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ToolCallDefinitionCard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d1c6fb906611e5ae05697fc6899633ae63103914677456c44766ff6448795c"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONTableViewRow.JSONTableViewRowInner (cognitive 17): JSONTableViewRow.JSONTableViewRowInner has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, ternaries 7, if/else 1 (2 pts) (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableViewRow.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d472973373084bb8c427f931b33c5db73c1c48faaab1c15190317991bbae4b5"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchBar.SearchBar (cognitive 17): SearchBar.SearchBar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (handleKeyDown, handleClear, handleChange, \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/SearchBar.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec005762ac17cf2180be73f44fa17c2f56f30ebe5fa0d58b8afc9fe24d3d60d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.handleCreateApiKey (cognitive 17): index.handleCreateApiKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d7a413bdaedf70b731698893789a33d0f21e15a3ecb6339d9e137018f4e6cf"}},{"ruleId":"D2","level":"warning","message":{"text":"index.handleUpdateProject (cognitive 17): index.handleUpdateProject has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 4 (6 pts), ternaries 3, 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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/index.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0494e71d39ff2dd9b06af2381f2d093d6325c718a234b8a6942f0f81a2a8c170"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetsTable.DatasetsTable (cognitive 17): DatasetsTable.DatasetsTable has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 6, boolean chains 2, loops 1 (nesting depth added 2). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 336, 115, 132, \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":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec45e2c048be58ec7407902be216121331c2b3a18f5b81d473700ed1993a37b"}},{"ruleId":"D2","level":"warning","message":{"text":"costCalculations.sumObservationCosts (cognitive 17): costCalculations.sumObservationCosts has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 5, if/else 4 (5 pts) (nesting depth added 3). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 69). 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":"langfuse/web/src/features/datasets/lib/costCalculations.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cbaf97eb47a615dba80aa8414fe6d9ecdc970a9359ac8e81df3ca7166d246c"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation-prompt-preview.ColoredVariable (cognitive 17): evaluation-prompt-preview.ColoredVariable has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, error handling 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 6). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (renderValue). 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":"langfuse/web/src/features/evals/components/evaluation-prompt-preview.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac2764cff6c4750ee308614315b53755d95f12f6a54439b09d69dbdb575b729"}},{"ruleId":"D2","level":"warning","message":{"text":"router.testLLMConnection (cognitive 17): router.testLLMConnection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d35e1e1bbf5500526384a4f0d643bccd5933a6d616a1561d628f0e59549f42"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailPageNav.DetailPageNav (cognitive 17): DetailPageNav.DetailPageNav has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 37, 80, 113). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/navigate-detail-pages/DetailPageNav.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e4f16857209bc5b177c8d6ef9ca2c8985d4b57821d1652c864a43706ca7009"}},{"ruleId":"D2","level":"warning","message":{"text":"index.SetPromptVersionLabels (cognitive 17): index.SetPromptVersionLabels has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (5 pts), if/else 4, error handling 1 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e68ac65eb2220367df3b5574cf3065329f8effb8f503f320b8c246c155a125"}},{"ruleId":"D2","level":"warning","message":{"text":"auto-complete.AutoComplete (cognitive 17): auto-complete.AutoComplete has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 5 (6 pts), boolean chains 2 (nesting depth added 6). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 43, 112). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/auto-complete.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"806c8846f5a10565d908d8b84594522bb0d81c96a18e498fbc8e4546dce3a16b"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateLLMApiKeyForm.createFormSchema (cognitive 17): CreateLLMApiKeyForm.createFormSchema has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, ternaries 4 (5 pts), boolean chains 4 (nesting depth added 1). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 89, 149, 166, \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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd04c4bcdebbfb6c5e5634309f075579f2b3af4fa2a41444c0a17fc34dcda96"}},{"ruleId":"D2","level":"warning","message":{"text":"evals.handler (cognitive 17): evals.handler has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 3, loops 1 (3 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/admin/evals.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0a4fda30b42004dc572d26298c792005600d82592ae94b0a1ae2da375019cf"}},{"ruleId":"D2","level":"warning","message":{"text":"index.handler (cognitive 17): index.handler has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 5). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/projects/index.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce007c68ada53aab16eef5ef58983e21428750d618ab63ce6b24dea84bb70882"}},{"ruleId":"D2","level":"warning","message":{"text":"[id].handlePut (cognitive 17): [id].handlePut has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scim/Users/[id].ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7727c272f4c4cb5ce21b785aef6445db10fc37155b247c7cfac0f098d03f48ec"}},{"ruleId":"D2","level":"warning","message":{"text":"traces.getPolicyConfirmationTurnIndexesForTrace (cognitive 17): traces.getPolicyConfirmationTurnIndexesForTrace has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/traces.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb93500a3aab166fa06833f1f0a456f9652d837c1004cc26932a8c4181c45f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClickhouseWriter.truncateOversizedRecord (cognitive 17): ClickhouseWriter.truncateOversizedRecord has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 3 belong 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":"langfuse/worker/src/services/ClickhouseWriter/index.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b6ce2cce76f942a7bc8ba1832c2d4892015992b65ec53b948ff8c4caa10c34"}},{"ruleId":"D2","level":"warning","message":{"text":"autoExperienceSummaryQueue.autoExperienceSummaryQueueProcessor (cognitive 17): autoExperienceSummaryQueue.autoExperienceSummaryQueueProcessor has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 5, error handling 1 (2 pts), boolean chains 1 (nesting depth added 3). 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: 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":"langfuse/worker/src/queues/autoExperienceSummaryQueue.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee192babef049c2d3d21447d9d20f5daac17a06b88824c5abc349e0e53b0f30d"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillBillingCycleAnchors.run (cognitive 17): BackfillBillingCycleAnchors.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 2 (3 pts), loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillBillingCycleAnchors.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a661da4e986560b28dd7b978ec2042341400eea8d8c5b2ff73ad944c395780"}},{"ruleId":"D2","level":"warning","message":{"text":"powershell._ps_command_words (cognitive 17): powershell._ps_command_words has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"051fa962012fc9af3959aabbeb71c596b03e0944ed112c6aa7a23451d43c9cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._add_non_strict_content_instructions (cognitive 17): litellm_callback._add_non_strict_content_instructions has cognitive complexity 17 (threshold 15). Drivers by points: error handling 4 (8 pts), if/else 5 (6 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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2abe9b2d677c5bd76038690355dc52db4e6f4cb0d627dd0ff72c77a94fd6b8"}},{"ruleId":"D2","level":"warning","message":{"text":"direct_metadata._external_domains_from_values (cognitive 17): direct_metadata._external_domains_from_values has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/direct_metadata.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6b33633197bdbaaf065abc0cad1efd471f88446289b18657d09f59fc947aa8"}},{"ruleId":"D2","level":"warning","message":{"text":"unary_gate_policy._merge_rule_bundles (cognitive 17): unary_gate_policy._merge_rule_bundles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c586e6cc2f6e53bcab47bcb360b796c92eaf01a536fb952626c386dc1dcf41ad"}},{"ruleId":"D2","level":"warning","message":{"text":"unary_gate_policy._resolve_value (cognitive 17): unary_gate_policy._resolve_value has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (17 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56cb48dc09cee51c424863ff5896bc6140c042135ab1dc6564729e2963f653d"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelPolicyRuntime.efsm_replay_history (cognitive 17): KernelPolicyRuntime.efsm_replay_history has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23c2418bf1811f4cb68237a3ef173d5827172b730fd9c6e7e4395b294eb9bce"}},{"ruleId":"D2","level":"warning","message":{"text":"ClickHouseClientManager.getClient (cognitive 16): ClickHouseClientManager.getClient has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (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":"langfuse/packages/shared/src/server/clickhouse/client.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffd14b5278e40e96498fc017f4cc317e7d6838b22b402ccab47128d09100243"}},{"ruleId":"D2","level":"warning","message":{"text":"scores.getScoresUiGenericFromEvents (cognitive 16): scores.getScoresUiGenericFromEvents has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 3, if/else 2 (3 pts) (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d1149d688c1f7008b2854d6c59228ae8077aff14807a4e65cab5fc8c72a45a"}},{"ruleId":"D2","level":"warning","message":{"text":"headerPropagation.contextWithLangfuseProps (cognitive 16): headerPropagation.contextWithLangfuseProps has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 35, 25). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/headerPropagation.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8960f8f4c0077d7d7139157e67823eb42e4675917eb237febf07346d39cb324"}},{"ruleId":"D2","level":"warning","message":{"text":"microsoft-agent.normalizeMicrosoftAgentMessage (cognitive 16): microsoft-agent.normalizeMicrosoftAgentMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c03ac1b60568c62c03af8155d8f7c4e64f38a4022e2de3ee12e808f22c643b"}},{"ruleId":"D2","level":"warning","message":{"text":"applyFieldMapping.applyFullMapping (cognitive 16): applyFieldMapping.applyFullMapping has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (11 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/batchAction/applyFieldMapping.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d187bbad2eb90a6ad6a3d6940e54060c3a03567070f6f01291b130319f278bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageComponent.ChatMessageComponent::toggleRole (cognitive 16): ChatMessageComponent.ChatMessageComponent::toggleRole has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78035ab2b32f7c1b039e2cb721a14e00dca1cb56b236e7005ed578626b2e8bb"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeMirrorEditor.CodeMirrorEditor (cognitive 16): CodeMirrorEditor.CodeMirrorEditor has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 2, if/else 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"langfuse/web/src/components/editor/CodeMirrorEditor.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a194b6377d469a053d07215e8f52c9f184185d7ff6528c73bf16dc792873ba4"}},{"ruleId":"D2","level":"warning","message":{"text":"data-table-pagination.DataTablePagination (cognitive 16): data-table-pagination.DataTablePagination has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 1. Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-pagination.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bc2f28f8faaba2b6465cf03d2a24ecac545766089522ef238a257cb72c010f"}},{"ruleId":"D2","level":"warning","message":{"text":"tree-building.buildDependencyGraph (cognitive 16): tree-building.buildDependencyGraph has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 6 (7 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6eab993b5e6071e6f77c7c07fd4d5dcd217330101ed49f695bbe82eae471b8"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceGraphDataContext.TraceGraphDataProvider (cognitive 16): TraceGraphDataContext.TraceGraphDataProvider has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), loops 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 60, 116, 129, \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":"langfuse/web/src/components/trace2/contexts/TraceGraphDataContext.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8195a6a9b95e2f3b7805ac3de4e1551067b18e2a37fb9489b6f5263c1ad5cffc"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceLogView.TraceLogView (cognitive 16): TraceLogView.TraceLogView has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 3. Of this number, 8 points are the body\u0027s own statements and 8 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/TraceLogView.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbf72c9a4e4c68e93c2d0e9e5cbb365bf1efd09c3fe200428df6712469a77c9"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.calculateDisplayTotalCost.totalCost (cognitive 16): helpers.calculateDisplayTotalCost.totalCost has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 3, if/else 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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bff041f568ff4fe4894431dc12bf11b6cd94d20675d51aaad0ae234c9343170"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.enrichTreeNodeWithCosts (cognitive 16): helpers.enrichTreeNodeWithCosts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 4 (6 pts), boolean chains 3 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f03a24661a7e0a1b2d9dae1932bbc35f31732937fe67fa0ad766a8bed86a51"}},{"ruleId":"D2","level":"warning","message":{"text":"useJsonViewerLayout.useJsonViewerLayout.estimateSize (cognitive 16): useJsonViewerLayout.useJsonViewerLayout.estimateSize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewerLayout.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d454d050fe182f82eacdaa63b438b5e5c99c208f44e5f3f8f3d755938a698b"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleJsonViewer.SimpleJsonViewer (cognitive 16): SimpleJsonViewer.SimpleJsonViewer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 5, boolean chains 2 (nesting depth added 3). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 93, 127, 137, \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleJsonViewer.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"edeea8ad9e1717915e3d5d6b4d274fc29645fbb5809a22481053ad28eea9b073"}},{"ruleId":"D2","level":"warning","message":{"text":"PrettyJsonView.isMarkdownContent (cognitive 16): PrettyJsonView.isMarkdownContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 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":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c421d8e1e506f93f572214f51cfb0a2e0c2b242f3937e4ec2d8b54a8c23313b1"}},{"ruleId":"D2","level":"warning","message":{"text":"time-picker-utils.getValidNumber (cognitive 16): time-picker-utils.getValidNumber has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (16 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":"langfuse/web/src/components/ui/time-picker-utils.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26939543be03db959c5e671b369e533e193f2dbdeed3d32dbe0b7aa6a806f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"createProject.handleCreateProject (cognitive 16): createProject.handleCreateProject has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 4 (6 pts), boolean chains 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/projects/createProject.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b11ecba0189a78045df4beed94cd0cdcf05105788b1fde453a97622722b5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"createProjectMembershipsOnSignup.createProjectMembershipsOnSignup (cognitive 16): createProjectMembershipsOnSignup.createProjectMembershipsOnSignup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), error handling 2 (3 pts), ternaries 3, boolean chains 2, loops 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth/lib/createProjectMembershipsOnSignup.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c08bca637e94099aa0efbd900bb060abeaacc1785f8c44fa056e2a8ed6f721"}},{"ruleId":"D2","level":"warning","message":{"text":"validateCommentReferenceObject.validateCommentReferenceObject (cognitive 16): validateCommentReferenceObject.validateCommentReferenceObject has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (7 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/validateCommentReferenceObject.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fdf3f94f93c55a455d938810905e36ee012c97ca87e9888f02a78ed612f2c8"}},{"ruleId":"D2","level":"warning","message":{"text":"UserChart.UserChart (cognitive 16): UserChart.UserChart has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 4 (nesting depth added 2). Of this number, 8 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/UserChart.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a535ec8747cd029894f9102aa7a591127dab322d6a12dc671e677ab07fe8457"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewCsvImport.PreviewCsvImport (cognitive 16): PreviewCsvImport.PreviewCsvImport has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, ternaries 5 (6 pts), if/else 4 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/PreviewCsvImport.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6229f2990e94c372edc9ed0c4c8d15b966b3e2345de9aad2054951c246e29928"}},{"ruleId":"D2","level":"warning","message":{"text":"costCalculations.findObservationDescendants (cognitive 16): costCalculations.findObservationDescendants has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/lib/costCalculations.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"540f97f4ec1fbfd1d409adee2a34848b457060054fc95aade6d424159370671e"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorAnalysisDropdown.FormattedAnalysisView (cognitive 16): ErrorAnalysisDropdown.FormattedAnalysisView has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (16 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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5821c69013c2265962dd1e3442706b9efae4d010db686c12d2938f1808c64f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluator-selector.EvaluatorSelector (cognitive 16): evaluator-selector.EvaluatorSelector has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 3, ternaries 1. Of this number, 10 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-selector.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3de9f6c33acb50b6eb78e019089145ff316c75a12f7c2f96908d057d24c94ad"}},{"ruleId":"D2","level":"warning","message":{"text":"variable-mapping-validation.validateAndTransformVariableMapping (cognitive 16): variable-mapping-validation.validateAndTransformVariableMapping has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 61, 91, 45, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/utils/variable-mapping-validation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7511b2c0dd3b37e94e68a089b4e66532e9df8b65995d118427224f36db33cdc9"}},{"ruleId":"D2","level":"warning","message":{"text":"router.getRejectedTurnDetails (cognitive 16): router.getRejectedTurnDetails has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 3 (6 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":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bdd0d147a864ba4068b6e14dbb5a9f31fcf24215dd8e5976360ceab3c8c7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"deletePrompt.deletePrompt (cognitive 16): deletePrompt.deletePrompt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 3 (6 pts), boolean chains 3, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 57, 80, 113). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/actions/deletePrompt.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"de48cbb31e6bdaa978cbe39d847ae85483662f2f2bab865f9d7b17b695ff0ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"scores._handleGenerateScoresForPublicApi (cognitive 16): scores._handleGenerateScoresForPublicApi has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 14, boolean chains 2. Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"langfuse/web/src/features/public-api/server/scores.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee2bbd68a5046e47d6267f00e715407c7bf9b30295d84f609117ad73111865c"}},{"ruleId":"D2","level":"warning","message":{"text":"MembershipInvitesPage.MembershipInvitesPage (cognitive 16): MembershipInvitesPage.MembershipInvitesPage has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. To reduce it, 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":"langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3455283cb992521b71279a1ba7a546e73bbdc848e07973dfecbb055cd3ff4c"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupPage.SetupPage (cognitive 16): SetupPage.SetupPage has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 7 (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":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c67349b5075c45311e5e1d2d0678112f99cc9df11f7361da182d1a9fa4c4cda"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackDisconnectButton.SlackDisconnectButton (cognitive 16): SlackDisconnectButton.SlackDisconnectButton has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 4, if/else 4, error handling 1 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60253513342ef45c228c56c8d3aeb1e000ffef42a0bb4592a63b50345dee5d2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.handler (cognitive 16): index.handler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/mcp/index.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f26200009b3ea529416e322724cb8aabff9be35d9ccf35497109dcf7f6230c"}},{"ruleId":"D2","level":"warning","message":{"text":"[id].handlePatch (cognitive 16): [id].handlePatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scim/Users/[id].ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"309564e970414a9285332796d770c4ddbb95c3687bd03bcd040ecb633664d026"}},{"ruleId":"D2","level":"warning","message":{"text":"ClickhouseWriter.flush (cognitive 16): ClickhouseWriter.flush has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 1, error handling 1, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 309, 421). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/ClickhouseWriter/index.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6bd9077494b5bb19d85ff086aa41b22e718e217bb1f582bb3a5c37c85169e3"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundMigrationManager.run (cognitive 16): BackgroundMigrationManager.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 7). None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 39, 44). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backgroundMigrationManager.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a75ba4b96ffd73f9f37693715ecfc47a40af17f2b09b192b288c221f07d5875"}},{"ruleId":"D2","level":"warning","message":{"text":"usageAggregation.aggregateByOrg (cognitive 16): usageAggregation.aggregateByOrg has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/usageAggregation.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fc0b01a43105887ac4a1395b8a9a1648c7b59c7471334c7cf2faf66fbafd26"}},{"ruleId":"D2","level":"warning","message":{"text":"handleExperimentBackfill.enrichSpansWithExperiment (cognitive 16): handleExperimentBackfill.enrichSpansWithExperiment has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 15, loops 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0584d98e62570693528b495f8511b598a12b829e3f3f15dc43c0946a76b08ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._record_policy_protected_tool_calls (cognitive 16): litellm_callback._record_policy_protected_tool_calls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ec5c7071cbbc7e26f29063b53cae48786fe76ee909e60b4c284fe00fa28794"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._build_policy_metadata (cognitive 16): litellm_callback._build_policy_metadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4889}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b962406f3e55028781e5f8c718c451fcaf2268ecc75c88bb6b6604c9a5f89f8"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._extract_codex_suffix_json_objects (cognitive 16): litellm_callback._extract_codex_suffix_json_objects has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3, error handling 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8544167977aa1e40fc3604a97c06032959324c562c1415dcc180f4f6b6e29352"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_callback._extract_text_to_wrap (cognitive 16): litellm_callback._extract_text_to_wrap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5596}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14c8a52c1048b8474ec9ddca3309bf2e80fe1c161057d00648e7674a0a03367"}},{"ruleId":"D2","level":"warning","message":{"text":"openclaw_policy._sanitize_user_facing_text (cognitive 16): openclaw_policy._sanitize_user_facing_text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39e276a986d51b0cd90a4e33a4c892022a540e895ebb4d9045bad728f01187c"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaValidationPolicy.check (cognitive 16): SchemaValidationPolicy.check has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/schema_policy.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cc0b7e2bf30b4f95ede201148affe16402bb43950a113bec5d2280c9b77d64"}},{"ruleId":"D2","level":"warning","message":{"text":"taint_policy._classify_tool (cognitive 16): taint_policy._classify_tool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffa2634fdbd28d3df5cb77b2b5202d17b451415a415310333a1a9436ad9b46a"}},{"ruleId":"D2","level":"warning","message":{"text":"policy_engine_bat._extract_snippet_variants (cognitive 16): policy_engine_bat._extract_snippet_variants has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0f92e96e1b511ec7fbf7f47e135d239477b29711feccbee3310503129e2d35"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelPolicyRuntime.approval_granted (cognitive 16): KernelPolicyRuntime.approval_granted has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (7 pts), if/else 3 (5 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"108854c96279c1985c6a19c90ae18a921f3fc1185d9fc37e1c015fc8effab90d"}},{"ruleId":"D2","level":"warning","message":{"text":"user_approval._get_last_n_valid_instructions (cognitive 16): user_approval._get_last_n_valid_instructions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 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":"ArbiterOS-Kernel/arbiteros_kernel/user_approval.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d0674873a35cd298ffeaddad040bb28a6c77879ebdac6681d818c909afce7f"}},{"ruleId":"D2","level":"warning","message":{"text":"review_cases_with_llm.deterministic_review (cognitive 16): review_cases_with_llm.deterministic_review has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 5, boolean chains 3 (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":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/review_cases_with_llm.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4d52053c9f5da4fa9fc3a0b21f447831a32ed4648f265f43b4ef98c85b114a"}},{"ruleId":"D2","level":"warning","message":{"text":"review_cases_with_llm.review_one_item (cognitive 16): review_cases_with_llm.review_one_item has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, ternaries 3 (4 pts), loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/review_cases_with_llm.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8844e4b329099cdb64ece7713714887b0d157e47becc3eada309b13d176c7c94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: observations.ObservationsTable: FunctionTooLong \u2014 ObservationsTable runs 1639 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1539 over it, 16.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2004c2f3a4ea21afe67462c0f100291a59647a958c9b26ec6640b1b6f7ae0b55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EventsTable.ObservationsEventsTable: FunctionTooLong \u2014 ObservationsEventsTable runs 1569 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1469 over it, 15.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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dc5b7d2d6df4b6cfb04aab333a25e660965bd57d7e961b3b9d33fe0d32c371"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WidgetForm.WidgetForm: FunctionTooLong \u2014 WidgetForm runs 1244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1144 over it, 12.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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af60fec179fd3d6b362afc997a36d5e70f90c9fb96fa9271e4ffd9b7cdfe1e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: arbiteros_kernel/litellm_callback.py: FileTooLong \u2014 5182 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4682 over it, 10.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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0cedda93ea307c82c8f7e772682593f70cfb1665c86d65f867d166012fcaf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateLLMApiKeyForm.CreateLLMApiKeyForm: FunctionTooLong \u2014 CreateLLMApiKeyForm runs 970 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 870 over it, 9.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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8af68735f52f6a956b817b5450126ba0b0c998432ff0606f40a004485e2573"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ExperienceSummaryPage: FunctionTooLong \u2014 ExperienceSummaryPage runs 908 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 808 over it, 9.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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f7dbb32a6880b8e77dc496030bb75677bc3b62b77f8f76e9125d36345da81d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: traces.TracesTable: FunctionTooLong \u2014 TracesTable runs 883 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 783 over it, 8.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":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac47b34c879e596e03ddb1d39840f2517c2aca35941a995b1929ae92ac30f6ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buildScoreComparisonQuery.buildScoreComparisonQuery: FunctionTooLong \u2014 buildScoreComparisonQuery runs 847 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 747 over it, 8.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":"langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a47f937fd57a20b0a73eca5394f13d663470baa1bb5ec3ad683eb754a31b3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSidebarFilterState.useSidebarFilterState: FunctionTooLong \u2014 useSidebarFilterState runs 815 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 715 over it, 8.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":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4076110da6c173cd1bd9b552db475456572c44f526da449eb07100be74712422"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: policy.PolicyGovernancePage: FunctionTooLong \u2014 PolicyGovernancePage runs 806 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 706 over it, 8.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":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96e1e2e061a54d6162377c880d35560c8a3e487b04273286e798c2415eb7740"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: inner-evaluator-form.InnerEvaluatorForm: FunctionTooLong \u2014 InnerEvaluatorForm 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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7da57fed10b2d5775e3b83793fe75ad10a0b231220e88f7ccb0975dc96c557f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: blobstorage.BlobStorageIntegrationSettingsForm: FunctionTooLong \u2014 BlobStorageIntegrationSettingsForm runs 725 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 625 over it, 7.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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"585e313d149487fe4336ade3334b94af16b8bc6adcbb38faa4a59ea438e2fdb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table-view-presets-drawer.TableViewPresetsDrawer: FunctionTooLong \u2014 TableViewPresetsDrawer runs 683 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 583 over it, 6.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":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"088848449153b47ab496b82de61558481222f2601a3569ebd187b6a85fdf01ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scores.ScoresTable: FunctionTooLong \u2014 ScoresTable runs 632 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 532 over it, 6.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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bd9a31dfca3487aabbea00290a822dd9c9a2bc6333e28d990fd791b9e3e558"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sessions.SessionsTable: FunctionTooLong \u2014 SessionsTable runs 604 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 504 over it, 6.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":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b559176bc72ea460a823eb92fe594cf441d3e62b3750b038dcb92057a627da84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommentList.CommentList: FunctionTooLong \u2014 CommentList runs 588 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 488 over it, 5.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":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e27e1d4b48193b4229a096e49ba4d3e22dcf1eda2c0f7240fa4d7531611ca7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ObservationDetailView.ObservationDetailView: FunctionTooLong \u2014 ObservationDetailView runs 572 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 472 over it, 5.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"297da0467fe28668c3177625ef15fd7642510226db87659aa47e47a795a09d10"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: filter-builder.FilterBuilderForm: FunctionTooLong \u2014 FilterBuilderForm runs 519 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 419 over it, 5.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6cf6888d8523379422197ebe31ed6243390cfe6bf5c8f390497c5edfbb1bdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetRunsTable.DatasetRunsTable: FunctionTooLong \u2014 DatasetRunsTable runs 515 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 415 over it, 5.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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ac150a49a157bde0e9edbfdffd0dcb8ab06f29b9901d072ebdbb6b0e3a1439"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: variable-mapping-card.VariableMappingCard: FunctionTooLong \u2014 VariableMappingCard runs 511 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 411 over it, 5.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":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f75b5407708204a774e6f7272122cede842ae207c03aca81b4cde801b8687a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TraceGovernanceBanner.TraceGovernanceBanner: FunctionTooLong \u2014 TraceGovernanceBanner runs 507 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 407 over it, 5.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":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7d651a2b9bcc2bda64a592c83b53a8eacec307928ef10f25a0456d429a5219"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnnotationForm.InnerAnnotationForm: FunctionTooLong \u2014 InnerAnnotationForm runs 502 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 402 over it, 5.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":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1e2c00d9d9d4577d98089bd756aa9035b9c4dd6d842cdc8bead5c745b03237"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autoErrorAnalysisQueue.autoErrorAnalysisQueueProcessor: FunctionTooLong \u2014 autoErrorAnalysisQueueProcessor runs 459 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 359 over it, 4.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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c0765265b15514cc063ea5fa3348270532a54758b3d6c905fbf178d32cb885"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PrettyJsonView.PrettyJsonView: FunctionTooLong \u2014 PrettyJsonView runs 445 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 345 over it, 4.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":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8677be702c15870541037ef210e180c5c272b786feda56dee327aa49436850"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ObservationPreview.ObservationPreview: FunctionTooLong \u2014 ObservationPreview runs 428 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 328 over it, 4.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":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"763033dc6cd794cd3e131ec56eccf567b88a50892efab9d87170107310977d0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ObservationGovernanceAnalysisPanel.ObservationGovernanceAnalysisPanel: FunctionTooLong \u2014 ObservationGovernanceAnalysisPanel runs 428 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 328 over it, 4.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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1443d1d2cc5ae168218a3be1bb5ff67562e529db017eb3ff435f4fd537ddcbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repositories/events.ts: FileTooLong \u2014 2118 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1618 over it, 4.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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb5c8edccccfecb081e5ff578199b2e41da5f301abc744c18f7c2adaf5f6ede"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TracePreview.TracePreview: FunctionTooLong \u2014 TracePreview runs 423 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 323 over it, 4.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":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a11b10395fe7409ff462ac7d8df1a2333df048f253dde6f91530728c676d1f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ErrorAnalysisSettings.ErrorAnalysisSettings: FunctionTooLong \u2014 ErrorAnalysisSettings runs 423 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 323 over it, 4.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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd4d4e75a733ae533fbd3f2bb25175475aae53941bc7b6d4b0f3578aa40d696"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prompt-detail.PromptDetail: FunctionTooLong \u2014 PromptDetail runs 420 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 320 over it, 4.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35ce7fc553684157e1f606f1a828c0ad0e3513141352c9defae886088a36622"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ErrorAnalysisDropdown.ErrorAnalysisDropdown: FunctionTooLong \u2014 ErrorAnalysisDropdown runs 413 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 313 over it, 4.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d2ca50b9d7f5d152a54ef330fa388b2d32787b277cab7fd42fd25b0225e270"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PolicyGuideCard.PolicyGuideCard: FunctionTooLong \u2014 PolicyGuideCard runs 409 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 309 over it, 4.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":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c235302172a32a54a3c6fc53c21e6cb16ed3d3721b4d676d579452d6c4250b7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evaluator-table.EvaluatorTable: FunctionTooLong \u2014 EvaluatorTable runs 395 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 295 over it, 3.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"706596ab949884040aeee362a276a902dd5f40b12e0e2ee7ca7be59d305c7b50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MultiStepExperimentForm.MultiStepExperimentForm: FunctionTooLong \u2014 MultiStepExperimentForm runs 393 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 293 over it, 3.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7729c77e075811c3938c28cbed99fa2d1e677b8c11caa294320c4732180fe714"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: automationForm.AutomationForm: FunctionTooLong \u2014 AutomationForm runs 386 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 286 over it, 3.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":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c3e4a2dee4f690160980589c15ee9351599f6354c266d5f8f10fd68d093e43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: use-cases/observations.tsx: FileTooLong \u2014 1915 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: ObservationsTable (280-2425). The bar is 500 significant lines; this is 1415 over it, 3.83\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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb761c6827f37443ccfb1a56deaf60014a89dbe02163fa229c34090e4e1a3093"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buildGraphCanvasData.buildGraphFromStepData: FunctionTooLong \u2014 buildGraphFromStepData runs 377 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 277 over it, 3.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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb2fee4c2f9c322380301955e9a84546e9e509526b603bf9365b1b141ca8ec9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: policy/unary_gate_policy.py: FileTooLong \u2014 1863 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1363 over it, 3.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b995ae6e8efbdebe9369d793f3a5a93aa1b0c7f8823934c1dc1b9ae28848f52c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.NewPromptForm: FunctionTooLong \u2014 NewPromptForm runs 371 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 271 over it, 3.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c47d64d2896d5006cc64a2501623a6b6cd00ef82eebdc90aabcaf9d87bc21ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SupportFormSection.SupportFormSection: FunctionTooLong \u2014 SupportFormSection runs 369 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 269 over it, 3.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":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"36232957d827e4286a390f66c666c74e7e63d915d284b23bdcdd972e5946f54c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/EventsTable.tsx: FileTooLong \u2014 1814 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: ObservationsEventsTable (315-2384). The bar is 500 significant lines; this is 1314 over it, 3.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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecb05005f308106d2102e7bb0122316b4c26ce9984d89ec80e78450e237ad2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: getDatabaseReadStream.getDatabaseReadStreamPaginated: FunctionTooLong \u2014 getDatabaseReadStreamPaginated runs 361 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 261 over it, 3.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1dcd741784c65aa559969317171793b25416898675097afafb4976a171d27a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpsertModelFormDialog.UpsertModelFormDialog: FunctionTooLong \u2014 UpsertModelFormDialog runs 358 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 258 over it, 3.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2428a3c947e32a0e9e5161dad4be51bb8bc167772bf8ca552edf76db150f1d94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: eval-templates-table.EvalsTemplateTable: FunctionTooLong \u2014 EvalsTemplateTable runs 357 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 257 over it, 3.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"621bdddaf88d015ac97a76970c0b66849351a4305c2ae1080dfe861c35f2a4a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MembersTable.MembersTable: FunctionTooLong \u2014 MembersTable runs 338 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 238 over it, 3.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":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf4d17c161f04fc6e2b630f15821bd856b9621fb8531d34ec37f2c787c6ad25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpsertScoreConfigDialog.UpsertScoreConfigDialog: FunctionTooLong \u2014 UpsertScoreConfigDialog runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"48613e913ab4ac2a1b83973d3b43581a62297ead9c8fa304ebdfcb640e4e0c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repositories/scores.ts: FileTooLong \u2014 1652 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1152 over it, 3.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18672a3799a753747801849d22cd6346c6211725eba7e7a81e6f02d5bf431b55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: otel/OtelIngestionProcessor.ts: FileTooLong \u2014 1646 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1146 over it, 3.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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"081e845503bc44d836e994f2de2f5804d695ae3429c650c5ae6e3fbbfc1f7964"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evalService.createEvalJobs: FunctionTooLong \u2014 createEvalJobs runs 329 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 229 over it, 3.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":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"32675f55cec022a2db16d553270aae49b89a101930fd0be55de319c37a5612ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PromptModelStep.PromptModelStep: FunctionTooLong \u2014 PromptModelStep runs 325 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 225 over it, 3.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":"langfuse/web/src/features/experiments/components/steps/PromptModelStep.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddd6aaacc202fe1e1882ac1ea863c4222d4b44f3c49e6d7d4bf61d4d7dc968b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/router.ts: FileTooLong \u2014 1622 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1122 over it, 3.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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a173b318ca4dc54d9d1d2f6fa633c086780d207fcc7aa5fad7f687bb8f7d11"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NewDatasetItemForm.NewDatasetItemForm: FunctionTooLong \u2014 NewDatasetItemForm runs 322 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 222 over it, 3.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":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa2baee163e02d1cb110186d053c294a1a302b68ac2504ee7af067dbe1b3fe8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IOPreviewJSON.IOPreviewJSONInner: FunctionTooLong \u2014 IOPreviewJSONInner runs 319 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 219 over it, 3.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSON.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0ac60c66a89af20539e344ce9c56a678aa67b11f24dc226da3f74f20e90d08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetItemsTable.DatasetItemsTable: FunctionTooLong \u2014 DatasetItemsTable runs 319 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 219 over it, 3.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9662241f91b37970516113b0967dfa7aaddc0e0c6aec4fe0bae5e8ab559add8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BillingService: ClassTooLong \u2014 1272 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 872 over it, 3.18\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":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc640161079f4d456867103585c95c5c0794b3b33f6fcbd77b6d2133732f386"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.DashboardDetail: FunctionTooLong \u2014 DashboardDetail runs 316 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 216 over it, 3.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":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc4345cb469edab2418e4ad20976a2136d3e649fbc80fe0aac98c749c891559"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: template-form.InnerEvalTemplateForm: FunctionTooLong \u2014 InnerEvalTemplateForm runs 315 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 215 over it, 3.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"174717bde4ea6dc135f21ee3e6329fae494f672e9c013ca967af3549b20e1ec3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repositories/observations.ts: FileTooLong \u2014 1573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1073 over it, 3.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"215de0ad995ccdad71db622a64468420be40acf3f9f85b191948cd76ffbd3f9b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WidgetForm: ClassTooLong \u2014 1244 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 844 over it, 3.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"796206f2d1cade407672ecbdfe2e59d588c87a5bfd54a3eb10d02b2295a6a2c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buildGraphCanvasData.buildTurnMetadataSummary: FunctionTooLong \u2014 buildTurnMetadataSummary runs 300 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae15ea345ce29cd8c0a302bd46590f827868c9475d79202a0239cecc4d22b6c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: users.UsersTable: FunctionTooLong \u2014 UsersTable runs 300 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"langfuse/web/src/pages/project/[projectId]/users.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"231348474e82608a0e11e4495cf2fa49ebd833d2a2c37fe2c748ddc09709ce5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateOrEditAnnotationQueueButton.CreateOrEditAnnotationQueueButton: FunctionTooLong \u2014 CreateOrEditAnnotationQueueButton runs 297 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 197 over it, 2.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3111afcff9b0232560962ba20f12163d3f8193a27c5000f9946fa3a18e4ebce0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IngestionService: ClassTooLong \u2014 1168 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 768 over it, 2.92\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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"275cf7f3183e4f8f4db298e445df65165a4457ac79a6edfd53d6ebaf2d8b0320"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buildGraphCanvasData.buildHierarchyGraphFromStepData: FunctionTooLong \u2014 buildHierarchyGraphFromStepData runs 292 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 192 over it, 2.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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af54806e589471f3860be9b2565a2bab9b2ea49088a7e58b9eaa697cadac11c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mixpanel.MixpanelIntegrationSettingsForm: FunctionTooLong \u2014 MixpanelIntegrationSettingsForm runs 290 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 190 over it, 2.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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c349fdb53269fee319ce8aa8d42da4a990565d66969301302c55c290246d8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/tree-building.clienttest.ts: FileTooLong \u2014 1447 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 947 over it, 2.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42fbe9160bdd30e04a0e09ed8509d3e20a61fb77d66ce51fa6d980926c508c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LogViewToolbar.LogViewToolbar: FunctionTooLong \u2014 LogViewToolbar runs 287 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 187 over it, 2.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":"langfuse/web/src/components/trace2/components/TraceLogView/LogViewToolbar.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ef763f8a9c5c4776458d09ae6d0e7a739f94cbcc02dde2a823b01f2cfbb2c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prompts-table.PromptTable: FunctionTooLong \u2014 PromptTable runs 286 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 186 over it, 2.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8347702219fdf17e205ecd8908c24a1655ef31d58386a12cb881ffb36c68c66c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.verifyClickhouseObservation: FunctionTooLong \u2014 verifyClickhouseObservation runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76de7058e76c06175f896a6234f05bae4ef0f2d2c7a7a330b5dcf502ac056fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: template-selector.TemplateSelector: FunctionTooLong \u2014 TemplateSelector runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.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":"langfuse/web/src/features/evals/components/template-selector.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe5b3a24b63084c8cad0d9929879138949282a9003ee763fe9d044bbdf8d85b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: metrics.PromptVersionTable: FunctionTooLong \u2014 PromptVersionTable 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":"langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a26b8504228ea3f5f4266ff30a7442e3e7adcd5e4e7d167b2453a8a568b39d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: [modelId].ModelDetailPage: FunctionTooLong \u2014 ModelDetailPage runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.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":"langfuse/web/src/pages/project/[projectId]/settings/models/[modelId].tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a7e2571befa41b2608681f25c622b026a2036afc07a3ed7cd54a52baa63aea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: key-value-filter-builder.KeyValueFilterBuilder: FunctionTooLong \u2014 KeyValueFilterBuilder runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/key-value-filter-builder.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc26aef6ce1988bc6d5f120fad1e4ae564d225e130f2e661025dcbcd84c7a10"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: models.ModelTable: FunctionTooLong \u2014 ModelTable runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/models.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebbc57ced54a391e078bde963eed812ec8d4fc3fd79833b8d57fb4509d0415d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PolicyConfirmationDetailsSheet.PolicyConfirmationDetailsSheet: FunctionTooLong \u2014 PolicyConfirmationDetailsSheet 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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationDetailsSheet.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e237ec3a3cee28df181eaf8dffaddc9db01081279021aa2d9c2bad70db20b3c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/dataset-router.ts: FileTooLong \u2014 1367 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: datasetRouter (274-1969). The bar is 500 significant lines; this is 867 over it, 2.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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"390a15d926f76a4d2e830870b78a2c7034f3f91dacd0142b4c08fbca2a517e2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/WidgetForm.tsx: FileTooLong \u2014 1366 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: WidgetForm (156-1836). The bar is 500 significant lines; this is 866 over it, 2.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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f447c4f9bda1bbe0fdf5a59b5f6f9957209437a7ad5aed5de5f3b1647358be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: IngestionService/index.ts: FileTooLong \u2014 1365 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: IngestionService (252-1957). The bar is 500 significant lines; this is 865 over it, 2.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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b7110683ee4626b95addf324351c2a2e74d5dc110ed427e4530fbe238ff300"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdvancedJsonSection.AdvancedJsonSection: FunctionTooLong \u2014 AdvancedJsonSection runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.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":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e26d5231cfcfea6144019838f6eb0b92aa380ba5d4f3a923bccf295bc68628"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetsTable.DatasetsTable: FunctionTooLong \u2014 DatasetsTable runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.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":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe85729ee1994fb347efaadfd5a265716250a2ca3e083c4f8058db4763e05c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: multi-select.MultiSelect: FunctionTooLong \u2014 MultiSelect runs 269 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 169 over it, 2.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":"langfuse/web/src/features/filters/components/multi-select.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4830421597961aebc96635c54ccb430407c93f874e765f48f16ad81cb8d38e4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/stripeBillingService.ts: FileTooLong \u2014 1336 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: BillingService (67-2075). The bar is 500 significant lines; this is 836 over it, 2.67\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":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9f28bdf6a968f1953a952c56026539fdf5e4c0aa725fa8c681baa52a3639cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: arbiteros_kernel/policy_engine_bat.py: FileTooLong \u2014 1326 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 826 over it, 2.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d374defb88bcaed8f80f149d38ae0794b2232199cdfe2896678dbcdb4759a2b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TraceDetailView.TraceDetailView: FunctionTooLong \u2014 TraceDetailView runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6939274c4e58ba42a49ea108901027f56da6e7a495a3e3c04dfd6202e655a252"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: table/data-table-controls.tsx: FileTooLong \u2014 1312 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 812 over it, 2.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8342659fef21c6607434eae4be5d85fdc9f1b71d875a6394721f07994ac125"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BillingService.changePlan: MethodTooLong \u2014 changePlan runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.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":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"151d4eff9fe7f09652270961fcc7d1b5bb49c035d9270bbcf68540a294273a0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GovernanceOverviewPanel.GovernanceOverviewPanel: FunctionTooLong \u2014 GovernanceOverviewPanel runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b28ff8e4d9c8d2e6860806688d0ee67d82394b9b9bff899a36f7d72590aba12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useScoreAnalyticsQuery.useScoreAnalyticsQuery.data: FunctionTooLong \u2014 useScoreAnalyticsQuery.data runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.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":"langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"7267a6048786f14bfaf58ab973d93a6094ed434075eff2d33648d22047dfa6c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sign-in.SignIn: FunctionTooLong \u2014 SignIn runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e957d37081b4a5f8d468c9936446e2d32b836e2068236d02c1ca1eea3cb8d7e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: observation-stream.getObservationStream: FunctionTooLong \u2014 getObservationStream runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/observation-stream.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f085a5be1f7dc520001bf918039876adc351283ddb0203976a74fe352a3e655"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataGenerator.generateSupportChatSessionData: MethodTooLong \u2014 generateSupportChatSessionData runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3cc21b3cf93ee489c462f1e1cc0075fc76c48a760924d9f34dca15dfdbe5f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: types.createAllIngestionSchemas: FunctionTooLong \u2014 createAllIngestionSchemas runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/types.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8545cfc95c3744a131343f30ed7ecda4df60aa64d32bd43f1497b36a5a683b64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/dataModel.ts: FileTooLong \u2014 1275 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 775 over it, 2.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/dataModel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d0aeb44ded461a3ee962f88e3135d8d981688eed79d02f42f39d30c245a8bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnnotationQueueItemsTable.AnnotationQueueItemsTable: FunctionTooLong \u2014 AnnotationQueueItemsTable 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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e91093a7004056dfba721a25c906b82359b1c54d972e85a84989b9884f4e912"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExperienceSummaryView.ExperienceSummaryView: FunctionTooLong \u2014 ExperienceSummaryView 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":"langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1870d261b0b8fecaf7392afc84d04dd320fe65d3665932ec3b33823d23f361"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IOPreview.IOPreview: FunctionTooLong \u2014 IOPreview runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/IOPreview.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d359237e2015a9a0c408ce6fe662a616763be47c358a6afc835b096e2e7b37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repositories/traces.ts: FileTooLong \u2014 1252 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 752 over it, 2.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfd619f0e3c2227505ed9b436e9a26428066d8f03b9bcfa0db24e027c808f44"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table-toolbar.DataTableToolbar: FunctionTooLong \u2014 DataTableToolbar runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-toolbar.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9aefb725bf25c31517eec2d35e12de182221a467b6f421ea7db7755d1a3ad24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sessions-ui-table-service.getSessionsTableGeneric: FunctionTooLong \u2014 getSessionsTableGeneric runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/sessions-ui-table-service.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f1b59a23f2a3e3a87e0a8f3923ecd1a1db9be9ebd2b53e725f1cf4aab5cf63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: traces-ui-table-service.getTracesTableGeneric: FunctionTooLong \u2014 getTracesTableGeneric runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f65d3e5badb6cb2d6d12a4744c65cc1b5d74929869be758391eea84e969a93f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: seed-postgres.main: FunctionTooLong \u2014 main runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7b2a1f9e9a7d0b6e1653bf6d01a18f5d427914c211dc5affc8054409d2a194"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table.DataTable: FunctionTooLong \u2014 DataTable runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c527f023dabb4b13358d7bac314773c94e28f1d245a081ca533b3bee36dda8e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ModelUsageChart.ModelUsageChart: FunctionTooLong \u2014 ModelUsageChart runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d272a09ce9ec18d08b8b11c8e083e03591a6739ad774995fc8effbb7039e48f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataGenerator: ClassTooLong \u2014 980 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 580 over it, 2.45\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":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c8dfbd8500021b7f294da885b9b47a243fc8effff410902b876078fe418aa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trace-graph-view/buildGraphCanvasData.ts: FileTooLong \u2014 1223 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 723 over it, 2.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeee976e59a2b0562ae8dc2c7281ac00902d2b732f6ab628ca7085063ad3af92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardWidget.DashboardWidget: FunctionTooLong \u2014 DashboardWidget runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.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":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29ea4df9de2fe69f68fe131d9138031f8708a5546fbf438ef0f2dd3ac63acd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CorrectedOutputField.CorrectedOutputField: FunctionTooLong \u2014 CorrectedOutputField runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/CorrectedOutputField.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96a17d504a0a1075fe1e8a3529c2cd40d0c5b199876cfa0a839d6983f8e03b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: posthog.PostHogIntegrationSettings: FunctionTooLong \u2014 PostHogIntegrationSettings runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe52e0bac9d58974f9caf945aacd4e9d2d8f2b555e7c6723add2bb5677d5b7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CreateLLMApiKeyForm: ClassTooLong \u2014 970 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 570 over it, 2.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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a34215b98bc1f0c3e96dde4c6a2c8e74a6e13e2d7000d5c76360f2bd674b72"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: automations.AutomationsPage: FunctionTooLong \u2014 AutomationsPage runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automations.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f6a8a8defc15936c19c82364d7bd17a34aa8d9d68130ef769f94d75a4c4358"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table-controls.CategoricalFacet: FunctionTooLong \u2014 CategoricalFacet runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdccd1de892814b052879543d091765c958430e8fd4c7f63f371d2321fdaa9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PrettyJsonView.JsonPrettyTable: FunctionTooLong \u2014 JsonPrettyTable runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"305f906f192f64a95314c59e7080c38fa653d3d7e6ab340445d8819547f9c6b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repositories/dataset-items.ts: FileTooLong \u2014 1188 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 688 over it, 2.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"761ff4c7bbf38d399eec3c4c54b14723277a8e60c306277cff4ff3ad2c482aa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remap-evaluator.RemapEvaluatorPage: FunctionTooLong \u2014 RemapEvaluatorPage runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/remap-evaluator.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"932e70a663b3d1beb5c346aef048ac8a3045fbd15d151e26f7201d998e07bdbb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BillingSwitchPlanDialog.BillingSwitchPlanDialog: FunctionTooLong \u2014 BillingSwitchPlanDialog runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.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":"langfuse/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a06a418aff7333a335d9e4cec165759b48c7ff8c48faf12b039975a3c708738"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sign-in.SSOButtons: FunctionTooLong \u2014 SSOButtons runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc106385e30bb284e5d5b2a04a005abdbe9c44f327089e025b89358be951c310"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: arbiteros_kernel/policy_runtime.py: FileTooLong \u2014 1163 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 663 over it, 2.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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"684478c7de2a142ed9cf5a5606f65294ac9ea957b8505d8def48760418cb8a89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WebhookActionForm.WebhookActionForm: FunctionTooLong \u2014 WebhookActionForm runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a682b4e03275d3d9dd6a4719ba10b8b1f95d4a760230ccf8da48c13a4a770ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetRunItemsByRunTable.DatasetRunItemsByRunTable: FunctionTooLong \u2014 DatasetRunItemsByRunTable runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.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":"langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06730d8364143d6fb2827233792da312aa9f4de3ce54cd0456bc78ae663cdd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Dataset: FunctionTooLong \u2014 Dataset runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfff350a1f15fe977d2c0b2fb95a23a26cd2a5f194b05ed1f44b4d95879bff47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: trace-stream.getTraceStream: FunctionTooLong \u2014 getTraceStream runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/trace-stream.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"09012d3bdb84360936ce189a6bf0e9fba3a28ce6bb6f022fb25125d4fc108d45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/CreateLLMApiKeyForm.tsx: FileTooLong \u2014 1132 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: CreateLLMApiKeyForm (228-1403). The bar is 500 significant lines; this is 632 over it, 2.26\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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12bd0a561b7e026d2d5584d77bebb92f8e40dcb0494b192a4a3e1c4c2f3643a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ModelParameters: FunctionTooLong \u2014 ModelParameters runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aed7b9b555dedc677cc5915001e0f787d52ac65e48f7e6549b6c1f3b693d7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TraceSettingsDropdown.TraceSettingsDropdown: FunctionTooLong \u2014 TraceSettingsDropdown runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc8f23d02df11a7cf427284fc1bef00a6097711fd96abd047bf8baf1de8e01d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Heatmap.Heatmap: FunctionTooLong \u2014 Heatmap runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d370441462970e7383951042965e0bb2a0ddb6116faa3d6738504e9ee27c4c21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: breadcrumb.BreadcrumbComponent: FunctionTooLong \u2014 BreadcrumbComponent runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.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":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c617f8190a48bb288141a92d3d1734741ccace47b50008cec1e6b319fd69812"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handleEventPropagationJob.handleEventPropagationJob: FunctionTooLong \u2014 handleEventPropagationJob runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleEventPropagationJob.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7673d42ff378a77b2c8c97045cc6fe0e204c21381d8258830a16fd4e7ccde422"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dataset-run-items.getDatasetRunsTableInternal: FunctionTooLong \u2014 getDatasetRunsTableInternal runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d63db882d49595799e786b0cb26bf7862fad6d8790eaaa78bbbaf057b30da1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IntroSection.IntroSection: FunctionTooLong \u2014 IntroSection runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"langfuse/web/src/features/support-chat/IntroSection.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9191dcd0d393d22b19ac7cf4dbf10c554e73b00826f422a6812dfb60a6017427"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TimelineChartCard.TimelineChartCard: FunctionTooLong \u2014 TimelineChartCard runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef7155cde63f05e7772d443355180028f4bcbe3e401c6c119ba05996d1c0fba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: charts.DatasetCompare: FunctionTooLong \u2014 DatasetCompare runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9c3cbaf124433dab71e365ac1f493e18ef475dcc10c51b954d3487e5f1c4ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: policy/relational_policy.py: FileTooLong \u2014 1101 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 601 over it, 2.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":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a5a8fc4ef3ae7ea12e0c6f3a4d800e828ab60651ec78f4616336e4e115febe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAddToDatasetWizard.useAddToDatasetWizard: FunctionTooLong \u2014 useAddToDatasetWizard 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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/useAddToDatasetWizard.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d469ad31ddc79516026b0b0593b4e5e18e6da99f3f4940d701262872b594134a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/router.ts: FileTooLong \u2014 1077 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 577 over it, 2.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b5e5ebd270f5ee4274c6444ecbaf8e1b1bd1ad1ceb028c35e4e9a73dece7e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PolicyViolationTable.PolicyViolationTable: FunctionTooLong \u2014 PolicyViolationTable runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyViolationTable.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ab8fe18184d0ab3cd5b15775e984cf9272d86ea90961d51cc686e7e22114b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: promptRouter: ClassTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 458 over it, 2.15\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":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b9c995ca54987482a4098edb379287e91dcbd64a49c7c16551875900e36d3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/promptRouter.ts: FileTooLong \u2014 1064 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: promptRouter (87-1364). The bar is 500 significant lines; this is 564 over it, 2.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":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73d0595a002791d7e1ae4581dd1c21371d6e7ed05a2ae15cabcbc8766b8d005"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Dashboard: FunctionTooLong \u2014 Dashboard runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/index.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57db2db66e132b1110a617d07ca26aac26ef475d480a2c9f8dd2255ebe1f408"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: buildScoreComparisonQuery: ClassTooLong \u2014 847 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 447 over it, 2.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"008e70f0a0afcec47526d296978d6174287220c25d8cd85935e92d2419b7e126"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sign-up.SignIn: FunctionTooLong \u2014 SignIn 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":"langfuse/web/src/pages/auth/sign-up.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a08a71e0b033d97b2d0a8fe1b7acd31ccea4601071a0b485635e35129427edf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: event-stream.getEventsStream: FunctionTooLong \u2014 getEventsStream runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"79632e3dbe62935873099849d4f0d6630642b7611dc7ada307b3bfc12dd7f564"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: date-picker.TimeRangePicker: FunctionTooLong \u2014 TimeRangePicker runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46a14f323ca11a65ac68ac8d25559e7e57c4df425e1c2cee2cd820d3c493954"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetCompareRunsTable.DatasetCompareRunsTableInternal: FunctionTooLong \u2014 DatasetCompareRunsTableInternal runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.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":"langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1982fb0b730fc2088485d65812bd792bf5fbc578510e9eecf9b4d9e14486d6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateProjectMemberButton.CreateProjectMemberButton: FunctionTooLong \u2014 CreateProjectMemberButton runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"339f8ba32a6b0e70e5f4251765b97597d22518bb785f8dd4bf67a0e9d134e3fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: auth.getAuthOptions: FunctionTooLong \u2014 getAuthOptions runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/auth.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"147c768e2ae50a2e159b8720c64146c55bf643a57fc314c2f89a69a7119341e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MappingPreviewPanel.MappingPreviewPanel: FunctionTooLong \u2014 MappingPreviewPanel 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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingPreviewPanel.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a30fd306e2c180a2322a05ff531d0596682012f15513eeccdc6cea113c3721"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/router.ts: FileTooLong \u2014 1020 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: evalRouter (214-1457). The bar is 500 significant lines; this is 520 over it, 2.04\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":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00301b15bb726283600d5a602f3e5a08367ba1ddb7350c0da27afc13ab2c59b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table-controls.DataTableControls: FunctionTooLong \u2014 DataTableControls runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"36322dd9679fdc7de0086007526b6ec1ead3776964f188c3ff6b9b72edd3acd5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: useSidebarFilterState: ClassTooLong \u2014 815 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 415 over it, 2.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97480cd8c25a657a825b68818a82e5e5db20d2b4f9da8012fe8b08fce55c325d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/data-generators.ts: FileTooLong \u2014 1018 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: DataGenerator (48-1323). The bar is 500 significant lines; this is 518 over it, 2.04\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":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafba427fdbb13ca6c2abbcf791d791cdd09676c26550c06d31c98ebdce4bbab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/useSidebarFilterState.tsx: FileTooLong \u2014 1016 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: useSidebarFilterState (313-1584). The bar is 500 significant lines; this is 516 over it, 2.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":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e963dbe9719e991ed26ddc67024948692ed66b51d7f0fd6d734480628535d18e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateExperimentsForm.CreateExperimentsForm: FunctionTooLong \u2014 CreateExperimentsForm 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":"langfuse/web/src/features/experiments/components/CreateExperimentsForm.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1a3f5b191c8a19552f14d71b69c195e9a29254efd567e43ebc256b7f1f62b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BillingInvoiceTable.BillingInvoiceTable: FunctionTooLong \u2014 BillingInvoiceTable 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":"langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"073204eac0b9fc09a0845d7e70ee2301b79e5dc27bfcabe68be5792d5e5627a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetStep.DatasetStep: FunctionTooLong \u2014 DatasetStep 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":"langfuse/web/src/features/experiments/components/steps/DatasetStep.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2bdb0342e7d0f333d7453272518bec7a4109af961cfb65f768cdb5b5d8b6e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: use-cases/traces.tsx: FileTooLong \u2014 1006 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: TracesTable (134-1293). 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":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4036e9741ddac1992ad70c45ed0b9fd6ea23dc680998ffa3fc463514b26e206"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataGenerator.generateComprehensiveAIWorkflowTrace: MethodTooLong \u2014 generateComprehensiveAIWorkflowTrace 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":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda01e48293180b2e0de3b49bba198a310135c13e38cfeb73dfbe0307540593f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: experience/index.tsx: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ExperienceSummaryPage (113-1262). The bar is 500 significant lines; this is 502 over it, 2.00\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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"419c5f3965eff93129fecf9ced2b834d8fdfee0ca185b73a9a9f91a1a93b547a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: eval-log.EvalLogTable: FunctionTooLong \u2014 EvalLogTable runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-log.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f2dc05b95c74af575eda7716b5e250e2eafc0a1e0febf493a7715ebc8f8aa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TraceLogView.TraceLogView: FunctionTooLong \u2014 TraceLogView runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/TraceLogView.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eafdb8b0e99dfdab80cde232dbf89357f470d48c6ecbd3e62779053c96b3272"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetRunItemsByItemTable.DatasetRunItemsByItemTable: FunctionTooLong \u2014 DatasetRunItemsByItemTable runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a9c49afe54e445d8dbdfad42e98dd995ae2bed4093a915817253e266a0233f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/PrettyJsonView.tsx: FileTooLong \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 493 over it, 1.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc50f4c7fadcb72c92d0ec9be749dcc699b617d70fa8292d9245617b12b35a02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table-column-visibility-filter.DataTableColumnVisibilityFilter: FunctionTooLong \u2014 DataTableColumnVisibilityFilter runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-column-visibility-filter.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65266a2fd70833e5039b7925d9f9f4b969d6a2134718a3143f903613592dd83"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetVersionHistoryPanel.DatasetVersionHistoryPanel: FunctionTooLong \u2014 DatasetVersionHistoryPanel runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.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":"langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11c06cd0a787055da480d956503a7b5e5f415c439e9e0c0592e74c0eabe700a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreviewCsvImport.PreviewCsvImport: FunctionTooLong \u2014 PreviewCsvImport runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.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":"langfuse/web/src/features/datasets/components/PreviewCsvImport.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"880b591772059bf3f00f233b6f35a48b3fc54726f124379f1dba978f81787e71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evaluator-selector.EvaluatorSelector: FunctionTooLong \u2014 EvaluatorSelector runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.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":"langfuse/web/src/features/evals/components/evaluator-selector.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"87026fbc50d12a8fd30959d5a1b03654982b24c54a98b648ef3981a34784e699"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useCsvMapping.useCsvMapping: FunctionTooLong \u2014 useCsvMapping runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvMapping.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d5f1f7dcb60f74232461486462c027d312d479473373619f70097a2e15c5de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/inner-evaluator-form.tsx: FileTooLong \u2014 966 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: InnerEvaluatorForm (257-1175). The bar is 500 significant lines; this is 466 over it, 1.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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"095922b29a5fb06caf3c5ba2779c2dceffa247da481d95a5fac3faa83ef8ccf1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: queues/autoErrorAnalysisQueue.ts: FileTooLong \u2014 961 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 461 over it, 1.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9470cf932059c8e34b7289ef1de01c333ade25d9a0c01f47692f768af6d94d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DistributionNumericCard.DistributionNumericCard: FunctionTooLong \u2014 DistributionNumericCard runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcb785adb65b4e83b6cd0bdeb8e4d066644d533081f3418e446086f1eeac348"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChannelSelector.ChannelSelector: FunctionTooLong \u2014 ChannelSelector runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1759a4eaf2d88c59a94073f4fa688772ed2119ebbcdbbcd9cc3a581a4f3b7468"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdvancedJsonViewer.AdvancedJsonViewer: FunctionTooLong \u2014 AdvancedJsonViewer 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4192a6490427db865f0bd2d90dbe7f45843e495ae09fa03c8ed8deb68385096"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repositories/dataset-run-items.ts: FileTooLong \u2014 950 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 450 over it, 1.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7672c13202bee933f436b0bb0e5e95ee2e04c9be5e1442bd3bd0791da7fddc7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: score-configs.ScoreConfigsTable: FunctionTooLong \u2014 ScoreConfigsTable runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/score-configs.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9484302a131ea56bdcc5529d3cd062d32d36967217c28a8ec4a9a954497f399f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetItemDetailPage.DatasetItemDetailPage: FunctionTooLong \u2014 DatasetItemDetailPage runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemDetailPage.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f597dad8df4073d8bbbd8387f5a7637f03fed52fec58b8125b0ba527b6fc4592"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditDatasetItem.EditDatasetItem: FunctionTooLong \u2014 EditDatasetItem runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e624e1c9f72086b6c5d3e13374e9e359fe2d50734bd8f1a27eefa294d4800d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handleCloudUsageMeteringJob.handleCloudUsageMeteringJob: FunctionTooLong \u2014 handleCloudUsageMeteringJob runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b792f0bf48260f41ade91097d0ac1fbd299092d4b6b9063fcf5972c1198e4401"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: [projectId]/policy.tsx: FileTooLong \u2014 938 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: PolicyGovernancePage (163-1185). The bar is 500 significant lines; this is 438 over it, 1.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":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cf8ef25f6bae7bff85bb50b5cf06a370809580381d591b86fe438299fb5eac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: observations.getObservationsTableInternal: FunctionTooLong \u2014 getObservationsTableInternal 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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0d0b91765c4ddfe7accf79b48b8c11d9d9110656c66efb37b3dc86dadca5e9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QueryBuilder: ClassTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 344 over it, 1.86\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":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5721b407d13f612bc36d782627aac85e3dc2439ba6f5388beaf402da7bd95d12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnnotationQueuesTable.AnnotationQueuesTable: FunctionTooLong \u2014 AnnotationQueuesTable 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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c094ac1bd44e7ad9a2e156df39d00e2c829b82c723a9a70e7c9a759001ee3b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ResetPasswordPage.ResetPasswordPage: FunctionTooLong \u2014 ResetPasswordPage 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":"langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97d342d92f030ba45620d291312fbb68fb33610c82496738e852a5fe71357c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DistributionCategoricalCard.DistributionCategoricalCard: FunctionTooLong \u2014 DistributionCategoricalCard 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":"langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b262fd426c836433a23c916c3ada335bd9622b92f7ffc79256dabc665e56bb95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analytics.ScoresAnalyticsV2Page: FunctionTooLong \u2014 ScoresAnalyticsV2Page 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":"langfuse/web/src/pages/project/[projectId]/scores/analytics.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e3452ca8010a81979f92d6f6b9cf156bc8fe02ffa710fb54bf756c1748bf2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PolicyConfirmationStatsCard.PolicyConfirmationStatsCard: FunctionTooLong \u2014 PolicyConfirmationStatsCard runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c448eb3bbb7c8440a20d8f554218bdb53adb8293f683d8e616a9c66170181e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ErrorAnalysisDropdown.FormattedAnalysisView: FunctionTooLong \u2014 FormattedAnalysisView runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae187bfca5d5ad2dae47186713065804d2ae022efd125e98183d3f95838db59f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TracePage.TracePage: FunctionTooLong \u2014 TracePage 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":"langfuse/web/src/components/trace2/TracePage.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eed95274ff898e0401fc7bd4ff8c8b9c54478946c7d68052abbe6f78c35c61e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LatencyTables.LatencyTables: FunctionTooLong \u2014 LatencyTables 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":"langfuse/web/src/features/dashboard/components/LatencyTables.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee96b10ba94e6b48bfb4425853f8710e50b4c3a36572f9b2d7e1c47f898f0115"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetAggregateTableCell.DatasetAggregateCellContent: FunctionTooLong \u2014 DatasetAggregateCellContent 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":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade67f228eb50a982a116dc411c61c61544b4ca36d0be0e9af75e4efab1ceda2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: otelIngestionQueue.otelIngestionQueueProcessor: FunctionTooLong \u2014 otelIngestionQueueProcessor 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":"langfuse/worker/src/queues/otelIngestionQueue.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"02927573b5d606a6a08820ae11b2a8eb5119d0513ccc10c64a36f49d070dbb83"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TraceGraphCanvas: ClassTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 334 over it, 1.84\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":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de2ff4b16d9a67169b15c39d723a8248c41e48db854ee903dc44af46a2df0c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PromptSelectionDialog.PromptSelectionDialog: FunctionTooLong \u2014 PromptSelectionDialog runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/PromptSelectionDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"57979d0c1c40881b93b539eddebccbacff7729f121d89c39d7948ac35bb32c21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table-pagination.DataTablePagination: FunctionTooLong \u2014 DataTablePagination 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":"langfuse/web/src/components/table/data-table-pagination.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce0d5f75e747c2219d614ba56b3b5ae9d12239ae52b5816f09475b7cec7ad3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ingestionQueue.ingestionQueueProcessorBuilder: FunctionTooLong \u2014 ingestionQueueProcessorBuilder 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":"langfuse/worker/src/queues/ingestionQueue.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e147fed35969c1ec95517cdf8381a96e8d3275827c5f723c3790910e0b5b1d19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EvaluatorSelectionStep.EvaluatorSelectionStep: FunctionTooLong \u2014 EvaluatorSelectionStep runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/EvaluatorSelectionStep.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deb846587dfbe4dea96c1566fc157945715df652b5f46641f5a35f4b3dff441"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: integrations/blobstorage.tsx: FileTooLong \u2014 881 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: BlobStorageIntegrationSettingsForm (179-1029). The bar is 500 significant lines; this is 381 over it, 1.76\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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6bfaa504c3140a15ddafe3dcd1aeb66872c352c5b85676d79306345086f413"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatMessageComponent.ChatMessageComponent: FunctionTooLong \u2014 ChatMessageComponent runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0739fdfa32bc50ea818654252ff606cb875312e8af783970cf058c35c9e365c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteExperimentUpsertForm.RemoteExperimentUpsertForm: FunctionTooLong \u2014 RemoteExperimentUpsertForm runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6281995d60774c794253aaf9920a11f271d2b834075a5fbb8285c8049eb86cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.SetPromptVersionLabels: FunctionTooLong \u2014 SetPromptVersionLabels runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba298b2f1d14b3043cb2a5922a97d48f2235927a7b30d3d08e68a670fe90907b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DistributionBooleanCard.DistributionBooleanCard: FunctionTooLong \u2014 DistributionBooleanCard runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"012d1a8ba57ff47cab10c4c4e3a40394d82f72ec13dac647fd11ba1a7f66afe5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreDistributionCategoricalChart.ScoreDistributionCategoricalChart: FunctionTooLong \u2014 ScoreDistributionCategoricalChart runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionCategoricalChart.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"195e4fb32e72e8b4900b6fb84dfd09f783d9eaa5addb67d787f514ff36b4da7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ingestionQueue.ingestionQueueProcessorBuilder.\u003Creturned closure\u003E: FunctionTooLong \u2014 ingestionQueueProcessorBuilder.\u003Creturned closure\u003E runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/ingestionQueue.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22f8061d7897cb6020f75e15d5d840ac2ee033e0428621ac76e49a8e852bb47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/index.tsx: FileTooLong \u2014 869 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 369 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c59b052b6c320580c442b583e8e61ff963a5c25d507b45e0400f8fbf755d585"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SlackConnectionCard.SlackConnectionCard: FunctionTooLong \u2014 SlackConnectionCard runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectionCard.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a597238f571fdd46e57c37b281c776bf3d50453ac02fb76bc24ef666bd99a6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BatchExportsTable.BatchExportsTable: FunctionTooLong \u2014 BatchExportsTable runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-exports/components/BatchExportsTable.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a129b2445642aa6e4044e88e699fe5e102d430a83d948c8f295e6453a5d4c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/buildScoreComparisonQuery.ts: FileTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: buildScoreComparisonQuery (50-1014). The bar is 500 significant lines; this is 353 over it, 1.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":"langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9cb00e052bcc37150267cef0075ab5da9759c51526c98df3e3d545f3585987"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PolicyEngine: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cae391826deca8e4c590c36eacedee27631e308134c38889c93711494c5b4a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JSONTableView.JSONTableView: FunctionTooLong \u2014 JSONTableView runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fbf6e1b75d921e8fddd7ee22ba42997f313f15c359bfd2c75d893a6c5ce085"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VirtualizedJsonViewer.VirtualizedJsonViewer: FunctionTooLong \u2014 VirtualizedJsonViewer runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7130119aadac834b27b6a0dd6fa5d9d58e487043dd52c1c6054729f8b81648"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NewOrganizationForm.NewOrganizationForm: FunctionTooLong \u2014 NewOrganizationForm runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fcb02bdd44484477fca9edc6ab37f4b0a0c87ae5105819fa1d6bf5ce0af3fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/filter-builder.tsx: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: FilterBuilderForm (414-1039). The bar is 500 significant lines; this is 349 over it, 1.70\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":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0e261b7ffba0799e93c17844f131a80e4497be6f4e2fa29475d03a1226fbbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SlackDisconnectButton.SlackDisconnectButton: FunctionTooLong \u2014 SlackDisconnectButton 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":"langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b88d49b778f771077f53e3ef1f2c140d1c67b22a901328135ade8adcc1b0ad9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.main: FunctionTooLong \u2014 main 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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e205a41c5bf438281a56be932d4915c63a5777d6dcb903034c13fb471cebd6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handleBatchExportJob.handleBatchExportJob: FunctionTooLong \u2014 handleBatchExportJob runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7037fec29b6e4af897ae3ac8a7c69cd32d1ff66a685f00dba3fcaf0bc656a055"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TransferProjectButton.TransferProjectButton: FunctionTooLong \u2014 TransferProjectButton runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/TransferProjectButton.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67264bc8ecb750f8c085b264161e524a727eaa8af2113b8f7c43b66c2d7aaa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/TraceGraphCanvas.tsx: FileTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: TraceGraphCanvas (65-1052). The bar is 500 significant lines; this is 327 over it, 1.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":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"510a594a26195e9bb1ac32677614542440b95c8565b7b89f8360afb71560d31d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useTableViewManager.useTableViewManager: FunctionTooLong \u2014 useTableViewManager runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/table-view-presets/hooks/useTableViewManager.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fa2511da7743774f1e723671aaf39f94896de38715cb0ee29778df76933d0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserChart.UserChart: FunctionTooLong \u2014 UserChart runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/UserChart.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d2d7c4d99dbe740f707154eba54410e01bf10b034a52673edfb88960d67f94"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackfillEventsHistoricFromParts.run: MethodTooLong \u2014 run runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"673061b6348ff51f6897bacf69f32f9fb46a8714d056d09eec86a1e7ad06477a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/data-table-view-presets-drawer.tsx: FileTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: TableViewPresetsDrawer (161-1002). The bar is 500 significant lines; this is 314 over it, 1.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":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fcb8f9083606896b6486816baa87087753b8bd095ada917685a99466602673"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AIFeatureSwitch.AIFeatureSwitch: FunctionTooLong \u2014 AIFeatureSwitch runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/AIFeatureSwitch.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"077ba1d0005f5f9369c7a96d7da560e126389a9050c0ea57cf610326534b04ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: processEventBatch.processEventBatch: FunctionTooLong \u2014 processEventBatch runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/processEventBatch.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c84980dc492226568a65273e74e3b339b5b8b5840d8363b07a9a8334c00cb19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: multi-select-combobox.MultiSelectCombobox: FunctionTooLong \u2014 MultiSelectCombobox runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/multi-select-combobox.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebac767355df7dfa8ba87db4aa6b2ce86bb32f029eaa1e7cf9624253b44bb41b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomMappingEditor.CustomMappingEditor: FunctionTooLong \u2014 CustomMappingEditor 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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/CustomMappingEditor.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c6965ee64e7cb575daaf8faf7ebd510116c3009071ca27c6d42891c4f1aa28"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Chart.Chart: FunctionTooLong \u2014 Chart 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":"langfuse/web/src/features/widgets/chart-library/Chart.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4b099ea092dbb23e98e99b28183192eda0069bc8746842135ac0908504f230"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProtectedLabelsSettings.ProtectedLabelsSettings: FunctionTooLong \u2014 ProtectedLabelsSettings runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.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":"langfuse/web/src/features/prompts/components/ProtectedLabelsSettings.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"35beee9cf1379354a2ccd71fc480e62e5a90ed378f3f1880047c44cbd09b6ebc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreDistributionBooleanChart.ScoreDistributionBooleanChart: FunctionTooLong \u2014 ScoreDistributionBooleanChart runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3676453705f63f7d1849546c2d6f22ea3f75a3a97abc22f9c48fe05de6c239f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StatusStep.StatusStep: FunctionTooLong \u2014 StatusStep runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/StatusStep.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8469d5c203ffd5ae90343c1b39b808169e9498221ed63df42c8a048f6322f6cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TierConditionsEditor.TierConditionsEditor: FunctionTooLong \u2014 TierConditionsEditor runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15cadbf0acc3099a058afa6ac2625ea0da545007588a4d34fa6797f523081e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/dashboard-router.ts: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 288 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"400c1e9c104d33c8a834b02d0f7da282b62a6cbfcfe98bd1ad362afea032cd4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: clickhouse-sql/event-query-builder.ts: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 285 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"402c1aa335cf39da74b50666c97f675358f0a50fd595c3d25b40ae722e74768c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BillingService.getSubscriptionInfo: MethodTooLong \u2014 getSubscriptionInfo runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e96efb8d8f49a112b16caefec7cfb9d9d2a42d1a334717dcc925ff14aee399"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReviewStep.ReviewStep: FunctionTooLong \u2014 ReviewStep runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c8c85fb0dd534121d2ab807d4d398f48ef22a17c1361d612f1d22f092b3912"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.handler: FunctionTooLong \u2014 handler runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scim/Users/index.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c7ab4e610854d1589df2ffdf61a7a4b297823858aa56d45f3ff614e2c2cd95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: evaluation/evalService.ts: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"135856b2ef65a5f029ec177217bbb5906df7e4a6f69232f7d9f24f1ef44f59cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/queryBuilder.ts: FileTooLong \u2014 780 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: QueryBuilder (42-1312). The bar is 500 significant lines; this is 280 over it, 1.56\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf5018db668f308faf4ee454a75bcbb1c4fdf108e86bf4b3005aad5409fe154"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatMessage.ChatMessage: FunctionTooLong \u2014 ChatMessage 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":"langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"32294738990a7c9d71f0a6ee37da584baf599bc48a7187e774e814c300c07d60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JsonValue.JsonValue: FunctionTooLong \u2014 JsonValue 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"628b980e96058dbc191460f7d63abecc9dd1fc52b6ef251cb3b3dad7d3fbc8df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommentDrawerButton.CommentDrawerButton: FunctionTooLong \u2014 CommentDrawerButton 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":"langfuse/web/src/features/comments/CommentDrawerButton.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83eb336704ba7604bc045e7ac5b1243586ce10f68848f65bf17e69b353f00c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IOPreviewPretty.IOPreviewPretty: FunctionTooLong \u2014 IOPreviewPretty 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":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewPretty.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9205651a3698154369b5566f2858dfc9317493fd3787f33dba8e507f5471073"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TracesTimeSeriesChart.TracesAndObservationsTimeSeriesChart: FunctionTooLong \u2014 TracesAndObservationsTimeSeriesChart 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":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd2054cb6447e11485d3ca58711ea375a706587b5ce8a68d7b5f58736503bc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HeatmapCard.HeatmapCard: FunctionTooLong \u2014 HeatmapCard 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":"langfuse/web/src/features/score-analytics/components/cards/HeatmapCard.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adce31ef6d00795b1fab214fbf1aa7ea328aee6cd8c5aafeacab29a46fef914"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Schemas.handler: FunctionTooLong \u2014 handler 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":"langfuse/web/src/pages/api/public/scim/Schemas.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"85184c1e681e8630337d0caf30542f83b709f3c86f911c3720bcff4f194ae26c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.DatasetCompareInternal: FunctionTooLong \u2014 DatasetCompareInternal 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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/index.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2be855751ee6064d620146f38903fa423416363aaf0f2ebf55da9affc309b69"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TimelineBar.TimelineBar: FunctionTooLong \u2014 TimelineBar runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineBar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9aa19df55af2f572fd035b0c54d9072359e8794987cbe0c46ca719a9caf67e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoresTable.ScoresTable: FunctionTooLong \u2014 ScoresTable runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ScoresTable.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fa9306370124cf834419d961276c448298745e6c6ff23486525801203be62a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserAssignmentSection.UserAssignmentSection: FunctionTooLong \u2014 UserAssignmentSection 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":"langfuse/web/src/features/annotation-queues/components/UserAssignmentSection.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"70931afede979ec408b1c67a53839e8629843190c33c63923a3168a8f38c8c95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RateLimitService.getPlanBasedRateLimitConfig: FunctionTooLong \u2014 getPlanBasedRateLimitConfig 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":"langfuse/web/src/features/public-api/server/RateLimitService.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"696c526804b86f50172f778e060a3e2c75bf61ac63e0df17fec4065dcae563a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: arbiteros_kernel/langfuse_replay.py: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 257 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48865674886ce688f03a1693c271d9127b1fe53acf8cbb2d10352c9fa5739b78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: seeder/seed-postgres.ts: FileTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 255 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a58bcb6d4e4b97c5b3d8d35154815af2714c1fa7df67de21c7a58804b09b357"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MembershipInvitesPage.MembershipInvitesPage: FunctionTooLong \u2014 MembershipInvitesPage runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"812ff80d848f0dac4d9964017cebb5eac9e615245131a892ca6a1566b5b064e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AnnotationForm.tsx: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: InnerAnnotationForm (211-855). The bar is 500 significant lines; this is 250 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":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52641d6228fc74c83f6e623471a1a28c75cb1d74039338f689739e9973739b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: errorTypeFilters.applyErrorTypeFilters: FunctionTooLong \u2014 applyErrorTypeFilters 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":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12d87eaf920dae7d4081a2d625ce7b88145433aaa3d1b6e5516bfb037d8cbf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page-header.PageHeader: FunctionTooLong \u2014 PageHeader runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/page-header.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"00016c004b79b91f7beb558fbbb3878b0174a16be4bac30122d82722126588b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CodeJsonViewer.JSONView: FunctionTooLong \u2014 JSONView runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d005a08c7e150cff2f6c48f94fff1108b8e00fc8cb68200763bd5279e5cddd6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardTable.DashboardTable: FunctionTooLong \u2014 DashboardTable runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4df111e93595318b9aba235a9610c310387d0ba85a0cf28fdc85e6d40f35907"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: eventsService.getEventFilterOptions: FunctionTooLong \u2014 getEventFilterOptions runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/server/eventsService.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb79f1267a32f1741dee3e2e7344f3f2c999e6090ca3c8508bd30a9100884e98"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: filter-builder.PopoverFilterBuilder: FunctionTooLong \u2014 PopoverFilterBuilder runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"490ec4ee0dce3aed3e7e62dbbb19ee62a165ff74915f4b00cbdb502027487780"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: use-cases/scores.tsx: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: ScoresTable (97-925). The bar is 500 significant lines; this is 240 over it, 1.48\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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5e75c6cfd9a1547a41936b61eb36dd7f0291477a9db70fee5ad28d1c570408"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommentList: ClassTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 188 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":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e72f73b0761143cf1b1828eb576028cb4b775249237311b375a8d2f088bf39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: enterprise-sso-required.EnterpriseSsoRequiredPage: FunctionTooLong \u2014 EnterpriseSsoRequiredPage runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/enterprise-sso-required.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cf0822b47bb5e56572848aea1b2d715d1dd448c04228029f28a937b3035f6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: observations_converters.convertObservationPartial: FunctionTooLong \u2014 convertObservationPartial runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations_converters.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"382ab0a1e51ed284a743dcaf75e8c6da61a7f76e33a5323ac99b2b4a9379da14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SpanContent.SpanContent: FunctionTooLong \u2014 SpanContent runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/SpanContent.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e458dd4478ccc792c530378b488654f047fc2b7fa6336ef00ab0fc58f1e1cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarkdownViewer.MarkdownView: FunctionTooLong \u2014 MarkdownView runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/MarkdownViewer.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b439d2baa861fc7d25a24aa43282facabb5555e13d562a68b4a7465af3baa3a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router.buildSampledTurnContext: FunctionTooLong \u2014 buildSampledTurnContext runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd0623fb4a70dcc602ef6af496395a72ccebc11ca98152d9790784a1ce6fe57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handleCloudSpendAlertJob.handleCloudSpendAlertJob: FunctionTooLong \u2014 handleCloudSpendAlertJob runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/cloudSpendAlerts/handleCloudSpendAlertJob.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17790c6ec93737292147cca05f98009f285638244322e7c8104713f43965474"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useLogViewAllObservationsIO.useLogViewAllObservationsIO: FunctionTooLong \u2014 useLogViewAllObservationsIO runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af0047756022ccc68d27eb1bc708a7b9e34c6e14d6c2b7d8f507ea61fce6aea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SimpleJsonViewer.SimpleJsonViewer: FunctionTooLong \u2014 SimpleJsonViewer runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleJsonViewer.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"000d5ea72fee96dbf1934995e75ba416c8755f660f559f1e0b799cb37e7d9093"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stripeWebhookHandler.handleSubscriptionChanged: FunctionTooLong \u2014 handleSubscriptionChanged runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0a4ddeff905d7879942146bc8cbdc29299d9465e007000033ddd2ce0f48297"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useCsvImport.useCsvImport: FunctionTooLong \u2014 useCsvImport runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvImport.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5e9bfa1789c0325ea86ac8fa1364f4a3ae2e2dafbc76da30df6269238e9bb3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ObservationDetailView: ClassTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 172 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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f84c435a6e745733c1f17f4d533015c05de1de483c8c271c727feb7ed5e42a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commentFilterService.applyCommentFilters: FunctionTooLong \u2014 applyCommentFilters runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/commentFilterService.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4262b84e729e202ce8192573674add791db97414546d8a693debea0e2fb29a04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.TraceTimeline: FunctionTooLong \u2014 TraceTimeline runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3a829e14e6a5819d58b3acd6c6e2d25aeaa0c98afb6c2ea014c6dc5f832744"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsageThresholdUpcomingEnforcementEmailTemplate.UsageThresholdUpcomingEnforcementEmailTemplate: FunctionTooLong \u2014 UsageThresholdUpcomingEnforcementEmailTemplate 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":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdUpcomingEnforcementEmailTemplate.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"01216f28e0106d77159e4e8fd7cbdb6eb401adee51b4528513285ac5657c36ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreAnalytics.ScoreAnalytics: FunctionTooLong \u2014 ScoreAnalytics 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":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2935de29c9c933aa4cb5806e16a8a8e38608e95c7d4745e731b2591cb7fca1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OnboardingSurvey.OnboardingSurvey: FunctionTooLong \u2014 OnboardingSurvey 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":"langfuse/web/src/features/onboarding/components/OnboardingSurvey.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c849f91a31c2e0aa19b5a515b5a73998cd3ee4000cde890bba57570079e0d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateNewAnnotationQueueItem.CreateNewAnnotationQueueItem: FunctionTooLong \u2014 CreateNewAnnotationQueueItem runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5185f5989fbf6fed7e6256f40aa23117f27fae5e4b2dc896f3f0b214535bad98"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evalService.executeLLMAsJudgeEvaluation: FunctionTooLong \u2014 executeLLMAsJudgeEvaluation runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d0a34fcbf2ac1112159f27adf779600088261318be6fd688c56a98afc7acaa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KernelPolicyRuntime: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b314354b8c42499f94b6f361a7d7f0de289a6a9e34da176a941829ae907a70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SurveyStep.SurveyStep: FunctionTooLong \u2014 SurveyStep runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/components/SurveyStep.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c188aaad43eb9fac98a5e651d0a588ae06c3404e9de69c10e4533360f87550b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.AddMessageButton: FunctionTooLong \u2014 AddMessageButton runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ChatMessages/index.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a04e7a811cf5d0b852ce43542f493e77690771f75130e5642716de277562ece"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MappingCard.MappingCard: FunctionTooLong \u2014 MappingCard runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/MappingCard.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a1782f030d1d9ddf92ad2a61204f282983ecb7f35fbe1bfee518e06e92ffcd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slack.SlackIntegrationSettings: FunctionTooLong \u2014 SlackIntegrationSettings runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/slack.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dfdfc7f1537ad81da24677dcbfe3f4213b27365b79cbf0bc6a2bc399da225e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: policy/policy_rule_ir.py: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54269a70b7a4032e170b5e9abbbd8b7ce356930e0e6c534df16d6c5e89b813cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VersionLabel.VersionLabel: FunctionTooLong \u2014 VersionLabel runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/VersionLabel.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"93920fb0cb6509892c1e1b36a487b9774c356e43c91799559662232afa40aeff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autoExperienceSummaryQueue.autoExperienceSummaryQueueProcessor: FunctionTooLong \u2014 autoExperienceSummaryQueueProcessor runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoExperienceSummaryQueue.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b2aeca3648f526f61707e4571d128f074eba925258dfc68fc299a9c9aa391d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: use-cases/sessions.tsx: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: SessionsTable (86-901). The bar is 500 significant lines; this is 184 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b35031feb35514d3007dc4a39d58a87655f7af3480c9d69d380d916a95ff6af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: backfillEventsFullFromEvents.buildInsertQuery: FunctionTooLong \u2014 buildInsertQuery runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"363f4161907d0bed879c0b2af2086890ba1161311d382d4ab33374bea2d4f357"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IngestionService.processObservationEventList: MethodTooLong \u2014 processObservationEventList runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd740fd6d58b9a64b749dcf3ea050c84f505e598afc58a0d8b3ac5a00f6fd582"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/DatasetRunsTable.tsx: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: DatasetRunsTable (181-847). The bar is 500 significant lines; this is 179 over it, 1.36\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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1235e438203b19534a915623b160e2b079f910b1f488489d54155243c2b0323e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BatchActionsTable.BatchActionsTable: FunctionTooLong \u2014 BatchActionsTable 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":"langfuse/web/src/features/batch-actions/components/BatchActionsTable.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c955eee5de965ee6ec44d5ce1e071de6557a2d10d2ccb1aa3e2f874fa2b48704"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.RunEvaluationDialog: FunctionTooLong \u2014 RunEvaluationDialog 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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/index.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d2c80a3efcce5bb04cf58d55f879872becc1dd4a9233c53af0f965dbb5e87b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prompt-history.PromptHistoryTraceNode: FunctionTooLong \u2014 PromptHistoryTraceNode 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":"langfuse/web/src/features/prompts/components/prompt-history.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9395b83449a2aed57af24577e91621535d93ca3b54815c8496e38f9c4cad85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: items.DatasetItemsView: FunctionTooLong \u2014 DatasetItemsView 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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/items.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf30ef852a51d0abed5ba89d4dbec51a373bfa9ad60ff34ef3aacb9982c5d67"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: date-picker.DatePickerWithRange: FunctionTooLong \u2014 DatePickerWithRange 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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3792169689cd2cfe1d8314134a53008a952fc5ba8abcaf596a78fd75bc57d3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table-controls.NumericFacet: FunctionTooLong \u2014 NumericFacet 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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"596d211235ee894949d1cf08cb2478b3bbd8e5a9484fa5d597a6fd6608073f27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SpendAlertDialog.SpendAlertDialog: FunctionTooLong \u2014 SpendAlertDialog 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":"langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a484b2c25aa6a37e789df70cc85e69656d8fac82eccbcd72c947fd0fdb64b0c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.AddObservationsToDatasetDialog: FunctionTooLong \u2014 AddObservationsToDatasetDialog 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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c15e4442e9ae2b3b397fbf3530b351409eb86c8747fbbac33a0156f1e2746f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/router.ts: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 164 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a09bd0fbfd45ec46d0a4ffa79b73dd0e17bd3dd18aac786b53c618bafdb3279"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/sign-in.tsx: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 163 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f031dc99316d765b0fe07002246f7f8476192302a4c397ccb6dd070894e3550"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarkdownViewer.MarkdownRenderer: FunctionTooLong \u2014 MarkdownRenderer runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/MarkdownViewer.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d14b74f6e22d166ef5295caaa65c91eb05246b86667753990dd25d4cc14a866"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LatencyChart.GenerationLatencyChart: FunctionTooLong \u2014 GenerationLatencyChart runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b09a65f8ab8b633331cdb5841c36bb94dcf7c4a157a5dc35d82854e548169d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NewDatasetItemFromExistingObject.NewDatasetItemFromExistingObject: FunctionTooLong \u2014 NewDatasetItemFromExistingObject runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemFromExistingObject.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bbad45263f82c70d885673aaee6a9ddb8e214344473f848f3d395068ddb298"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evalService.extractVariablesFromTracingData: FunctionTooLong \u2014 extractVariablesFromTracingData runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb62e1c0f803e85293150f6baa0ec2e28a60e4b25cde858a24e4f78d622e7d1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: webhooks.executeHttpAction: FunctionTooLong \u2014 executeHttpAction runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d437df0cc0490b57bc57b29d41c839ea83a2729343c1a39bdb6b0c9b165665"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: comments/CommentList.tsx: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: CommentList (82-859). The bar is 500 significant lines; this is 158 over it, 1.32\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":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf70f45ae03500592eddf8d8e8cb2918a5a8c5d8be460bd907a7a1cbef3252c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: verifyClickhouseRecords/index.ts: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 158 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bd8ae4a7365d7b5808c08de1cc49e07f1c782eb44c9d5a38b629164bc0492a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dataset-run-items.getQualifyingDatasetItems: FunctionTooLong \u2014 getQualifyingDatasetItems runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51f31f676be2ccf1a66943da8dc9af0f180636c8814470b7c17a08e5b7305e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scores.getScoresUiGenericFromEvents: FunctionTooLong \u2014 getScoresUiGenericFromEvents runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c74335249236c0ba8f5d4e9ae696bd47731bac94411690c9b45f0139c24133"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StripeCancellationButton.StripeCancellationButton: FunctionTooLong \u2014 StripeCancellationButton runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/StripeCancellationButton.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a514c1747dbe9c5425fed6f8a31a413822cbdef1a6070c40730672b2a72f631d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: delete-folder.DeleteFolder: FunctionTooLong \u2014 DeleteFolder runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/delete-folder.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e68812c0504f1c2822174898913a2201926bc764a3eaa5b1bf10c85a2a2141b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackfillEventsHistoric.run: MethodTooLong \u2014 run runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"a893803c38d5ada4f8efd1db60a00d248548aad77a13aef29edde104e98f0b31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/sessions.ts: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: sessionRouter (150-897). The bar is 500 significant lines; this is 152 over it, 1.30\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ca15ae3c9fcdb5f64628a2bcd933d372e0797373719e46aab4de733e2b998b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsageThresholdSuspensionEmailTemplate.UsageThresholdSuspensionEmailTemplate: FunctionTooLong \u2014 UsageThresholdSuspensionEmailTemplate runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdSuspensionEmailTemplate.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b14fff051cb4d7bab4ec5bbf20e44c9072b3d4f698ddc0f8af5174bfcc0af7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: treeStructure.buildTreeStructureIterative: FunctionTooLong \u2014 buildTreeStructureIterative runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea154c7a10f68cf9b15ba2ebcde40d2c6d5278cce650da12f2dfb2fa2fe54ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PivotTable.PivotTable: FunctionTooLong \u2014 PivotTable runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/PivotTable.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdecd74a105878aa303d4e3f688e77a640a821d30031079d5a98457ecc7a5a3c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QueryBuilder.build: MethodTooLong \u2014 build 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":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0665fd970c3c8defbf5b9816893e789f3661715c3ba184492e124ed529da0699"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatasetRunsTable: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 115 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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ef3e7ce2e8ac1edf89118f36e6eb181f8ab4fb482e74ad4682bb3dec5c0593"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolCallDefinitionCard.ToolCallDefinitionCard: FunctionTooLong \u2014 ToolCallDefinitionCard runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ToolCallDefinitionCard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff691e2cc92ded16f7b1cbdb90f83d862e46a591a382e4808b6d7a8aba2a5a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApiKeyList.ApiKeyList: FunctionTooLong \u2014 ApiKeyList runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"226e2fb719b6d858c55bfc1ad033022c0d9a14e3869b993d28833bfb1de82d16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/StorageService.ts: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49665dd986028354bfa8786a2ea19d5a62e3391eb114570e34ce9c5c745f585"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreTimeSeriesNumericChart.ScoreTimeSeriesNumericChart: FunctionTooLong \u2014 ScoreTimeSeriesNumericChart runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesNumericChart.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fe084a8c9ad422980610e00b6dccd53a01d0535cf0627ca92ad35f22721199"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TraceGovernanceBanner: ClassTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 107 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7759b2dc0a43248c9dbf1bf73fed35da31a6798620a4fec0d269e434adbb843"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OtelIngestionProcessor: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6fef7d4590b5bc9ec3ee16de5c94c5bb6ed4c82af50c06edc7649931c39613"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: projectsRouter: ClassTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 105 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbb485968324251560976899441e4a2e99979cf9bee7096ede79c84b2f375e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsageThresholdWarningEmailTemplate.UsageThresholdWarningEmailTemplate: FunctionTooLong \u2014 UsageThresholdWarningEmailTemplate runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/usageThresholdWarning/UsageThresholdWarningEmailTemplate.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bef0e79c74b9811ab20ab77d318ee1258844033353b129cd2041025c0d6095"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.DatasetItemContent: FunctionTooLong \u2014 DatasetItemContent runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/items/[itemId]/index.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ecfd83afa35fad59244055a151ad31e7c4b66589e5e10dba6f62087517da72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/auth.ts: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"907e09556f5d6c2ffaf8093149a787abfad2a937f1eb750c58e0105b3ca25f78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ObservationDetailView/ObservationDetailView.tsx: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ObservationDetailView (82-791). The bar is 500 significant lines; this is 126 over it, 1.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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1f58c9f95762254120b7c7d8121c3da6e69ab7aac09fe467bbecc0a9e1671a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ErrorAnalysisDropdown.tsx: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: ErrorAnalysisDropdown (248-789). The bar is 500 significant lines; this is 126 over it, 1.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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c680862314bcf71397743119ea8f150fecfed6d3e99ca0c82ff853e386ce2a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useEventsTableData.useEventsTableData: FunctionTooLong \u2014 useEventsTableData runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/hooks/useEventsTableData.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6554093f9fe791badc46782b54e0546b595d4609d2af70fff28f94dfb2126d73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/projectsRouter.ts: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: projectsRouter (147-901). The bar is 500 significant lines; this is 124 over it, 1.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":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc0b2b48a1526f4d9285cad1c2febc646dca05685d0e8fa69a3cd8d150f5560"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _automation/run_cases.py: FileTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 122 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e2ebdf8d771abf459f86861d2fbbcc048c73675cfc8c4566c7b3465c22772a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/router.ts: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 120 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c0f5387383a53ea9e94805ec947df23d6b4665bcd120774f960e9c83333c7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: seed-dataset-versions.seedDatasetVersions: FunctionTooLong \u2014 seedDatasetVersions 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":"langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"80302389a01957e1fd8af3578e60596286897aca3d3fc34e86f1237a03dd7567"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: promptRouter.generatePromptQuery: FunctionTooLong \u2014 generatePromptQuery 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":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"27adbe26c2286d5ddbf3b5dafefddf65ad031127bfd7fbf054b42b4187120081"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: [userId].UserPage: FunctionTooLong \u2014 UserPage 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":"langfuse/web/src/pages/project/[projectId]/users/[userId].tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7e56e3787b1cc6b6864b23af49c98c86044ecc3eb32dd0d7a12d5b2f962351"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: traces.getUserMetrics: FunctionTooLong \u2014 getUserMetrics runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/traces.ts"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a27e34e60d61ee68d499cc52f53ad0fe5ee49eb7ec96f545247b4113927534"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TracesBarListChart.TracesBarListChart: FunctionTooLong \u2014 TracesBarListChart runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49c75ca803d57af18e27cc84738223945c7eab907323650975f803022ef09ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: default-eval-model-setup.DefaultEvalModelSetup: FunctionTooLong \u2014 DefaultEvalModelSetup runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/default-eval-model-setup.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c09a54be6bd9a052c39a33a4f0eed9235e813d4e71103ce9c8583a22fb30f7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SlackConnectButton.SlackConnectButton: FunctionTooLong \u2014 SlackConnectButton runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6805febe74adcbd06052b43688d806c3f38497f7af5c21fd784314d79b1923db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/sidebar.tsx: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c584d7d1e5a4d48b69444df7a8d14875ba04bf423baf31769001f27bdb1da783"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: traces.checkTraceExistsAndGetTimestamp: FunctionTooLong \u2014 checkTraceExistsAndGetTimestamp runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/traces.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"761da82ed8c59505af5bc14662e50bd083f33ab6107c1037e5e4fbf850cc4136"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useCsvImport.useCsvImport.execute: FunctionTooLong \u2014 useCsvImport.execute runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvImport.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2ccefbfc30ae37f05a5b0b7f8fb8ac9f452002b32c72a92f65195f4d971813"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteExperimentTriggerModal.RemoteExperimentTriggerModal: FunctionTooLong \u2014 RemoteExperimentTriggerModal runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"72af4aaeb9865530ddf6c5fdd25762bde08dfe7db07a2ad43e0244e1451bf916"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.handler: FunctionTooLong \u2014 handler runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f96085508c3aec8878c63fae55d788592fb0f1618fe56ac4dcdcb029e1f0d7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eventPropagation/handleExperimentBackfill.ts: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 109 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e64ddd01ac3dfefde17af0be235bebbdde461834af1ba2032eb539d9e345245"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/traces.ts: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: traceRouter (164-804). The bar is 500 significant lines; this is 106 over it, 1.21\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":"langfuse/web/src/server/api/routers/traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"236c9d1f106362034ee26fc0775aad670aabdb647e61ba843f6df96dd69f8285"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MediaButtonGroup.MediaButtonGroup: FunctionTooLong \u2014 MediaButtonGroup 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7954cbca89c59cfc25d954149e857ee2a3f98ef0d21f476883c06ced9c2c9aed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreTimeSeriesBooleanChart.ScoreTimeSeriesBooleanChart: FunctionTooLong \u2014 ScoreTimeSeriesBooleanChart 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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesBooleanChart.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4550e80494de91804c409731a93254be2ba7bc570035c813b7e8c9dc7cd6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreTimeSeriesCategoricalChart.ScoreTimeSeriesCategoricalChart: FunctionTooLong \u2014 ScoreTimeSeriesCategoricalChart 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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesCategoricalChart.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c77298a08739aa3d11b241f9fea491dbef869669f091aba58dd8dfe04bc50e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handleBlobStorageIntegrationProjectJob.handleBlobStorageIntegrationProjectJob: FunctionTooLong \u2014 handleBlobStorageIntegrationProjectJob 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":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fbe3f93fd3695d1bb34039fcec46513ad297401aa1f9ad95e9b7fa588b4a4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ingestion/types.ts: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e501ea895f7c4d1fd94e7096b5468c764ccc2341e7ae2e961a417e4ce1b6dba6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatml/jumptoplayground.clienttest.ts: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd85e869278c9e5931b586a4f047915735c9f984961b3a3ddb2d6b4e2556c14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/PolicyGuideCard.tsx: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: PolicyGuideCard (245-691). The bar is 500 significant lines; this is 102 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d28e6b353889657e616f77479a02d36b11224e345811cbdc39bfa5b1ede195"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backgroundMigrations/backfillEventsHistoric.ts: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: BackfillEventsHistoric (175-900). The bar is 500 significant lines; this is 98 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8c35d7d524df42df01b4053254a0d13e8a61fd32a420e54beb9ff8c37b9c70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: eval-template-detail.EvalTemplateDetail: FunctionTooLong \u2014 EvalTemplateDetail runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-template-detail.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed25543160de18d3b1a3e399d034c82212e0df878bf603169e8015ae031964d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dailyMetrics.generateDailyMetrics: FunctionTooLong \u2014 generateDailyMetrics runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/dailyMetrics.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa93de4c3d78f624fe3663747f98c4958f02b62ef481ab574f2c99ec44551c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TableActionDialog.TableActionDialog: FunctionTooLong \u2014 TableActionDialog runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/table/components/TableActionDialog.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"140b73930cd296f6ed515f43227d200dff19b7f4b86b0d35dc2f4c0e8af6b47b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuditLogsTable.AuditLogsTable: FunctionTooLong \u2014 AuditLogsTable 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":"langfuse/web/src/ee/features/audit-log-viewer/AuditLogsTable.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b7983c9b38819b2693863fc2a00be30d2e32c883529d2947b461ddecb97bc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PolicyConfirmationStatsCard.PolicyStatsTable: FunctionTooLong \u2014 PolicyStatsTable 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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"41965d57cb4a34960fde947a67c511504ad969a857e13eb4ccbebaeb290ebf91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usePreviewData.usePreviewData: FunctionTooLong \u2014 usePreviewData runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/hooks/usePreviewData.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecf45dff3f376afadf68817d12e0a04dd80537c4d24cc77c41034eb8f3de004"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConfigureRetention.ConfigureRetention: FunctionTooLong \u2014 ConfigureRetention runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2571327bbe4626e4a73fddd855d1fd8efb8748e7b96ed128e4abe564a2e6398d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LLMApiKeyList.LlmApiKeyList: FunctionTooLong \u2014 LlmApiKeyList runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2c5c56a3a24dfd38aaa0463f9f3055e81e134bd5915a5952fa4a12e4c9a681"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataGenerator.generateSyntheticObservations: MethodTooLong \u2014 generateSyntheticObservations runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"982e281091354bc128914f2508f463902117ce2ab01cd1389b10e382e64e0276"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DiffViewer.DiffViewer: FunctionTooLong \u2014 DiffViewer runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/DiffViewer.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddd12bbb19bad2c900d08e09e502148807173a65fc6773b6efc122c79670e57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StripeSwitchPlanButton.StripeSwitchPlanButton: FunctionTooLong \u2014 StripeSwitchPlanButton runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/StripeSwitchPlanButton.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e68c6fa812f5c54619eaf4c478344bf5eb9d7339815161d0d22033a0075bc61"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BackfillEventsHistoricFromParts: ClassTooLong \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 62 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a34684b89b29561ccb04ecbddc3416243d3146aae2fb8597c1ae9297c8d0c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repositories/definitions.ts: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/definitions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"075a9857ae93401da62d627ee3eb029a2a9d38f020613491ab560ff076df0a8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MappingStep.MappingStep: FunctionTooLong \u2014 MappingStep runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/MappingStep.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f7394e33726c5659e85b1892d003090651dd3eb11273ba10053a4a2468249d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApiAuthService.verifyAuthHeaderAndReturnScope: MethodTooLong \u2014 verifyAuthHeaderAndReturnScope runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/apiAuth.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"768c7bf5c055c13dbbb36e1ac8d763ce6953f3a2b9330443784263ad0197fdf5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IngestionService.createEventRecord: MethodTooLong \u2014 createEventRecord runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"562871ea4dc15e80a1ce2389f10dc6c995358ccbe869cbc0d3d3c51eff9af2d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QueryBuilder: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b59abac57c2a6757a4aeee0b845425e00cb571d00f27693f97c42175a67cdb4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BackfillEventsHistoric: ClassTooLong \u2014 452 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 52 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d31fc0c7f9164c8893bcd7b6547f5dc91f0ee737f8c72765ccbc25e0d5ca212"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DatasetItemFields.DatasetItemFields: FunctionTooLong \u2014 DatasetItemFields runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemFields.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd50b4ffd7e107e4855d66f3e97bd3dcb0e4864b3340e4ab6354b82525000e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WidgetTable.DashboardWidgetTable: FunctionTooLong \u2014 DashboardWidgetTable runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetTable.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e7d813a18f66e80e4665c6883810df66775477e19cd5cef9afc936dc532dee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BillingService.applyPromotionCode: MethodTooLong \u2014 applyPromotionCode 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":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76dae7f54e0cdbb97156de7b77fc9bd9edb88a701065c63095fb80e992b2847"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scores._handleGenerateScoresForPublicApi: FunctionTooLong \u2014 _handleGenerateScoresForPublicApi 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":"langfuse/web/src/features/public-api/server/scores.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fa8ed50251fd05644de1d80a617da31398073ea8b788c3198dfe45c4a27be0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TagManager.TagManager: FunctionTooLong \u2014 TagManager 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":"langfuse/web/src/features/tag/components/TagManager.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b1618c73756e34e1d9923e47516e24284ad431f100050e1dedc524641c4e6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/variable-mapping-card.tsx: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: VariableMappingCard (50-647). The bar is 500 significant lines; this is 59 over it, 1.12\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":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42259863aee8319d433e49ac06dfb6818835152212efbb6ec27733d07e5117ad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PrettyJsonView: ClassTooLong \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 45 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"809feb80b56db5c9e7ad789864b2a68eb6423e5d4ffac5892602453db626ba2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SpendAlertsTable.SpendAlertsTable: FunctionTooLong \u2014 SpendAlertsTable runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertsTable.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d11b24a19bd1eb3274c42a04f6de6be92b8fcc00d8653978155ac936a4c1bde"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: [runId].Dataset: FunctionTooLong \u2014 Dataset runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/runs/[runId].tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7485caa33958c71544c797ba6929b96fff6ec1ef5c616ce3a447ca081df151e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddGenerationsCostBackfill.run: MethodTooLong \u2014 run runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/addGenerationsCostBackfill.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d728f03d844a864668da8c38ab08b20c738013b409e1eb3c146f59e8dceb924"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AutomationDetails.AutomationDetails: FunctionTooLong \u2014 AutomationDetails 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":"langfuse/web/src/features/automations/components/AutomationDetails.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe828839ab0a0adf53b66855f8fa422a4794b013b2d9f8a78e6c359f7e94317"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: createPrompt.createPrompt: FunctionTooLong \u2014 createPrompt 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":"langfuse/web/src/features/prompts/server/actions/createPrompt.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b353640444dfaee857038e3565df4846d2d829799dc2e1504b9ff8846fe51c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: filterOptionsQuery.filterOptionsQuery: FunctionTooLong \u2014 filterOptionsQuery 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":"langfuse/web/src/server/api/routers/generations/filterOptionsQuery.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"179c68b340a0e7414a0395e5a2ce2efd0d105ddeb9aa785588ee4c374bde6a78"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: unicode.decodeUnicodeEscapesOnly: FunctionTooLong \u2014 decodeUnicodeEscapesOnly 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":"langfuse/web/src/utils/unicode.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"168a2a8eb7e07fdd0d64908855ea807a9b2e72b50f95aefc6cf491c6a252cb40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _shared/tree-flattening.clienttest.ts: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 47 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":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc9af386022b8754efd011e33940adede56ad9d24dd907ee27b90dfb9e27051"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TruncatedString.TruncatedString: FunctionTooLong \u2014 TruncatedString 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bfec7130b3352cbc020b1282c0384b7ec398e54060f419e823c7599036d3c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.verifyClickhouseTrace: FunctionTooLong \u2014 verifyClickhouseTrace 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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfaa6041d7b3ed96eb325ba0d7210b05ddc6595cad3c7ac1ea2e4ed4b7410e3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: membersRouter: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 32 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b77a15660f0f99a49a4a1f1991ff4bbd97ab0577c510fe857e7f83d8f4b4a5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: combobox.Combobox: FunctionTooLong \u2014 Combobox 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":"langfuse/web/src/components/ui/combobox.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a97fd2bfd5f8d2c892f672713f07b3441380da30b095e4833c7e28a62bd6ff4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useExtractVariables.useExtractVariables: FunctionTooLong \u2014 useExtractVariables 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":"langfuse/web/src/features/evals/hooks/useExtractVariables.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"af757ee93df9e2062044fd02067233c9657ba0c357c43c189b15a34d212b20b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateApiKeyButton.CreateApiKeyButton: FunctionTooLong \u2014 CreateApiKeyButton 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":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1481ad6f1848c029c00699e43a346cb08d5e1ff25fc25d49e910c82c6308e12c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SetupPage.SetupPage: FunctionTooLong \u2014 SetupPage 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":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"974701a87d51b6c5299e0ee21fe3d59a121b76c3d2bf6480f0121c5c8c80aa41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BigNumber.BigNumber: FunctionTooLong \u2014 BigNumber 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":"langfuse/web/src/features/widgets/chart-library/BigNumber.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57142738941aa32b27bd71d65c7475148cd57cc4ae69ba4aea75a80f8c03b5a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ObservationGovernanceAnalysisPanel: ClassTooLong \u2014 428 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 28 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98d96cc8ac5760a1143f91edbf67a5357da2a2819564b6980acebccb00ec38d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ObservationPreview: ClassTooLong \u2014 428 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 28 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7d16c41ead6b28de15d86d34048be47d536a822a36cbfabf8ee6198a1a5fa4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dataset-router.generateDatasetQuery: FunctionTooLong \u2014 generateDatasetQuery 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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"14609fed02d87dc3ff4f99f91c130b2044969696197a9391eeff43d66effcb21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudSpendAlertEmailTemplate.CloudSpendAlertEmailTemplate: FunctionTooLong \u2014 CloudSpendAlertEmailTemplate 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":"langfuse/packages/shared/src/server/services/email/cloudSpendAlert/CloudSpendAlertEmailTemplate.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f6242345a9c02deb295e7cf4d6e155e535c64f32cd76808704344348f9a9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sessions-ui-table-events-service.getSessionsTableFromEventsGeneric: FunctionTooLong \u2014 getSessionsTableFromEventsGeneric 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":"langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a11c3683e254e3c65df6799053fa6472b9b983b5868911024882ffe6613e6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: createProjectMembershipsOnSignup.createProjectMembershipsOnSignup: FunctionTooLong \u2014 createProjectMembershipsOnSignup 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":"langfuse/web/src/features/auth/lib/createProjectMembershipsOnSignup.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c10878a31d41afb88fd76b6bfb49bcb3be6b0d70a9a11cc398b8b518e5c574b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FinalPreviewStep.FinalPreviewStep: FunctionTooLong \u2014 FinalPreviewStep 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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/FinalPreviewStep.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"631b518f4c26d8c40f6fa84f6808b9d0f44a7c701f373c3e053184298ef4fcc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PriceBreakdownTooltip.PriceBreakdownTooltip: FunctionTooLong \u2014 PriceBreakdownTooltip 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":"langfuse/web/src/features/models/components/PriceBreakdownTooltip.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de3eb03d6d82021a1fa4531586a5bc26b23ca3b1e8a4d41b85888416004423b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ErrorAnalysisSettings: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 23 over it, 1.06\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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9053ef1db9708a4543120d4f585620955e503a5054a19dba1bca9f76613c72bd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TracePreview: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 23 over it, 1.06\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":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"088d5c3838f80325810b00c93ef98c8dc356381df12c694922261178efe23c0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backgroundMigrations/backfillEventsHistoricFromParts.ts: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: BackfillEventsHistoricFromParts (60-799). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d4adbafa5a5168746034afd6156987c18d857992e8d845d41df4f36ac75339"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aisdk.normalizeMessage: FunctionTooLong \u2014 normalizeMessage runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cead62e0c797ff1fa26c8e24c32c5a2af32a49707c64ae6d063e4bfab54baa1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table-ai-filters.DataTableAIFilters: FunctionTooLong \u2014 DataTableAIFilters runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b4561aef0b4ea6e62f65c6300d8b8f2304ed45d3730b0be5d6e03715f38d60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: peek-evaluator-config-detail.PeekViewEvaluatorConfigDetail: FunctionTooLong \u2014 PeekViewEvaluatorConfigDetail runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/peek/peek-evaluator-config-detail.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2aab71fb898abb1413681a9e3eeeb3aef6d0970ad72797dbd93472dd71205f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TracePanelNavigationHeader.TracePanelNavigationHeaderExpanded: FunctionTooLong \u2014 TracePanelNavigationHeaderExpanded runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_layout/TracePanelNavigationHeader.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8363b6f4fb27d5091fa271cf863d5178ba9416e0c41cabe8d2c002ad759679e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchBar.SearchBar: FunctionTooLong \u2014 SearchBar runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/SearchBar.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"78519a55cfd46d1ad28774c0293512f9ce0888e47f06de4d5e340b9d8c8102d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreDistributionNumericChart.ScoreDistributionNumericChart: FunctionTooLong \u2014 ScoreDistributionNumericChart runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionNumericChart.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f3e25ddd038378fd41ca1d2c8d7d2b57d3c4efb12542771b58368ee132f13a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HorizontalBarChart.HorizontalBarChart: FunctionTooLong \u2014 HorizontalBarChart runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/HorizontalBarChart.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d653cf5015a25179804c0c0bf4ee78bec62fd0f8d8dc247f16a125920ca8fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GovernanceBanner/TraceGovernanceBanner.tsx: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: TraceGovernanceBanner (20-679). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aca294439e4426932666d07d18ecca324b4aad8d3a179af8d0fc52528014aa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database-read-stream/getDatabaseReadStream.ts: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: getDatabaseReadStreamPaginated (99-594). The bar is 500 significant lines; this is 23 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff114597a7606e13a7184c7b07c425539025982823ee3df6ac93c8325d1b61c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/traces-ui-table-service.ts: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b2fad736d6452d9f04e4d05015c8308594e4e8929450aec35589bc7faf2848"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: table/data-table.tsx: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2261bbe30afdbb85cac50753364373c5ec5111b985da63844dc7648e76536d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/evaluator-table.tsx: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: EvaluatorTable (137-643). The bar is 500 significant lines; this is 21 over it, 1.04\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":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7fadea48878ce7c00feac5dcc55e08d981d2b3ae78044c12c7a93142c24dd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: factory.createFilterFromFilterState: FunctionTooLong \u2014 createFilterFromFilterState 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":"langfuse/packages/shared/src/server/queries/clickhouse-sql/factory.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d7de485625cf033a1577d4476780bf1b8999d132e1cb2d85f25f465ec4b748"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ModelParameters/index.tsx: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df20815d12113c412498d9f041a62d9fde20d6cb68c5ea6fd858bad3e8752a0b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ErrorAnalysisDropdown: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22124b68299daafe0a06d32ddbe746766ee7d956efdd8a6b26ad423e0845d910"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LineChartTimeSeries.LineChartTimeSeries: FunctionTooLong \u2014 LineChartTimeSeries runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/LineChartTimeSeries.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8b1c987abd7e2b818de920c83ababb4b1d65f8cc368109cc16de76eceb7aef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analysis.AnalysisPage: FunctionTooLong \u2014 AnalysisPage runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/analysis.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4bd72ea722bf40991cdfcccc6ed2d64b67ac2bf625d848e79b194204af22db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PolicyGuideCard: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 9 over it, 1.02\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":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d21160b4f43e42e56a67f9de8e7688d63b9d7857293e20d70d4f76fbcc5e036"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: queues/autoExperienceSummaryQueue.ts: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoExperienceSummaryQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"209905a198a49193ccaf87e964085558d334e63760e0f474e5a900406dcfc9ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/membersRouter.ts: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: membersRouter (109-783). The bar is 500 significant lines; this is 10 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8715abcd665ff906b9492d85dc39ae9e1553a083f557c4d88c31496f30859500"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FrameworkTraceLoader.adaptTrace: MethodTooLong \u2014 adaptTrace runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/framework-traces/framework-trace-loader.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdd2e7a6af78135647b0e560e432278937ed06252fe5a561c57c3dfa21d6bdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WebhookActionForm.RegenerateWebhookSecretButton: FunctionTooLong \u2014 RegenerateWebhookSecretButton runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff188deb4c4f9b5816a09ca00a792b3ffb9aee987a8a7a387d4b0078dbb199fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreCacheContext.ScoreCacheProvider: FunctionTooLong \u2014 ScoreCacheProvider runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/contexts/ScoreCacheContext.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5ad0315a670d8835954968d8bf0ae1c9d93064dc1396f971c5db734e160d67"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MigrateDatasetRunItemsFromPostgresToClickhouseRmt.run: MethodTooLong \u2014 run runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85b530a1b777596fd0e82a2afe8bf5dda5533ec5f4ac0bf1d1ad99f56f157a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClickhouseWriter.flush: MethodTooLong \u2014 flush runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/ClickhouseWriter/index.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb332dcc6f5fd482cdeb3a437d0789f3217a8abcb326d90ffad81bbb29f9f920"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/prompt-detail.tsx: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: PromptDetail (106-609). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8059b1901e34ae1aac9aef557460492ad7e8c7e60fe2655fb9dc3d0d7b30aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ResetPasswordButton.RequestResetPasswordEmailButton: FunctionTooLong \u2014 RequestResetPasswordEmailButton 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":"langfuse/web/src/features/auth-credentials/components/ResetPasswordButton.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8403ce6c1315f804f2a0112a19c11115789294750aa3d9eb8ec6955fc66ced2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evaluation-prompt-preview.EvaluationPromptPreview: FunctionTooLong \u2014 EvaluationPromptPreview 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":"langfuse/web/src/features/evals/components/evaluation-prompt-preview.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4508727075debd02e5a9eaa87cb4dee10d4848bb0a52d72170f5c91114c183"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: new-evaluator.NewEvaluatorPage: FunctionTooLong \u2014 NewEvaluatorPage 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":"langfuse/web/src/features/evals/pages/new-evaluator.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3381ccf7dc448764ef1f2463386baca49894d1ed90545760d1f35478befc742"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commentMentionHandler.handleCommentMentionNotification: FunctionTooLong \u2014 handleCommentMentionNotification 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":"langfuse/worker/src/features/notifications/commentMentionHandler.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6cfecfed21dfb2b4a6e423aefc4c5895c1fd0304c2274ee53c3358cd41625c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MembersTable.tsx: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: MembersTable (61-507). The bar is 500 significant lines; this is 1 over it, 1.00\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":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3202549e801a2d6cf7cf3a2e28f31833fafd5c577d81408a407ef765ca4d62e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:184-230 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:172-205 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"93752e8fa2abeeb7b2de517a9623f1722cc5a42f93c369f58dd2f92e26fca50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:498-550 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:436-491 \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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0e6a534b3b0f4cf8a266c565f3966630eb566705a0be3b8654d44c388c0e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py:73-129 | ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:167-211 | ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py:99-199 | ArbiterOS-Kernel/arbiteros_kernel/policy/path_budget_policy.py:191-247 | ArbiterOS-Kernel/arbiteros_kernel/policy/rate_limit_policy.py:88-152 | ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1083-1451 | ArbiterOS-Kernel/arbiteros_kernel/policy/schema_policy.py:90-125 | ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py:53-116 | ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py:156-237 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:2135-2366 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30454cee80c7dc59630b7f430b5257eb938da28e64b9e72f8c0b49e3fad8147"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/helpers/skill_trust.py:234-250 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:547-556 | ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py:118-133 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1434-1454 \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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/helpers/skill_trust.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b069c1355995333dc2b60370b1855521e3d442f6323336b15405d5b89a626c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:964-996 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1010-1042 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1057-1092 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1102-1136 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b048ecd00cec3f7b45b1f70417e0408a3de4a84cd7dda63b866892724030e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1585-1644 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:907-964 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd387287fd69e0c0d09dba18f09364b3039b71c24dd5168695d9255e7b3fb8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:416-484 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:382-422 \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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae7fb59b14a93599d165e3537d68f5faa3caeab436d7d8ed0978e1cd17d0c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:222-258 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:211-248 \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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f084aca9272f7a470dbe6c3daf504e9e7a30baaf8718ff7a5afdda7785dc7de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:318-380 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:294-333 \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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"0650b10ffa81b1e446afdf80d8fdbbba7a6a2dc20b7ee8dab177e63dabd5e823"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3212-3245 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3253-3297 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fe268e0d9bb18756cb2c3fef8e6204af8be3d9edf6b87d4349085a354ad4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:259-289 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:138-159 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"740cd277e44286e948476a98669f3125f78734317a4add7a4835063133f180a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3303-3333 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3363-3394 \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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afd644ca4215ccde58a047599bc3a7284c0fd1cc7b4437f4ac65a3cead28a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:273-287 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:1951-1971 \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":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bba061dbe0045cee94471717cf5bbfd332b0260243a5e296a00e05e9c703b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:287-314 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:274-290 \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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"676b3b675cd776926c5726872932f5b682231c62c6188eca93da0d0328f7f833"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:2568-2589 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:2593-2609 \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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"86967929a41a685b320c9eb0da976e05805e629ea71eb36190ca841753d38f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:504-511 | ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:514-520 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f71938eb6eddb14540d4a874e007bd56ac369eb2df3607fafd883432645f3dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:588-609 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:477-502 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"01001443c80b4f71c90acb39b583c475c25a622abbb404609f8fc88a0d7ca3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1359-1372 | ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1375-1384 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6410c3b229462c953f37fbf88ec55c0e72d3f843adb2d8965f9e9dfbe2caa4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ArbiterOS-Kernel/redteam/_automation/run_cases.py:136-150 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py:44-57 \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":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff42e51c71ed6569f43e84020e984a6e46618a5cad076dc0615bee53f90d38e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ArbiterOS-Kernel/redteam/_automation/run_cases.py:154-162 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py:83-95 \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":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3567f923ff62c85856e68cd73af664b7f74fe62374362b4e58e208feb7709923"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py:798-808 | ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:757-767 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:491-500 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"7745e4eb92f2c48a6be0013c41ba3dd6c2d16cec1cc61e4acfcdf0ce26c85999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:398-410 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:363-374 \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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b151c54e64b8578ea867a4d2ce8c257620bba537441b8ae87622896f90fdb77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ArbiterOS-Kernel/redteam/_automation/run_cases.py:240-247 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py:71-79 \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":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d54663fae1cb55ae35fdb00967015371c3568d94d4644933776a185157f392"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:361-435 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:1026-1071 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"67500ed8f537cce3718493dffa13fd8130c50bfa46f73e18ca7fe5851f49be01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:267-283 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:257-270 \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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbee5d2d2cdb2687a2b6d5009af19e07d24f42be47eb0bca1a22ebb5ac77491"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:5133-5146 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:5152-5163 \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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5133}}}],"partialFingerprints":{"codehealthFindingId/v1":"122bcd7af6edf4759d42b1e92b682ba0eb0ecce7998653520f637c9389c6cbc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ArbiterOS-Kernel/redteam/_automation/toolemu_v1/build_from_trajectories.py:34-41 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py:20-29 \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":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/build_from_trajectories.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"301934f70dd0f4073960930e34dce98a75d66dd06cc5c7038c449cfae9c8f8b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:223-230 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:2014-2025 \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":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff060a9e453d20b293fe17d88ad56524dc46a3b8cd4b2afaf7393c149a11d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:66-74 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:334-342 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"307fa5bc328aebe27271b76fcd38f707d9235478b9cb4f9dd612017b4feb7a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:523-529 | ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:532-537 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6775ff7115fb53a6e7acca21949e66c3b02a03a2c4cdf65d01f80e927e180d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy/direct_metadata.py:247-252 | ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:650-654 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy/direct_metadata.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"409b8fb0d171900d9053b97399ba7c9401dca96ae9fdb75161618b01af776073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:200-210 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:1876-1888 \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":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d3f61f781f5537e072b1486e04be95f7cbe3159c20f99456a8c5ee8186b306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3050-3055 | ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py:161-169 \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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d462b6acc16aa0949038818cd8564f7b48a60efffcd6ee860af641b07e2376"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:365-389 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/builder.py:46-63 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"94629760b263a1350aa966c43680887f9b4a148d69dc55aa730281b3c4af8220"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3028-3037 | ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:399-406 \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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3028}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdab2d7881dae9933ee43a6635a888b65c5db6205b4f7a5694dcfc81fa2fc1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_test_harness.py:31-39 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/tool_mapping.py:160-168 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_test_harness.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27cffed618c1204b55e61d4a1a64072b70bbab02cfdf9fb5f16bfc4bb81c2d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:544-546 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:446-448 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc4f8f4cdb325401d1a49e9dca3fbe27357602bb2a4aa425cb1de665a7724e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:554-558 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:455-458 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"137c15f42e9f1370105763a2dcb48fa88e92028a6def74a13fd50dc9391e0d44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:533-536 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1423-1430 \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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e6a094630fce1c6e86735ac637ede078b805a1e52fea1462908ced3af71b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:341-342 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:1021-1023 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e31be0615d45e4469d2bf7c278d81b942d7978c65db7e7b62c256627ece5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): ArbiterOS-Kernel/redteam/_automation/run_cases.py:33-34 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py:15-16 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3aa12a00afeda7c6cc6e69a6c2936c34e01525e6d89a4e0fe7e1d392c90487"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:549-551 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:451-452 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"2442a8f44235ce75a0746d502171f30e6d6556070839a91087d1654f6755c480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:561-567 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:461-466 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"8889e3963abf7581528c5cde9eeae5480359ed84666e04ec8988f74ec12c9be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201348 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:416-463 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:382-402 \u2014 before extracting anything, compare \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ca38f6173760149e08eb9d4d7ae3ceaf6d4c6bcd7e7434463e9b2c17724173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201343 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:510-550 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:449-491 \u2014 before extracting anything, compare \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 129 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 \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:510\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"251b18d8f5a70702af13c110d9d4d2cb62091ae6deb581a061dffbe512da587d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1307-1345 | ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1405-1444 \u2014 both copies are in the same file, so extract the block 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c14146f7e74afe2d17df0407b94d6bb62f0da5bd3a78ed5bc02a4720d4fe79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201337 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:4347-4380 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:4529-4565 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:4347\u0060 it begins part-way through the construct above it, so those exact 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, \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:4528\u0060 calls \u0060max\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:4347\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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4347}}}],"partialFingerprints":{"codehealthFindingId/v1":"966630cfbbc5c23dea9a3839fa2b933ed7b804eb78b2dd2dc3c4541fba7fc5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201335 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:189-223 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:172-200 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f287f36831685c1aa33004c0f979922f6109bc37b617ea4a902914d2734de5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1510-1544 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:621-653 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de06fc4642580bee96c0052a822d10d47c996f299485f7f063f42a32fdb898b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:7074-7111 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:7207-7240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":7074}}}],"partialFingerprints":{"codehealthFindingId/v1":"24439375db9e1655d0986635172d7972a6c99d21275e19e6bd57d029a2dac0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1549-1580 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:658-689 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"778f58ee6a368bb497cf23eb4bf8acf5a3bb4fc75f8d509f80b8b88b78a8d440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201327 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:263-289 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:138-159 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"45af9d1c5f2591e245c8eb0df3ea1c56fbe618207266f5f459d8efcc1c5bb679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3219-3243 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3272-3297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6f8c25bf21f4b84e938c5301f51d989828cc287a5e926dfacfa9c012e131c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201324 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:875-898 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:1181-1196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:1181\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e343391fe248776a32d36454767d3dd2293d11db65929999b806c459abbd31a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:248-269 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:2531-2552 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e154cca2795b452dc1fc10a964c4e0147d09f1367eb147a3a39d1a3a9f322d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1266-1285 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:2276-2296 \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 \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1266\u0060 it begins part-way through the construct above it, so those exact 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87d0493e02da87a68452de6735771527e3c3dee70d9e2d94cf118144c6951a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1754-1774 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:425-443 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18b8c9912bb575bfdc86239046f5fb2b959b05a4c37c096a0dec6c2f78eed52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:229-248 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:218-236 \u2014 before extracting anything, compare \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 129 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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec0dab20a38d600795bb0eeb7380a8b89c9d0af65b699237b9832cd71bb4e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:335-354 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:359-373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfa6ef7ddc0803b418bead51252620e65e8510c6b2eb29327b1814ee0a93f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:134-154 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:72-92 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea4f5e23e5c4192a398b57e6a8e00ae30ddb5436c82deb59b2326f5cd7acf82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1129-1146 | ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1246-1264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1129\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a74f1620cba744d52690899cb1ba91e4098c2c5399a0ea0aae66e08e38d0d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1485-1502 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:692-709 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d82780abd810b91388324b5156401561106a27e1c5c7639bc7101234204ea8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:2184-2200 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:2203-2219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"08777500edc27c5752979ec4fbe83e824eceb9e1aefdf1e48a926ee8e794118d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:234-250 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:113-129 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf1e932f574a0ee5b43f99ac033d0521ff52fc219cd922c68bf3e216129a392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): ArbiterOS-Kernel/redteam/_automation/run_cases.py:514-525 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py:104-120 \u2014 before extracting anything, compare \u0060ArbiterOS-Kernel/redteam/_automation/run_cases.py\u0060 and \u0060ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060ArbiterOS-Kernel/redteam/_automation/run_cases.py:514\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7822027ee975ec865e1e330ec7cbc5f1a6226f61feef98b76411655d86e145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:436-449 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:2023-2037 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafcae774b36f54c2885525d8f7b203f398c6319036e20f86fe1046da4164a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:593-609 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:488-502 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"919a2d0c18744cada3ce230bc11d16268305c33b0a35a4e6cfc7d9d88fe6fc9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ArbiterOS-Kernel/arbiteros_kernel/policy/path_budget_policy.py:222-235 | ArbiterOS-Kernel/arbiteros_kernel/policy/schema_policy.py:108-121 | ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py:83-96 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy/path_budget_policy.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d444a73d21884381fd54461019d04c6655d953acbdba9f30fa2536710e4174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:273-283 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:1954-1967 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e992016dd9adf711bedeeedbcafea3ca788893cb9bcba4d67071a0583e8f7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py:70-83 | ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py:161-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, 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":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"776e154703d12dc9b96f490730df945db6579ec2034baa6a5718700bffbeaa3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3310-3322 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3370-3382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2524338b48703c43a6bdf9a5d705532bc576d6a18de90cddbfe685a7f9452b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:4117-4129 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6072-6084 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d189f22ace03982f7be9423b633354193c6165cdc8ee47f7598fa8fd49df3e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/nanobot_policy.py:481-493 | ArbiterOS-Kernel/arbiteros_kernel/policy/nanobot_policy.py:500-512 \u2014 both copies are in the same file, so extract the block 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/nanobot_policy.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c33be938d63e432e1007212d77a69b3f01ce1793bf51cc924e6a3eeb0d897c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:442-455 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:289-301 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fa61d432d13a861d4f1935f6d1f7372ea18373a8920e057280b4d8c812d04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:133-144 | ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py:36-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1c5cc5c2e764159403a64477757c6431d2052c158daf183c536535ac670640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py:12-23 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:125-136 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a606905850869a4d3e59efdc8e1a1f5b4c0a221c9cfc0bc36124885540db1bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:171-182 | ArbiterOS-Kernel/arbiteros_kernel/policy/schema_policy.py:90-101 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:167\u0060 calls \u0060_get_delete_policy_config\u0060, \u0060PolicyCheckResult\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/schema_policy.py:89\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9811f10241216914b33b6bd4b78b2aea080cfd171774377ccc327853292fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py:47-59 | ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py:68-79 \u2014 both copies are in the same file, so extract the block 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9844397930efb5c65c7558e319168299b25b7c30a8b9baa10d6998c226212295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:160-171 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:98-109 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce38fcf5717dd9478d28f8ed9a0ea087fbc5d38ced26907bc58b4c67fd0da210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:460-471 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:304-315 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060instruction_type\u0060 to \u0060Optional[str]\u0060 in one and \u0060str\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e80d09abd3c0eecd49523783823499a95957738f343aeae9d604b1d4eff3733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:5215-5223 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:5541-5551 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:5215\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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcace2ebfc8bef43b312e6d8a9ee9cc4c6df5f5331e546bf90c3dafd4ad2e411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6897-6907 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6973-6983 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6897\u0060 it begins part-way through the construct above it, so those exact 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, \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6972\u0060 calls \u0060get\u0060, \u0060strip\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6896\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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":6897}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0541660727fd577782c5e89c5008ddceb857fc666e385b2b8d9de0fc0b63b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:612-622 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:505-515 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"408efac440f32c1166ab2cc85afea1264ce76821fef8ec718cedc4810ab2ec87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1625-1635 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:947-957 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee43d40c0879c5e3af5b33bf95751199c70693fadad630a459d6868dbb62425a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:467-476 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:406-415 \u2014 before extracting anything, compare \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 129 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 \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:467\u0060 it begins part-way through the construct above it, so those exact 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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca7e225755fbfcb67601f646f5f5fe973099790fb5afbba97464bf7bdf09cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6330-6338 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6384-6393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6330\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":6330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee6a02433989532c3149b497dfd5876e9e7194185b78ec38207a42efe529965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:672-681 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:358-367 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57860fe9dbe0e39cc24f807aed0ddba55dd99df0627ab80a2ac035f7ea526fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1232-1241 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:1203-1212 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f0e2927dbcdcc810a7e3b173ffd19e56ecc5928ddc4cb229f0b50cae3d55f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1665-1674 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:812-821 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fae326175984b2e82a051414c5ff8bbf5648c90a6a4c8cdf12c521e65316023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 10): ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py:110-117 | ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:199-205 | ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py:191-196 | ArbiterOS-Kernel/arbiteros_kernel/policy/path_budget_policy.py:229-237 | ArbiterOS-Kernel/arbiteros_kernel/policy/rate_limit_policy.py:142-149 | ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1269-1275 | ArbiterOS-Kernel/arbiteros_kernel/policy/schema_policy.py:115-122 | ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py:90-97 | ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py:225-233 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:2280-2286 \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 10 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:197\u0060 calls \u0060write_back_tool_args\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/path_budget_policy.py:229\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb9d29372a60ef42091f65fa23a88d32e9af2bb5ad9dfed9e3febf5a9329c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 4): ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:5216-5222 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:5542-5550 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6333-6339 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6388-6394 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6340\u0060 calls \u0060_accumulate_trace_total_tokens\u0060, \u0060isinstance\u0060, \u0060strip\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:6395\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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5216}}}],"partialFingerprints":{"codehealthFindingId/v1":"699b32bc77903162851779b8857281aa69e413f16bb6f2d5ba9f3e51efee7b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py:318-326 | ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py:279-287 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"351c20190a5c312480a0cbad2545dd9b957621ddc94f786e3cc80ec7d404ab8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:169-177 | ArbiterOS-Kernel/arbiteros_kernel/policy/rate_limit_policy.py:89-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, 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, \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/rate_limit_policy.py:99\u0060 calls \u0060_prior_history\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:179\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8875a977eb9e9fc2faaba072f2dfa0ab029aae288722b8a0748a670d6fea6420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py:117-125 | ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py:167-175 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bf89bbed79a1fc1f3a3a82d4ee4756891113abde49d589f83251ed3ead4ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py:800-808 | ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:759-767 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"6422275e56aada6c031ea5a33dfd040cb8db4e72ca671b8a412a1301fc24ba52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1097-1105 | ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py:163-171 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1106\u0060 calls \u0060set\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py:172\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"a262fa46879ceae408cfb1e104868f4dfe78c1ae2a728b17a811f73581c8e959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1073-1080 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1118-1125 \u2014 both copies are in the same file, so extract the block 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"33882d17aea4edb96ca621050abb31bd90494d13b786cfecf74bd25b6587edda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1359-1366 | ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:1375-1381 \u2014 both copies are in the same file, so extract the block 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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"97218be61255f6e2e0f19c9fa67b1f066d971b48a03224318ec9179d855a38fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ArbiterOS-Kernel/redteam/_automation/run_cases.py:154-161 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py:83-90 \u2014 before extracting anything, compare \u0060ArbiterOS-Kernel/redteam/_automation/run_cases.py\u0060 and \u0060ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d2e88fa8db975a44450ba894d3fa7d708caecd80e5c33eefdbb5c5f5e33995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ArbiterOS-Kernel/redteam/_automation/toolemu_v1/apply_review_results.py:24-31 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/build_from_trajectories.py:330-337 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/apply_review_results.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae64ac96cc1d0fa9fb1b2b49341dc071b75e77723d30ecccea428b195cfd6fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ArbiterOS-Kernel/redteam/_automation/toolemu_v1/build_from_trajectories.py:34-41 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py:22-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/build_from_trajectories.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25df1882dedf720f4800011d59768e775200b0ed808e152c0a504020f9b02f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py:15-21 | ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1096-1102 | ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py:61-67 | ArbiterOS-Kernel/arbiteros_kernel/policy/taint_policy.py:162-168 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:128-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py:68\u0060 calls \u0060get\u0060, \u0060isinstance\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:1103\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"546a8e85a46e249a44a2b8096049a0517d88b10b3988ee9df11771365f34aec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py:77-83 | ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:176-182 | ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py:121-127 | ArbiterOS-Kernel/arbiteros_kernel/policy/schema_policy.py:95-101 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e442d0034d1a27f6226aea1946871e3878224608e38c9caf4c326a64fc276273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py:268-274 | ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py:402-408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"df182605e545b8ea566e6d258c2efdafaf6959392f4777c5954d6803fcdb9cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:976-982 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1022-1028 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1070-1076 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1115-1121 \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 \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:976\u0060 it begins part-way through the construct above it, so those exact 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"81403331637aca86f13ec0d75ff69e2ea8c58389d54863d742b753a19b608089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:984-989 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1030-1035 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1082-1085 \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 \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:984\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"083b32e0548f88cf37785dcb2f7e65659b68e5710317f0d3f2f7a3d12b796f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:124-130 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:62-68 \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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3c816c9a416876c7bfd364ad316f1c61e50e29f2fb9113f29f544e8f337114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/helpers/skill_trust.py:241-244 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:552-556 | ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py:128-131 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1450-1454 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. The matched lines also transfer control out of the body holding them, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:1449\u0060 calls \u0060get\u0060, \u0060strip\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/helpers/skill_trust.py:241\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":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/helpers/skill_trust.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"da32f912d562556db7f594be0506de9ac7d6f6359aa951b8f235a53b9efc79bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:148-156 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:1852-1860 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e4260d9a7b68b9f621c86b341ee2c43d6a9ca38a12fec79731a09bb964bad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:160-168 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:1864-1872 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a020c3650a00707a2297828b172f546f4c4c24c03320b082cc8bbf9ccf55ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:172-181 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:1936-1945 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c79cf764b11db6ed44494a28ab230048ef922c0fdb425a8d3fc582fbf9fedbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:189-196 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:2491-2498 \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":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabf52b5d2f590d9a13a736aaeb5647d9263ef59f977933df3642cba048e79e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:340-344 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:2270-2274 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fbc329dfb7f07865db70f4de6317a244556261c610efe37552d44b79a115ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py:390-395 | ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py:3019-3024 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1b810b2950f22ee7af61875db5700433155f5a296e62e4b96bb6f9024b951b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py:240-249 | ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py:125-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce94ea233d117f3cd971288400365050beb09a05082e41497921d754c24c2ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py:47-55 | ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:140-148 | ArbiterOS-Kernel/arbiteros_kernel/policy/rate_limit_policy.py:12-20 | ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py:12-21 | ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py:25-33 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e79690f1ee219a9d667b93048fb140f7b3504d98fd1f9642b8a412b555e1464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py:87-91 | ArbiterOS-Kernel/arbiteros_kernel/policy/exec_composite_policy.py:70-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d76b645a40bf62fce116cc9b28782c4988522d2e9dec1002610d7946f0e594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py:633-646 | ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py:287-300 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, 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":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d10b4f9896b20b9b1e670d21cbd136cf0d7e33acc79149a5695ddf95c5ebff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py:175-180 | ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py:163-168 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8308413bb4d6edbce8c6c33ee6940d3442642770b1bc8ec0f74e7e9c44cc77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ArbiterOS-Kernel/redteam/_automation/run_cases.py:446-452 | ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py:61-67 \u2014 before extracting anything, compare \u0060ArbiterOS-Kernel/redteam/_automation/run_cases.py\u0060 and \u0060ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc84812d83fee219803687daa3dbad06e80984734ec97658b0ce159509e54fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py:172-179 | ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py:173-180 \u2014 before extracting anything, compare \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py\u0060 and \u0060ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"565049bda8883b2bb878f9081106da39bd7dae4a0f272d5cae9c1e275c7b911e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DataGenerator (LCOM4 5): DataGenerator\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd09b42ab89ffbca2ae4bb0c600c3e9ba4faa1a1530ecb41b93ee75df288ed9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SlackService (LCOM4 4): SlackService\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/SlackService.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"490bb95c6ed9b0c51a1b39a235a453f4f7e74cd54a3d73c4039a9bd0dd9ca27f"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the jest suite in langfuse/web/ ran and not one test passed (Error: Invalid environment variables), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: extracts tools from OTel metadata attributes: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/extractToolsBackend.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3279fb10d89594cec642009468da8e8895e3220f12c2e4c1f1cd42adf59d19"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: extracts tools from OTel indexed format: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/extractToolsBackend.test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57e326692260eae5c5de53adcca979d90e40688fdb17d5da1ca2cf84c812eac"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should extract tool definitions from OTel metadata structure i.e. pydantic-ai: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/extractToolsBackend.test.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"890338a1db1bebc21be9a1575cbd35f99b11235f03069e8affd5caf468741657"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: performance summary: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/json-utils.clienttest.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c01dc0f4bcf94903793236fe92bf7b49feafe5dee3a66369148a75d73a9a1d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should log error but not throw if Redis.del fails: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/promptCache.servertest.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed28833cca7d7301ac71cbba009fa2ed78652e3c1092ba08d38e24348dfdd693"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: handle no matching queue worker: This test starts work it did not wait for (\u0060traceUpsertQueue\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 2000))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/redisConsumer.test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fc51cd88774161e839fdfc76f8f518cfbc546087199e197c2cb2b1fb5b2a25"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: should reset the rate limit count after the window expires: This test starts work it did not wait for (\u0060rateLimitService\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 3000))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/rate-limit.servertest.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaec5558c7b2f7a426baab0d67501a6c1dc2b53f7b695e7948c8bed9862c28da"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should report wait time and processing time metrics correctly: This test sets up 4 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/ClickhouseWriter/ClickhouseWriter.unit.test.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfd5823b2655a8c8fa38c524641dbfeb06284b8bdfb5f6b18cf17f5df717083"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should schedule retry and set DELAYED status for retryable LLM errors: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/__tests__/llmAsJudgeExecutionQueueProcessor.test.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"309f2fa1caa4b83fb872364befc0ad46b8edfb00415ac364f6801332b71b209a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should set ERROR status for non-retryable LLM errors: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/__tests__/llmAsJudgeExecutionQueueProcessor.test.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96cdb8cb6167a5e46ba3cfa9d6bda1ba77365fc2c7eb98a22753ff6b9c9442e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should set ERROR status with user-facing message for UnrecoverableError: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/__tests__/llmAsJudgeExecutionQueueProcessor.test.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5257aafd4c7fbad11295ac5835b60520384b35a9b1949837173bd7c6966484"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not call traceException for UnrecoverableError: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/__tests__/llmAsJudgeExecutionQueueProcessor.test.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c858760474c79e5ad8b101b19b5b7fc8a05de2b8ff3e15ee5fcca0cc8e55398e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should complete evaluation successfully: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/executeLLMAsJudgeEvaluation.test.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c30d3cda3218eb92a7b539c3b64f4be3fedb545c229fed09c29597cc9133cd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass model config to LLM: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/executeLLMAsJudgeEvaluation.test.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87dbc40996a2af79289549caa3aa2c6563fbfadb43dd6b8d1ddf412be3c39dd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should have persisted score before job update fails: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/executeLLMAsJudgeEvaluation.test.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dad3a435db509dfe48b4d9e535b6e2321cbeddb2723771d8e90d50482f620e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call executeLLMAsJudgeEvaluation with correct parameters: This test sets up 3 test doubles (for example \u0060vi\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/observationEval/__tests__/observationEvalProcessor.test.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaba2f02d7c4e698b9e8a605163d21c9d6fbd1a1874bead59a67975e35f1b6e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should use default environment when observation environment is null: This test sets up 3 test doubles (for example \u0060vi\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/observationEval/__tests__/observationEvalProcessor.test.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ce13959da21791f2d002ddbd5b6ea7e2cc43133ede2dcb3b2a9f89ed2c3050"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should extract multiple variables from observation: This test sets up 3 test doubles (for example \u0060vi\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/observationEval/__tests__/observationEvalProcessor.test.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e1cb0474aacdccdd8de608ac08da25072e6d35128d9d29911486b8c18dae6c"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: psycopg: \u0060psycopg\u0060 3.3.9 is published on PyPI under \u0060LGPL-3.0-only\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"57e0195d284ef3fb0f29fa195d135277e5d941641db63632b6ec32fc013a89a1"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: psycopg-binary: \u0060psycopg-binary\u0060 3.3.9 is published on PyPI under \u0060LGPL-3.0-only\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0ecc517b12a2a5cd4decd202dba8037e24329661df7136a698d56a68d2825d67"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: pcodedmp: \u0060pcodedmp\u0060 1.2.6 is published on PyPI under \u0060GPL-3.0\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e2ed46feb1a9bba3ccae36828ff98dd3479d72def91eabb751785777642e3d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/litellm_callback.py: arbiteros_kernel/litellm_callback.py changed 18 times in last 90 days, max cyclomatic complexity 116 in MyCustomHandler.async_post_call_success_hook at line 6313. 3 of those changes were fix/bug commits, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/litellm_callback.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":"arbiteros_kernel/litellm_callback.py"},"region":{"startLine":6313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c32109a3ee14a5b55f3dc525f919e33a44d1438bbbe5f0a62920c08953ecf25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py: ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in MyCustomHandler.async_post_call_success_hook at line 6313. 1 of those changes was a fix/bug commit, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":6313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6548083b6c7541000bb9d95f059875cad0a01566939d9ad0d19640226a6c5b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/instruction_parsing/types.py: arbiteros_kernel/instruction_parsing/types.py changed 15 times in last 90 days, max cyclomatic complexity 28 in types.compute_prop_taint_for_instruction at line 149. 2 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/instruction_parsing/types.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arbiteros_kernel/instruction_parsing/types.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a68e59e71be22b1073156865dc528ecafe9be172e84d6ab5389f0528d6221d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py: ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in unary_gate_policy._eval_predicate at line 620. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"415ff8eba2098084f181ee9c981fe581472e576e2983e1db1ce3862f79ee6a81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/policy_check.py: arbiteros_kernel/policy_check.py changed 10 times in last 90 days, max cyclomatic complexity 18 in policy_check.check_response_policy at line 313. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/policy_check.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":"arbiteros_kernel/policy_check.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"beac563b2d53326b245c62051d930585f366ff19cd9f51065fc1e89cb6b65f41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/policy_runtime.py: arbiteros_kernel/policy_runtime.py changed 4 times in last 90 days, max cyclomatic complexity 36 in KernelPolicyRuntime.build_taint_state at line 827. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/policy_runtime.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arbiteros_kernel/policy_runtime.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a806daed160fb26bc9bbf7feed8df85483baed8b38c3694ebf5f299e13f179"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArbiterOS-Kernel/arbiteros_kernel/policy_check.py: ArbiterOS-Kernel/arbiteros_kernel/policy_check.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in policy_check.check_response_policy at line 313. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- ArbiterOS-Kernel/arbiteros_kernel/policy_check.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":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"74886365961f5de706638c48cb27d7f9a00cd8558a980a87032c3996ce5ef580"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/policy/unary_gate_policy.py: arbiteros_kernel/policy/unary_gate_policy.py changed 2 times in last 90 days, max cyclomatic complexity 63 in unary_gate_policy._eval_predicate at line 620. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/policy/unary_gate_policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f959c6d03edf26cdff61f6ffc3d10f6c00434b3985413f0619dc5ad093dcf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/policy/taint_policy.py: arbiteros_kernel/policy/taint_policy.py changed 4 times in last 90 days, max cyclomatic complexity 23 in TaintPolicy.check at line 147. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/policy/taint_policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arbiteros_kernel/policy/taint_policy.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"de15814469cd95d87654ee3a43a46c6813e6d5269fc8f3c8ebf2ebfacff4912e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/policy/exec_composite_policy.py: arbiteros_kernel/policy/exec_composite_policy.py changed 2 times in last 90 days, max cyclomatic complexity 44 in ExecCompositePolicy.check at line 327. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/policy/exec_composite_policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arbiteros_kernel/policy/exec_composite_policy.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c992ed770768f36919867b60b1e37022c28328503030570489fd789152e30bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py: ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in RelationalPolicy.check at line 1073. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"85600f15c1154f0523d6835d8ee058c219eaa84d3e1a8302ac1d0706d4fe2bf8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/policy/relational_policy.py: arbiteros_kernel/policy/relational_policy.py changed 2 times in last 90 days, max cyclomatic complexity 40 in RelationalPolicy.check at line 1073. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/policy/relational_policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arbiteros_kernel/policy/relational_policy.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"57626788382f3f88b8384dd594f4f00fe467ba2919412ff6ad390370fd0b547e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/policy/security_label_policy.py: arbiteros_kernel/policy/security_label_policy.py changed 2 times in last 90 days, max cyclomatic complexity 26 in SecurityLabelPolicy.check at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/policy/security_label_policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arbiteros_kernel/policy/security_label_policy.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d4cb46fd12c6ffe43aa8dca5ed12d605bf5a9f14aed7c9c55a0ac13b6284c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py: ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in policy_rule_ir._validate_predicate at line 659. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb79aedd933dfe74665bc5712c9656d1d712862d9fcce69f3a0286fdfb7ba69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: redteam/_automation/run_cases.py: redteam/_automation/run_cases.py changed 2 times in last 90 days, max cyclomatic complexity 23 in run_cases.main at line 615. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- redteam/_automation/run_cases.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":"redteam/_automation/run_cases.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d3f1fdcca8b8465c4362cfbf8c29a70cc8cde8ded0ca21d8ff319ebef7fafc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/policy/efsm_gate_policy.py: arbiteros_kernel/policy/efsm_gate_policy.py changed 2 times in last 90 days, max cyclomatic complexity 22 in EfsmGatePolicy.check at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/policy/efsm_gate_policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arbiteros_kernel/policy/efsm_gate_policy.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfd8a5ee10f8819cba90fa5afbd2080039655b20419ef51107d08fb9e3dba74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: arbiteros_kernel/policy/allow_deny_policy.py: arbiteros_kernel/policy/allow_deny_policy.py changed 2 times in last 90 days, max cyclomatic complexity 16 in AllowDenyPolicy.check at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-03-03..2026-06-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-03 11:42:31 \u002B08:00\u0027 --until=\u00272026-06-01 11:42:31 \u002B08:00\u0027 --full-history --no-merges -- arbiteros_kernel/policy/allow_deny_policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arbiteros_kernel/policy/allow_deny_policy.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"de49744f6bd370040a540b97da3ee95fdcf615093dd10543bd6f2e81f87b6a3c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 8 significant file(s) lose their only recent owner: ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy_check.py, ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py, ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/builder.py, ArbiterOS-Kernel/arbiteros_kernel/policy/resource_guard_policy.py, ArbiterOS-Kernel/arbiteros_kernel/warm_skill_trust.py, ArbiterOS-Kernel/arbiteros_kernel/taint_ablation.py, ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/tool_parsers/__init__.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d47782447d3fd67294b1aaa5547a6e10318410ad3f6dc2df246c8f3a7c680177"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (12 single-owned of 1052 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1052 of the 1924 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py, ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py, ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/tool_parsers/engine.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Add to a dead letter queue in Redis rather than dropping \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/ClickhouseWriter/index.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b30cdb8f15f5ee9b5ff063ad9913e8df3e87e326d1b9a357a622a9c1c2aa34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ADD EMAILS HERE \u2013 these accounts will receive test emails \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/send-test-spend-alert-emails.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a446847bb18f0e8399e5534d348140529ba8af06435f93395a6f0384cd45c14f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ADD EMAILS HERE \u2013 these accounts will receive test emails \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/send-test-threshold-emails.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3e2e44facf1c6ca30541ec4f9b9ba74eb2019e929ee7ddc083dd2b3cf8c196"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do we need to add these files into the blob_storage_file_log? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/otelIngestionQueue.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6c57e1631ea68e3be3321d868929cbf3c7443d1d11b3e61f0dced9f461c492"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Webhook outgoing API versioning \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a062866f0e55dc24224054d7cf960903c7c45d21b3410c11fa0e312647df4b7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Custom templates not supported via the UI yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f37421a6c10bb3ca37b922338c9f7be71d7e3272c48c44225365e8fe0c49ace"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we throw? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/utils.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab44c6449fe85b2b9c3846b8226b284b46a13494ed5cea8d2ba261e53e2c77d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: flip to validFrom once we write in new format \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b571c131ac65fbbf715bd893912767fac5f7af14d350d72a2e3e05b158b7e214"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove for golive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4198f1196712ac3b4cad501f77174e18f8c1a123ad73107880321d0ff00cb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove for golive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d3f679e840b3e161b27fee85641777b079aa1a6f12e0b67f91a0eeb686f492"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move test to shared and create test setup there. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/encryption.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c05c93f3185d8a67840e4bb0824dde089ebdc7f90420fd9ae93960007c1e9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add when we remove PG execution path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/experimentsService.test.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fad77bbc18a5e8cd5f8a41a7f0d4fc6c1064105e244ee8c9b45a09602bf2a28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Re-enable when OTel processor maps gen_ai.tool.definitions \u2192 input.tools \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/extractToolsBackend.test.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd3674024e09cf212a9d8cd24674a16d7b7782a257d2dc1647ef6bd1cacccf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Re-enable when OTel processor maps llm.tools.*.tool.json_schema \u2192 input.tools \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/extractToolsBackend.test.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd529cc25aa576725512801b2c4269ef92ba6347eac4a89481ffe8b88dc9615"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Re-enable when OTel processor maps metadata.attributes.model_request_parameters.function_tools \u2192 input.tools \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/extractToolsBackend.test.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"535fe2ea02c43a336ea4b428350aca76890050bf405e3a2383185fa40d641bfe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/chatml/adapters/gemini.test.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"868ef89e5fadee6327f804ab77c1a55358e41e3db698bdaaa2806670cac74436"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(LFE-3229): After models table cleanup, enforce uniqueness constraint directly on (projectId, modelName)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/models.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"91874969fba7a6ca9c07631ab4567a889d911405ee3aae12131123f4c58c243f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Set fix start date for uniqueness constraint to work. TODO: drop after cleanup of models table in LFE-3229"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/models.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d181bce5058bf6074705f180e0d48820938cfda841ad7a573fbc8fa5f93c5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Set fix unit for uniqueness constraint to work. TODO: drop after cleanup of models table in LFE-3229"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/models.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cb8e719cf5c898018f42c6668597f8fcab07ff20f276e7c7264b577f434878"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove when revamping the datasets api for it to directly return ms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb8eafd8bcc3e22f3ed26e9412bfb7892bbce7e45f2e3390dc8bac8456876c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove when revamping the datasets api for it to directly return ms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e23a9b8fe32beb8177c9900969fdb7d02f1c8931e9cdc32ccb3aad3446b24f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove when going into prod \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedObservation.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52e471ad5456c3200a1965904c0335f455c5481ff850c69cc65eef7574c1e2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add the environment selection to the query params to persist the environment filter when sharing links. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/use-environment-filter.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d55576cfce6bb204247dcd73b90740c670272677bd30e48295076de18201d34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this filter to a separate function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildStepData.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c491fb4bc7ff091885e883f57cf543663f4e7c57d190983c67b58756a9338eb4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make detection more robust based on metadata \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/components/TraceGraphView.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5645200d9bae74d42a9ea68ecfd02407df952c910ebf0208de0435271fe43fd8"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack because nextjs dev server support for https is experimental \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/server/oauth-handlers.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86a428937abe8dede890388aa4afbf5c50fb1626a1ef0a3341fd6c596d01131"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We may want to extend this and allow custom intervals like 3h in the future. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/types.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4659bb3384d47d9f63e29fce03b874ed044b4852a74286111cd74714d86e58a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: clean up - Placeholder messages could also be API created.. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/NewPromptForm/PromptChatMessages.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"800b946c757ea9bfec71e2927cce93f2eda532664376a0a765f2ae426625c9fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this more robust, will change with new filters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfa6c01b4ea15b0d6b35e2fb80da414feefeb3187132f8bf0fc0a369bd3ab5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Canonicalize URL when reconciliation drops mutually exclusive filters. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a39a2010276c391a57a1b6152d82cdc46e7efb0a6c232e403457e6bd147f4de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extract this transformation logic into a shared utility \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c5a739caa4f06463e62c265523821c13d7f6a872aa5ef8c90d89832a763c1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: think, how to determine root span? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/lib/eventsToTraceAdapter.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"633c17a8ab54a8c2735c9d2fa996ebcbeae0c5f6d74879d6b6c7a3ee806589f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe remove b/c unnecessary? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/hooks/useEventsFilterOptions.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd537393e58410b903a507c24923c5622fca8be8b5ebb9b33f92f2c1ed610f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: scores not included in FullObservation type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad1578a8f1bba06cd3293d13397ef0c184a082b3011a0d78a148d88f80c407b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: traceTags not available in EventsObservation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60cad8bb601eb3fcebe4d51d44a2768277e8d802143e4ea8e1dca2e2b27a0ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: moved to LFE-4573"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"859526d8ffc75a26864f0606be5c6811d49c74718c34727e1ef294d3a3a6abc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: moved to LFE-4573"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/evals-trpc.servertest.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de79998c7eedc9d100ff1a43af24b5fddf8217ef4f5726257bbad2d15b8e153"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO LFE-6512: only return score options present on the given dataset run"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a7b8a2e4cf64fe7de9e16b06442786b52e46df2ad18247fd8932109e33318a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"b699e6ee203cd58be71133c861513d7c843418ba3ec5761a95645ba249e6b646"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: v2 histogram aggregates all rows server-side (no 10k cap). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5185999418c3b35ffcd040cd14bdd4224568ebb93ec5f50f2b30568648aa1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Cleanup after all customers are migrated to the new system \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efa90066fc1d7a3da1cffe05fc6d697b9e7905aae6cf8d2e59ff5e35d37a401"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Cleanup after all customers are migrated to the new system \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"f003a2ea6ca9ea065db12afb169b2e3d5774128771f593a0f9fb7ca9ee6bc580"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Cleanup \u2013 discontinue metadata for functional purposes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f68d44f6bdbc3700cb80565866adcfc83a9a80796867ecbe157fab872543f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: clean up to use planLabels in packages/shared/src/features/entitlements/plans.ts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/VersionLabel.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28104d8aeacd929d141cde164c11b35d1da4889be657da7e4cc4e84584f1935"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Moved to LFE-4573"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/deleteButton.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ece2d7020737de3777e6944da2270b234630834cb75c5b4fabda0960a93e1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deduplicate with PrettyJsonView.tsx \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9e73507dfb76f27fc16b1081d58b5b20b3c091b60e4b3ec74f7b44d39bf366"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deduplicate with CodeJsonViewer.tsx \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0301bcc15e8a48d2ce8b401a9861f006a4e7f6a894ab489326ce02aeff8b554a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement media attachment support \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ff89ebb6c45b607fe759962b4465a41f0c2fa75e5020e0e5df5cb431a55bcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Expand all / collapse all functionality currently disabled \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1197bbdd45b89eeed82f0e132c6173398c1e8cdfd7c58bc7066b792ec1a89265"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extract aggregation logic to shared utility - duplicated in TraceTree.tsx and TraceTimeline/index.tsx \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7028075e73011b02ba5a81ada3b101e9f7a05a8683cc1cb42a15ad954bd0f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove migration logic after 2025-01-26 (2 weeks) when user settings are migrated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/hooks/useJsonBetaToggle.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fff391b952775d5d1c13edcb4afa62b0206710edd11fe1db14339f3c25d4f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove migration logic after 2025-01-26 (2 weeks) when user settings are migrated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/contexts/ViewPreferencesContext.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda2f5af0450a7829ab618dce6684c82d5c787d30cffa8481d7b8d7a3124b8af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extract aggregation logic to shared utility - duplicated in tree-building.ts and TraceTimeline/index.tsx \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTree.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"148582da94ceccc0f9b6a2205faf78e013f6b034a4f756b45cd51d628ea42f38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extract aggregation logic to shared utility - duplicated in tree-building.ts and TraceTree.tsx \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fbca4a2e9d9e69ecc067dc99122b9f1a8153dab1b6b960e8dad57e86a1e4a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make it nice \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f9b67cde95a2a7dde8a7ce9d65f8f497e0511c04b5991369eaf83b18842bb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: docs for metadata on scores \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd3cc296660d2e66dc68acb342ba8e90f4085cb43ac2ee5b7ed217265a79530"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: introduce saved default views \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e40e599d06e9b2595d745e52005a76330bf2cf81a3d448e91c36f54d437dfd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove when v4 beta is GA \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/app-layout/utils/navigationFilters.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3071779b40fdbb100203f68bb5b05e631cc53c25aeb2f207b556942ff1bb820"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO 400 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/observations-api.servertest.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e12b1d16fad8eeff31080a56feeaa507afa3fc075eda9c9500c30018d29b15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Known flaky test - day3All is undefined due to test setup issue \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/score-comparison-analytics.servertest.ts"},"region":{"startLine":3161}}}],"partialFingerprints":{"codehealthFindingId/v1":"27647c25f25ae8bad2eaa59b0bcd889b1e1f26984f92ee4b75cde2ebc268af65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Only use id instead of name \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/filterToPrisma.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"75593ca77fa220ce7d1e455d87983154f6b68e8d960bfce2ba9d7f7308c195ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Only use id instead of name. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/orderByToPrisma.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"65188d451ff8c1ab39bbf7b105154d27c18c5d6e7a4ee5b23c6ec00b38fc61c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove after beta v4 is concluded \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/tableMappings/mapTracesTable.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c96ca7aaa7d295ac7ce608cc0d305eaccd22db7437bbab48985052a3bb4cec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Validate whether we can filter traces on timestamp here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dashboards.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0a75d64779bf715f746ed12a45bdaacd77312197b4bcd214596cfd7d87aae5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO pull from PG \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7971c93be446df84212bdd68342944cbe7bf1ddc256efdf0322547bb38151369"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: introduce pagination \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1485153a57e68aa1c442c92fdbfb3831ffc72b7c2393795da63c1d727c79ffee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO further optimize by checking if specific trace fields are filtered on. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3729c07c2a93622d904c9e93daf78220f7524bd45352166a9fe198c87a7281"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Build this CTE via a query builder instead of raw SQL string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4bfc88ecb89d5435cb9e86d2450e9ef163cbe572da0cbf3c8c504a576a31e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Build this CTE via a query builder instead of raw SQL string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"899d929931c00931b14245e01c6ecab5933e693799b622e16509dcdf792d9833"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Map gen_ai.tool.definitions to input.tools for backend extraction \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"172a2c0c54d3ea844b69ae16128fba3678619ef096ee49540800528d2873e4dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check, is it even important to retain the IDs? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/llm/compileChatMessages.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3335a9bdced9cb8c4c656a9fb2e1c446e227eb14102278f2e3aa03079dc39f78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be handled by langgraph adapter preprocessing in the future \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"042c217cae0fa29c5c2c35c58823994a56ef301a94378c100aaae66cffbf726a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if we can do this more elegantly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/clickhouse/schema.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69b5d88fba7f7d47c07b930f4b0059560b8ef7ad4da182b239b3beed517718a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: simplify \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/comments/types.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe555c0976d2e133be2ef042cfb33e59f50b05db585bffc66640c7723ea8360"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060parseMetadataCHRecordToDomain\u0060 spells \u0060CH\u0060 where 14 names in the project spell it \u0060Ch\u0060: 14 of 15 names in project repository spell the token \u0060Ch\u0060 (14 of 15; unit: names in project repository containing \u0060Ch\u0060). Peers: dataset-run-items.getDatasetRunsTableMetricsCh (langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:500); dataset-run-items.getDatasetRunsTableRowsCh (langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:513); dataset-run-items.getDatasetRunsTableCountCh (langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:525); dataset-run-items.getDatasetRunItemsCh (langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:903); dataset-run-items.getDatasetRunItemsByDatasetIdCh (langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:915). Rename to \u0060parseMetadataChRecordToDomain\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/utils/metadata_conversion.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f72335685fe34548d0b2535bf0f2c4d44d76c9e45bc5d994d61e509bfbfd7f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060PutLlmConnectionV1Body\u0060 spells \u0060Llm\u0060 where 22 names in the project spell it \u0060LLM\u0060: 22 of 24 names in project repository spell the token \u0060LLM\u0060 (22 of 24; unit: names in project repository containing \u0060LLM\u0060). Peers: errors.isLLMCompletionError (langfuse/packages/shared/src/server/llm/errors.ts:24); fetchLLMCompletion.fetchLLMCompletion (langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts:118); router.mapLLMCompletionErrorToTRPCError (langfuse/web/src/features/error-analysis/server/router.ts:332); router.testLLMConnection (langfuse/web/src/features/llm-api-key/server/router.ts:57); CreateOrEditLLMSchemaDialog.CreateOrEditLLMSchemaDialog (langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx:59). Rename to \u0060PutLLMConnectionV1Body\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/llm-connections.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f35a3e6b04f0e5b821bb0c4bafc658f52ff80fb16ae627015c860c3ec0d36d1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060transformDbLlmConnectionToAPI\u0060 spells \u0060Llm\u0060 where 22 names in the project spell it \u0060LLM\u0060: 22 of 24 names in project repository spell the token \u0060LLM\u0060 (22 of 24; unit: names in project repository containing \u0060LLM\u0060). Peers: errors.isLLMCompletionError (langfuse/packages/shared/src/server/llm/errors.ts:24); fetchLLMCompletion.fetchLLMCompletion (langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts:118); router.mapLLMCompletionErrorToTRPCError (langfuse/web/src/features/error-analysis/server/router.ts:332); router.testLLMConnection (langfuse/web/src/features/llm-api-key/server/router.ts:57); CreateOrEditLLMSchemaDialog.CreateOrEditLLMSchemaDialog (langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx:59). Rename to \u0060transformDbLLMConnectionToAPI\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/llm-connections.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b42583c217222dd8bd406ba62d18f5f6d525213bef8732e4c1b6b2d56ad5693"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060bulkUpdateOrganizationsRawSQL\u0060 spells \u0060SQL\u0060 where 16 names in the project spell it \u0060Sql\u0060: 16 of 17 names in project repository spell the token \u0060Sql\u0060 (16 of 17; unit: names in project repository containing \u0060Sql\u0060). Peers: filterToPrisma.tableColumnsToSqlFilterAndPrefix (langfuse/packages/shared/src/server/filterToPrisma.ts:26); filterToPrisma.tableColumnsToSqlFilter (langfuse/packages/shared/src/server/filterToPrisma.ts:42); filterToPrisma.datetimeFilterToPrismaSql (langfuse/packages/shared/src/server/filterToPrisma.ts:177); orderByToPrisma.orderByToPrismaSql (langfuse/packages/shared/src/server/orderByToPrisma.ts:15); orderby-factory.orderByToClickhouseSql (langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts:9). Rename to \u0060bulkUpdateOrganizationsRawSql\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/bulkUpdates.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94f0a825175e702a33574bac0f5f202fd7471f82575ce07468f59eb4fd762ef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if file exists\u0022 repeats the code it sits on: 3 of its 3 words (check, file, exists) are already in \u0060if (!fs.existsSync(mediaFile.filePath))\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":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e814be485282d26da19e3e7628d2e4cd525c063cf53f8f9495ea66739dfc10b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Trace 2: All media types\u0022 repeats the code it sits on: 3 of its 3 words (trace, media, types) are already in \u0060const trace2Id = MEDIA_TEST_TRACE_IDS.allTypes;\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":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"371c56ea5914ffb92100ba7016a3a262827978017e1678990743b45935aafb8c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Map parent observation ID\u0022 repeats the code it sits on: 4 of its 4 words (map, parent, observation, id) are already in \u0060const parentObservationId = obs.parentObservationId\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":"langfuse/packages/shared/scripts/seeder/utils/framework-traces/framework-trace-loader.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"15daded873a81b4e9ce16920ad3336c15fb638f919c3fa5bc06d98fa1619f7ba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 11 comments in this file only repeat the code they sit on (lines 122, 134, 145, 157, 215, 221, 328, 331, 334, 337, 343), for example \u0022Generate dataset run item data\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4fc55680031bee57bdb43ca0d0247c48708fcd8fca61f83f0cac459830b5c1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Numeric config fields\u0022 repeats the code it sits on: 3 of its 3 words (numeric, config, fields) are already in \u0060export const NumericConfigFields = z.object({\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":"langfuse/packages/shared/src/domain/score-configs.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6b1704447c655a44e0146cf32ca29daecc84a25be7328ccb75a07fcca0de26"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Boolean config fields\u0022 repeats the code it sits on: 3 of its 3 words (boolean, config, fields) are already in \u0060export const BooleanConfigFields = z.object({\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":"langfuse/packages/shared/src/domain/score-configs.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1318e07fe15212dd688c1a950dc05e2835db81e9195ee45a9d425528c09d9762"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Generate a webhook secret key\u0022 repeats the code it sits on: 4 of its 4 words (generate, webhook, secret, key) are already in \u0060export function generateWebhookSecret(): {\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":"langfuse/packages/shared/src/encryption/signature.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"818db892603ef55cafda5585c5248349c0cb0ca36c282c1b8dc88125a62bbc56"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Custom mapping config - either root or key-value map type\u0022 repeats the code it sits on: 7 of its 8 words (custom, mapping, config, root, key, value, map) are already in \u0060export const CustomMappingConfigSchema = z.object({\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":"langfuse/packages/shared/src/features/batchAction/addToDatasetTypes.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dc261aa669167e6664dbfd527eb5f97d9699b444b2768e01c54488da33b4ef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET /scores/{scoreId}\u0022 repeats the code it sits on: 4 of its 4 words (get, scores, score, id) are already in \u0060export const GetScoreQuery = z.object({\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":"langfuse/packages/shared/src/features/scores/interfaces/api/shared.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbebcb2b203578433a7a4e515448502df0431825534199dd8597eb95ecea3520"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022soft delete the blob storage references in clickhouse\u0022 repeats the code it sits on: 5 of its 6 words (soft, delete, blob, storage, clickhouse) are already in \u0060await softDeleteInClickhouse(blobStorageRefs);\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":"langfuse/packages/shared/src/server/data-deletion/ingestionFileDeletion.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce65ec56bd61713c920ec8c94edea3a7d15ee5d83037353cac46049d3b4ac7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022dataset run items\u0022 repeats the code it sits on: 3 of its 3 words (dataset, run, items) are already in \u0060export * from \u0022./dataset-run-items/addToDeleteQueue\u0022;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/index.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2d5ccc80b8eecd7298d1c076a998a4809f529bf261480b8de3e38b2ec03ae8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Return true if normalized hash is less than sample rate\u0022 repeats the code it sits on: 5 of its 6 words (return, normalized, hash, sample, rate) are already in \u0060return normalizedHash \u003C sampleRate;\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":"langfuse/packages/shared/src/server/ingestion/sampling.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a201db9ae8f582e1ac97119f723e6c84e3771654371e0d473561bd4c967eaa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter out redundant shallow trace events\u0022 repeats the code it sits on: 5 of its 5 words (filter, redundant, shallow, trace, events) are already in \u0060const finalEvents = this.filterRedundantShallowTraces(allEvents);\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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59056db351d49b9a4f1c05a44f4a3716c364bc7f056e81fbb155b6d4c520239"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create observation event\u0022 repeats the code it sits on: 3 of its 3 words (create, observation, event) are already in \u0060const observationEvent = this.createObservationEvent({\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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0f43e225c634f8ec395a69a02b32d63d859be31abcac279c54c97ebc16bf1c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Join all order by clauses with a comma and return\u0022 repeats the code it sits on: 4 of its 5 words (join, order, clauses, return) are already in \u0060return \u0060ORDER BY ${orderByClauses.join(\u0022, \u0022)}\u0060;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"963c2d0df49b98c7572c31a2ed5da5d9287f3dbe288f442ae5730598150e41ff"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Observation level: trace_id \u002B observation_id Trace level: project_id \u002B trace_id\u0022 repeats the code it sits on: 5 of its 5 words (observation, level, trace, id, project) are already in \u0060const primaryKey = isTraceLevel ? \u0022project_id\u0022 : \u0022observation_id\u0022;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/query-fragments.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"65498b2225b1cccde01567ff66a773a70470f60353872f3b46cdd65ced31424b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create run ID condition\u0022 repeats the code it sits on: 4 of its 4 words (create, run, id, condition) are already in \u0060const runConditionFilter = new StringFilter({\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":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13643ea7e52f1b460fa381b06de021125d3f56a7c36422fe25399e81ae58ef3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create user filters for this run\u0022 repeats the code it sits on: 4 of its 4 words (create, user, filters, run) are already in \u0060const userFilters = createFilterFromFilterState(\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":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"73da80e9f3c0d6226d946b0beedf32431ba4e0440d118ab852fef3f2f589f620"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create run ID condition\u0022 repeats the code it sits on: 4 of its 4 words (create, run, id, condition) are already in \u0060const runConditionFilter = new FilterList([\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":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"87db0052e7b0ea4d26f6d64bd094c52d72be57264b295209eaa3721661157310"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extract time filter and apply filters\u0022 repeats the code it sits on: 4 of its 5 words (extract, time, filter, filters) are already in \u0060const startTimeFrom = extractTimeFilter(observationsFilter);\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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3658f47d2c8de2c86a544174b6a472abddcc17c5542ac6e4f7d13c81f86c33"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Select count field set\u0022 repeats the code it sits on: 4 of its 4 words (select, count, field, set) are already in \u0060queryBuilder.selectFieldSet(\u0022count\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b43ba15ef066867d15fc7e7b861debbf69a1f4007e7773be94c211306031167"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if any filters reference the scores table\u0022 repeats the code it sits on: 4 of its 5 words (check, filters, scores, table) are already in \u0060const filtersNeedScores = tracesFilter.some(\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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d7dea9b91ad39232cfea09a9b4031cd20ba54e44e5b781c9f412634c917f54"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Only join dataset run items and traces if there is a dataset run items filter\u0022 repeats the code it sits on: 6 of its 7 words (join, dataset, run, items, traces, filter) are already in \u0060const performDatasetRunItemsAndTracesJoin = scoresFilter.some(\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":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed629e15232ae2e2ea0c827e415ad285d22c4bac4b9501e7a5a784a86910eaaa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Separate trace filters (events_core) from score filters\u0022 repeats the code it sits on: 5 of its 6 words (trace, filters, events, core, score) are already in \u0060const traceFilters = scoresFilter.filter(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f0493fb15e88e5087c33db7cbf01147dd8bbdd2dc89739cb35254dab351646"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Define create widget input schema\u0022 repeats the code it sits on: 4 of its 5 words (create, widget, input, schema) are already in \u0060export const CreateWidgetInputSchema = z.object({\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":"langfuse/packages/shared/src/server/services/DashboardService/types.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3db79ba3e9fec64df7b63b0d86c9601ce6f075dfc1cdccad20e682c9a6bc256"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the LLM API key for the provider\u0022 repeats the code it sits on: 5 of its 5 words (find, llm, api, key, provider) are already in \u0060const llmApiKey = await prisma.llmApiKeys.findFirst({\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":"langfuse/packages/shared/src/server/services/DefaultEvaluationModelService/DefaultEvalModelService.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7dd5d59e166ed88d2409eee856d09d4d5ed3a5356e28007fe137a1ed26351a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022fetch default model\u0022 repeats the code it sits on: 3 of its 3 words (fetch, default, model) are already in \u0060const defaultModel = await this.fetchDefaultModel(projectId);\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":"langfuse/packages/shared/src/server/services/DefaultEvaluationModelService/DefaultEvalModelService.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"08864f2b209ea9bb48174f359565f23d6c0b6a84f73b06e5a5c82809ba981b39"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Nesting depth check\u0022 repeats the code it sits on: 3 of its 3 words (nesting, depth, check) are already in \u0060if (level \u003E= MAX_PROMPT_NESTING_DEPTH)\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":"langfuse/packages/shared/src/server/services/PromptService/index.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a1ea67d620e148b1894928c2f2afe8aa980670f4269d9b52689e30b649555c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Interface for Slack installation metadata\u0022 repeats the code it sits on: 4 of its 4 words (interface, slack, installation, metadata) are already in \u0060export interface SlackInstallationMetadata\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":"langfuse/packages/shared/src/server/services/SlackService.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e058a44ba3a85fb8fcf253ee09bb359be05e11fcce79b4c84c061d8d49db0e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extract comment filters from filterState\u0022 repeats the code it sits on: 4 of its 5 words (comment, filters, filter, state) are already in \u0060const commentCountFilters = filterState.filter(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/commentFilterService.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f00d71ae9bd31a613655742b2ad2703100aecb0097d3f947df247dee603e3bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove comment filters from filterState\u0022 repeats the code it sits on: 4 of its 5 words (comment, filters, filter, state) are already in \u0060const updatedFilterState = filterState.filter(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/commentFilterService.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3233db03aa75f542f0ed9cf7933dc433aa5b256943790af6b360c9166de4f0a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create pending deletion records for all traces\u0022 repeats the code it sits on: 4 of its 5 words (create, pending, deletion, traces) are already in \u0060await prisma.pendingDeletion.createMany({\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":"langfuse/packages/shared/src/server/traceDeletionProcessor.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ef4b227652ef2c8578bd7daedffba7d78b14ca29f067a302ba138593653a1a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the trace delete queue\u0022 repeats the code it sits on: 4 of its 4 words (get, trace, delete, queue) are already in \u0060const traceDeleteQueue = TraceDeleteQueue.getInstance();\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":"langfuse/packages/shared/src/server/traceDeletionProcessor.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ead17b7123e89d3d75225d4c919e77ba91fbdacbdfd163c398e14f10af343ad"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get reference month/year in UTC\u0022 repeats the code it sits on: 4 of its 5 words (get, reference, year, utc) are already in \u0060const refYear = referenceDate.getUTCFullYear();\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":"langfuse/packages/shared/src/server/utils/billingCycleHelpers.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5515d0b5c384f4d08e85a4460c393428c6378ffc333737d89678b2297abb1b33"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fetch the current URL\u0022 repeats the code it sits on: 3 of its 3 words (fetch, current, url) are already in \u0060const response = await fetch(currentUrl, fetchOptions);\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":"langfuse/packages/shared/src/server/webhooks/redirectHandler.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64c44f91824a595a82fe3256d26e432b24d4c2ffa2ba6f4197196a13ab57649"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Raw Gemini API response: {candidates: [{content: {...}}]}\u0022 repeats the code it sits on: 5 of its 6 words (raw, gemini, api, candidates, content) are already in \u0060const GeminiRawAPISchema = z.looseObject({\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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6b2f02b9346fdd1fbd90dff84813a05235a70699b0b25a0e391cfd9eb5ecee"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ADK output format: {content: {parts: [...], role: \u0022...\u0022}}\u0022 repeats the code it sits on: 5 of its 6 words (adk, output, content, parts, role) are already in \u0060const GeminiADKOutputSchema = z.looseObject({\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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dbacbe90605d5007e8ed9e70c5ae9d33b48a7978e5de921395289995d8c3d6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022LangGraph message with additional_kwargs\u0022 repeats the code it sits on: 5 of its 5 words (lang, graph, message, additional, kwargs) are already in \u0060const LangGraphMessageSchema = z\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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5590fd90292c8ff0a293599a372933d2ec6b813ada0d8b8a35f345443c974b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022extract tool definitions from messages array\u0022 repeats the code it sits on: 5 of its 5 words (extract, tool, definitions, messages, array) are already in \u0060function extractToolDefinitions(messages: unknown[]): Array\u003C{\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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"296df5c08228987b90c50d0685458878b46aa457c82bafcc87e3c15619814b1b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle tool_calls from additional_kwargs\u0022 repeats the code it sits on: 4 of its 5 words (tool, calls, additional, kwargs) are already in \u0060if (additionalKwargs.tool_calls)\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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"02900c09d04f666f2caaf06c54e1bdae5d9ef75c8e901335a5d87d74f1024f2d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Microsoft Agent message with parts array\u0022 repeats the code it sits on: 5 of its 5 words (microsoft, agent, message, parts, array) are already in \u0060const MicrosoftAgentMessageSchema = z.looseObject({\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":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b8c7a196b950b716a6491ca2d807460252adc10592de4f57d59bd5f73034a4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Array of Microsoft Agent messages\u0022 repeats the code it sits on: 4 of its 4 words (array, microsoft, agent, messages) are already in \u0060const MicrosoftAgentMessagesSchema = z.array(MicrosoftAgentMessageSchema);\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":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"936affd61fa343cce3d9f226476ab26dc0bc363a6e2b962c578415650bc2452c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022OUTPUT SCHEMAS (responses)\u0022 repeats the code it sits on: 3 of its 3 words (output, schemas, responses) are already in \u0060const OpenAIOutputResponsesSchema = z.looseObject({\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":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8194013a0aade73f8f832fc2329008175069c8fb9540760c782c079bfb36a1eb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Assistant message with tool calls\u0022 repeats the code it sits on: 4 of its 4 words (assistant, message, tool, calls) are already in \u0060if (message.role === \u0022assistant\u0022 \u0026\u0026 toolCalls.length \u003E 0)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/pydantic-ai.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ac247e1ef6ad1db60c8c39d63b6b1e40b9e917441dcf542a4625d8f992cfda"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extract and attach tool definitions from metadata\u0022 repeats the code it sits on: 4 of its 5 words (extract, tool, definitions, metadata) are already in \u0060const tools = extractToolDefinitions(ctx.metadata);\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":"langfuse/packages/shared/src/utils/chatml/adapters/pydantic-ai.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef4ce55a6519b30fc036a4f346fd7a9a9dcb07af1eab8ebac7d3f1fe92fa5ca"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Try Python dict parsing\u0022 repeats the code it sits on: 4 of its 4 words (try, python, dict, parsing) are already in \u0060const pythonParsed = tryParsePythonDict(input);\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":"langfuse/packages/shared/src/utils/json.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bbf6a0e0e43f2112eb4ee69a81d8d6ea5ecbcbccdfe90092c3f2002413bf5c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022check that at least one of the responses is a 429\u0022 repeats the code it sits on: 3 of its 3 words (check, responses, 429) are already in \u0060const rateLimitedResponse = responses.find((r) =\u003E r.status === 429);\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":"langfuse/web/src/__e2e__/api.servertest.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"babf13b415999e4a22710b21f4d542d1b2927f82dd60e847f93198171ed5b338"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up env for admin API key tests\u0022 repeats the code it sits on: 5 of its 6 words (set, env, admin, api, key) are already in \u0060(env as any).ADMIN_API_KEY = ADMIN_API_KEY;\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":"langfuse/web/src/__tests__/admin-api-key-auth.servertest.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a148cbdad109d6e6462bb955d6b0f5823f6c566805f545a4d3ca921873bb3031"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get first page\u0022 repeats the code it sits on: 3 of its 3 words (get, first, page) are already in \u0060const firstPageResponse = await makeZodVerifiedAPICall(\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":"langfuse/web/src/__tests__/annotation-queues-api.servertest.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"312c1f43965a8932aabf7e2514ffef887b1203e44de4102368f450e9874fb381"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get second page\u0022 repeats the code it sits on: 3 of its 3 words (get, second, page) are already in \u0060const secondPageResponse = await makeZodVerifiedAPICall(\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":"langfuse/web/src/__tests__/annotation-queues-api.servertest.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"91246058d326819daa2bca35823844834b4c547433b25d9df50d8a4d73aa6bf2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get first page\u0022 repeats the code it sits on: 3 of its 3 words (get, first, page) are already in \u0060const firstPageResponse = await makeZodVerifiedAPICall(\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":"langfuse/web/src/__tests__/annotation-queues-api.servertest.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"387f2c617b8a70e76a314a1ff1dac4f7966db681101c11436ab0ae3b7c722020"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get second page\u0022 repeats the code it sits on: 3 of its 3 words (get, second, page) are already in \u0060const secondPageResponse = await makeZodVerifiedAPICall(\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":"langfuse/web/src/__tests__/annotation-queues-api.servertest.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdc7bf45c531b457c1abb452442922cb423dee817aa9e15569da5b60256ce9c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022update the organization with a cloud config\u0022 repeats the code it sits on: 4 of its 4 words (update, organization, cloud, config) are already in \u0060await prisma.organization.update({\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":"langfuse/web/src/__tests__/api-auth.servertest.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b80a9f051ac099fe4aa80c50ee649beb9c359b3a99df280f0a57b368ee6285b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022update the organization with a cloud config\u0022 repeats the code it sits on: 4 of its 4 words (update, organization, cloud, config) are already in \u0060await prisma.organization.update({\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":"langfuse/web/src/__tests__/api-auth.servertest.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa23955f388c298ab5ff37cbf7c1f4d56dd574001c0a0a4b0bc4700ac488c8b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add the non-scoped key to Redis\u0022 repeats the code it sits on: 4 of its 5 words (non, scoped, key, redis) are already in \u0060await redis.set(\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":"langfuse/web/src/__tests__/api-auth.servertest.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b11a100888ef1f87d2a067ac2e134a99e1b96b3e0075f2d1cf3aad0e21bafc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a test annotation queue\u0022 repeats the code it sits on: 4 of its 4 words (create, test, annotation, queue) are already in \u0060const queue = await prisma.annotationQueue.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/annotation-queue-assignments-api.servertest.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6679413856773288a88dbe2f1f06a5eda0a14aa9ec172d2db56582a85529ea27"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a user without project access\u0022 repeats the code it sits on: 4 of its 5 words (create, user, without, access) are already in \u0060const userWithoutAccess = await prisma.user.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/annotation-queue-assignments-api.servertest.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d2b6ca5e06861c35f62e3f23fd69a384b296b11ba2a44f9bb985117f243239"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 84, 167, 526, 592, 2002, 2209), for example \u0022Create test prompt\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/automations-trpc.servertest.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd388e796f762bc255f23b2058f6692f5751fa6cb5d5328caee8fc037643d101"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 7 comments in this file only repeat the code they sit on (lines 75, 84, 101, 147, 211, 506, 567), for example \u0022Create test organization\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/blob-storage-integration-api.servertest.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf506b70662716f20f61ce6324287e42ae6521fb6446a67f55f7f32d7e8d6df6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 9 comments in this file only repeat the code they sit on (lines 562, 768, 801, 871, 986, 1312, 1506, 2010, 2040), for example \u0022Create dataset run items\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/dataset-service.servertest.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17dc78409bd1e7a8da78053fca7f7b48fbcbb73b06edb675cc973043c71bea4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create dataset item\u0022 repeats the code it sits on: 3 of its 3 words (create, dataset, item) are already in \u0060await createDatasetItem({\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":"langfuse/web/src/__tests__/async/experiments-versioning.servertest.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3213711889d04f64f2416d50da195b2f00085c732a4dea6ac57f9e752e1e7646"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create dataset item\u0022 repeats the code it sits on: 3 of its 3 words (create, dataset, item) are already in \u0060await createDatasetItem({\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":"langfuse/web/src/__tests__/async/experiments-versioning.servertest.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d92684bc7914d90cd467b000d2523f5adc2d4705c9798442a3eb3a73ea375f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create first item\u0022 repeats the code it sits on: 3 of its 3 words (create, first, item) are already in \u0060await createDatasetItem({\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":"langfuse/web/src/__tests__/async/experiments-versioning.servertest.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8d6b43111d31a885d11c97f4ef7da7beb57a3ea548d37b249dde3f313cfa40"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create second item\u0022 repeats the code it sits on: 3 of its 3 words (create, second, item) are already in \u0060await createDatasetItem({\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":"langfuse/web/src/__tests__/async/experiments-versioning.servertest.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d4aecbb7b10b8e4a0feca3172e51959fc1aaf1db72f8430859c026ffad4be7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test overrides: users with project roles that override org roles\u0022 repeats the code it sits on: 6 of its 7 words (test, overrides, project, roles, override, org) are already in \u0060const overrideTests = [\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":"langfuse/web/src/__tests__/async/generateUserProjectRolesQuery.servertest.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fb590ac7cf02b56172431344ca646c5e5417b1cc67ed5ee747eabd085df586"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test missing adapter\u0022 repeats the code it sits on: 3 of its 3 words (test, missing, adapter) are already in \u0060const missingAdapterResponse = await makeAPICall(\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":"langfuse/web/src/__tests__/async/llm-connections-api.servertest.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"52912bfa9d818bf81d6450de25d3c0fe189018dc3f7a462801a02b972a368af3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify baseURL can be string or null\u0022 repeats the code it sits on: 4 of its 5 words (base, url, string, null) are already in \u0060expect(\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":"langfuse/web/src/__tests__/async/llm-connections-api.servertest.ts"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ff3c9852444104fa4c79d1b403b77c450ca15926e32525d07c5949da7e5419"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 50, 74, 83, 583, 696, 705), for example \u0022Create a prompt with production label\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/mcp-tools-read.servertest.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c611fece7e11f0d5a8efd27aac7e1c5c79f0a414c1a1e587fb337095ae29f4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create prompt in project 1\u0022 repeats the code it sits on: 3 of its 3 words (create, prompt, project) are already in \u0060const result1 = (await handleCreateTextPrompt(\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":"langfuse/web/src/__tests__/async/mcp-tools-write.servertest.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a82e65074984c44825f7d0e339e2ae486df5579c3ec1b7eec7ca07dc3b020d9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create v1 with production label\u0022 repeats the code it sits on: 3 of its 3 words (create, production, label) are already in \u0060await createPromptInDb({\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":"langfuse/web/src/__tests__/async/mcp-tools-write.servertest.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f809fd313a9887163884bb2be7034964a3550aa984bc2167e6b4f2ba53d753b1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create prompt in project 1\u0022 repeats the code it sits on: 3 of its 3 words (create, prompt, project) are already in \u0060await createPromptInDb({\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":"langfuse/web/src/__tests__/async/mcp-tools-write.servertest.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"635b59eaa186741c47bc19053199b8e9452e2012af120279a01ee6ec15921841"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 16, 24, 65, 97, 106, 141), for example \u0022Schema for membership response\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/memberships-api.servertest.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f81f69e67bf4851d4cff5bc7fabc09e2ddd6447e61c119d51eea53a82bd44b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 213, 304, 407, 466, 613), for example \u0022Make the API call\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/metrics-api.servertest.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f53b8d7a1ce43735395e5c9824dbf35650eefd3fa94c2755f91b3e68ccb290"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Make the API call\u0022 repeats the code it sits on: 3 of its 3 words (make, api, call) are already in \u0060const response = await makeZodVerifiedAPICall(\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":"langfuse/web/src/__tests__/async/metrics-v2-api.servertest.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52c1750b567fdba46a29111b04b885e1b7731abeedcd6dc9b45f53ba530ef84"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Make the API call\u0022 repeats the code it sits on: 3 of its 3 words (make, api, call) are already in \u0060const response = await makeZodVerifiedAPICall(\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":"langfuse/web/src/__tests__/async/metrics-v2-api.servertest.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef725ada9fb0bc48f7a605a02e375e9655be66a8d186d26c9ddb9d41e9470c2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create default tier\u0022 repeats the code it sits on: 3 of its 3 words (create, default, tier) are already in \u0060const defaultTier = await prisma.pricingTier.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/model-pricing-tiers.servertest.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ab0cc88bfbc789b9f7006899accc78d24f1a16b1d7cae757710005673f3205"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create large context tier\u0022 repeats the code it sits on: 4 of its 4 words (create, large, context, tier) are already in \u0060const largeTier = await prisma.pricingTier.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/model-pricing-tiers.servertest.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11d0c429cc59eeb5acaf1376d3ed2f4d4b2a3d92c7b67d99fb30014afb2937c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create default tier\u0022 repeats the code it sits on: 3 of its 3 words (create, default, tier) are already in \u0060const defaultTier = await prisma.pricingTier.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/model-pricing-tiers.servertest.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8064c933777b1a4dc4b43ccc1e9c0fe3216862e7e1c3dec9ee8fa01cb52f5fb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test GET /models/{modelId}\u0022 repeats the code it sits on: 4 of its 5 words (get, models, model, id) are already in \u0060const response = await makeZodVerifiedAPICall(\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":"langfuse/web/src/__tests__/async/model-pricing-tiers.servertest.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6101aff0ed73a892c355ffff52fac57b0331b08d1c06984c2127f256ffed60"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find our created observation\u0022 repeats the code it sits on: 3 of its 3 words (find, created, observation) are already in \u0060const createdObs = response.body.data.find(\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":"langfuse/web/src/__tests__/async/observations-api-v2.servertest.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dd015ee7480d783cce59e0a40a95063e5c4289cc5027fe357ea0fd9212b4a3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create observations for both traces\u0022 repeats the code it sits on: 3 of its 3 words (create, observations, traces) are already in \u0060await createAndInsertObservations(useEventsTable, trace1, [\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":"langfuse/web/src/__tests__/async/observations-api.servertest.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"18423184d47db63d33c6906de1a07fd998e5da2fabc15154eb58fdca2376f8a8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022parentObservationId filter tests\u0022 repeats the code it sits on: 4 of its 5 words (parent, observation, id, filter) are already in \u0060describe(\u0022parentObservationId filter\u0022, () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/observations-api.servertest.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8f62e7269f19c01e4d6caae3cb45d73c8505e8e3bf31e942c3478832a80ab4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter for root observations (parentObservationId is null)\u0022 repeats the code it sits on: 6 of its 7 words (filter, observations, parent, observation, id, null) are already in \u0060const filterParam = JSON.stringify([\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":"langfuse/web/src/__tests__/async/observations-api.servertest.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3b84f15dce0b102f70d1f18542d35619c1dd87d6c5d806768cdf93cf9a8539"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create score for the trace\u0022 repeats the code it sits on: 3 of its 3 words (create, score, trace) are already in \u0060const score = createTraceScore({\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":"langfuse/web/src/__tests__/async/observations-trpc.servertest.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b47e2e8881951675cfb759c55788f4c24d73c08ece9d2636fe29c063fbf34ca"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a test API key first\u0022 repeats the code it sits on: 4 of its 5 words (create, test, api, key) are already in \u0060const apiKeyResult = await ownerCaller.organizationApiKeys.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/organizations-api-key-trpc.servertest.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb400e43eaffc10ac827890704767added78766a81dd0d91580000d6d8f5fea2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a key as owner\u0022 repeats the code it sits on: 3 of its 3 words (create, key, owner) are already in \u0060const apiKeyResult = await ownerCaller.organizationApiKeys.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/organizations-api-key-trpc.servertest.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6469b219691f595c984bd375512e5c014bf1ef2508f19f64ff6b9588bf3a97e8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a key as owner\u0022 repeats the code it sits on: 3 of its 3 words (create, key, owner) are already in \u0060const apiKeyResult = await ownerCaller.organizationApiKeys.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/organizations-api-key-trpc.servertest.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf5224bd8f6c89947d42376a08c9ef459d0ea3be958aaf879d1e7c0d3cef9e2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 14 comments in this file only repeat the code they sit on (lines 24, 38, 43, 53, 306, 565, 715, 814, 856, 925, 1021, 1029, 1065, 1113), for example \u0022Schema for organization response\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/organizations-api.servertest.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb927fdf769a3e9e22a646ee53114b1d2218fd899beeeb2dda27214a1880261e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 9 comments in this file only repeat the code they sit on (lines 15, 31, 39, 47, 53, 68, 79, 177, 890), for example \u0022Schema for project response\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/projects-api.servertest.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19fdae6d58f1267479c0ff9845c9106ed40b9fe1a23b29e5ac669e5bec40be7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 7 comments in this file only repeat the code they sit on (lines 77, 192, 326, 621, 646, 724, 1185), for example \u0022Create webhook action\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/prompts-trpc.servertest.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a3fc1c8f0c57b25ef077c66857f0ea2253286f2627ab3dd6c6530cdd878b9d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 79, 2478, 2919, 2975, 3187, 3202), for example \u0022Create webhook action\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/prompts.v2.servertest.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"871062d170f14f1346be941c01196885588c6917a4f2e66cb99e28465ea0d4e8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create event in different project\u0022 repeats the code it sits on: 4 of its 4 words (create, event, different, project) are already in \u0060const event = createEvent({\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":"langfuse/web/src/__tests__/async/repositories/event-repository.servertest.ts"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b571c2d0f5c74ec4ac26957c1c384eb20d99a59de806285e1a67531cb3ceae"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 93, 102, 165, 174, 361), for example \u0022Create dataset run\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/repositories/score-repository.servertest.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0d012107bb1b6315ab0bf9cab91791981057e356e4bc8baedf1cf090f9216e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Schema for SCIM Users list response\u0022 repeats the code it sits on: 4 of its 5 words (schema, scim, users, list) are already in \u0060const ScimUsersListSchema = z.object({\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":"langfuse/web/src/__tests__/async/scim-api.servertest.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1ed773408d89f9013b14a73fa34f7e3c800336c318084af4a1b99d6e8bcd1e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Schema for SCIM Resource Types response\u0022 repeats the code it sits on: 4 of its 5 words (schema, resource, types, response) are already in \u0060const ResourceTypesResponseSchema = z.object({\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":"langfuse/web/src/__tests__/async/scim-api.servertest.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9992b2f0c872189ece01bb736fc55cca0011c824b9de64852e3e277603c3d6c7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify preflight estimates via samplingMetadata\u0022 repeats the code it sits on: 4 of its 5 words (preflight, estimates, sampling, metadata) are already in \u0060expect(result.samplingMetadata.preflightEstimates).toBeDefined();\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":"langfuse/web/src/__tests__/async/score-comparison-analytics.servertest.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a419ca69a3e03dc39772722f7a7edd7d3bf6a419133816e296e79795f89298"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify preflight estimates via samplingMetadata\u0022 repeats the code it sits on: 4 of its 5 words (preflight, estimates, sampling, metadata) are already in \u0060expect(result.samplingMetadata.preflightEstimates).toBeDefined();\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":"langfuse/web/src/__tests__/async/score-comparison-analytics.servertest.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1dbe021fb6015ca3f2122624d9b975e1aee02687e11b3a5dd2f599c9601e5e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 10 comments in this file only repeat the code they sit on (lines 86, 105, 203, 244, 274, 319, 366, 476, 516, 571), for example \u0022Setup the getInstance mock to return our mock service\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/slack-integration.servertest.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d8d1ba6b8176a69de09c3ebc7ac2e8087455701f7e3ad180117cb4a269d221"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Helper to create trace with observations/events\u0022 repeats the code it sits on: 4 of its 5 words (create, trace, observations, events) are already in \u0060const createTraceWithObservations = async (\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":"langfuse/web/src/__tests__/async/traces-api.servertest.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5ae2920eb1004cd9f0161d7e9f160071bc17d9a162b12d57da8f6c46f87de8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022For observations table: just create observations\u0022 repeats the code it sits on: 3 of its 3 words (observations, table, create) are already in \u0060const data = observations.map((obs) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/traces-api.servertest.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef2fc4d29e70318684f5699daf707efc63663ce50487d1d0d3c193ae85ddb81"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the sentiment score in categorical scores\u0022 repeats the code it sits on: 4 of its 5 words (find, sentiment, score, scores) are already in \u0060const sentimentScore = filterOptions.score_categories.find(\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":"langfuse/web/src/__tests__/async/traces-trpc.servertest.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c2dd1227c5f8e2cf5b4fe0bc80c08378578f4254b3f27a13fc0263aabe4fab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 393, 422, 451, 477, 504), for example \u0022Create organization with billing cycle anchor\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/billingCycleHelpers.servertest.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d68e5eea5b30a3c64ca4450de04846b40fa7dbe62111a67565b78a47e96e7df"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Same start time for each group\u0022 repeats the code it sits on: 3 of its 3 words (start, time, group) are already in \u0060const sameStartTime = baseTime \u002B groupIndex * 100;\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":"langfuse/web/src/__tests__/buildStepData.clienttest.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e60e684b6d141126c6993edcf80e6402f51ea7e308203507ff5cb015bd954d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Execute query to get raw data\u0022 repeats the code it sits on: 4 of its 5 words (execute, query, raw, data) are already in \u0060const rawData = await executeQuery(projectId, query);\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":"langfuse/web/src/__tests__/dashboard-router-pivot-table.servertest.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7c0d4fe69aebbf924fd91a138519e022d083659865703b3e20f9b9f2f3cc0a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Execute query to get raw data\u0022 repeats the code it sits on: 4 of its 5 words (execute, query, raw, data) are already in \u0060const rawData = await executeQuery(projectId, query);\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":"langfuse/web/src/__tests__/dashboard-router-pivot-table.servertest.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac73c69cf4a7f2a20b2d9d4e62efb50bc36b78fa85d097ec7f19efdbf3fffa0d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Execute query to get raw data\u0022 repeats the code it sits on: 4 of its 5 words (execute, query, raw, data) are already in \u0060const rawData = await executeQuery(projectId, query);\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":"langfuse/web/src/__tests__/dashboard-router-pivot-table.servertest.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdba6f525c8dbd0aa04de201d141c5ad89b0c28025b04e39abf9d714376d106"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Helper to create large objects with many keys\u0022 repeats the code it sits on: 4 of its 5 words (create, large, objects, keys) are already in \u0060const createLargeObject = (\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":"langfuse/web/src/__tests__/json-utils.clienttest.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"343002b38a8b0e4a7b7a79c65257127856e607eeb1541a970ea44ccc65bb5c48"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get upload URL\u0022 repeats the code it sits on: 3 of its 3 words (get, upload, url) are already in \u0060const getUploadUrlResponse = await makeZodVerifiedAPICallSilent(\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":"langfuse/web/src/__tests__/media.servertest.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"45504dc5ef2d4f8acc20f5aa13ada10d6324c14af65e97986b0e5b499ed4f2c2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get download URL\u0022 repeats the code it sits on: 3 of its 3 words (get, download, url) are already in \u0060const getDownloadUrlResponse = await makeZodVerifiedAPICallSilent(\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":"langfuse/web/src/__tests__/media.servertest.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fa54db22bdcc020f3701e66042c494d2e767fccd41f99976ff9d870ff5d193"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 2130, 2139, 2508, 3112, 3180, 3310), for example \u0022Check qa trace with gpt-4\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/queryBuilder.servertest.ts"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e265bf68baff04a02415b2ccd2ddc7c954695f87093e3b018e3a5e965d7b8b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter for recent hours where we created observations\u0022 repeats the code it sits on: 4 of its 5 words (filter, recent, hours, observations) are already in \u0060const recentObservations = queryBuilderResult.filter(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/queryBuilderDashboards.servertest.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ccdb8cc091f8e197edba3b50b30503ee56dc2bc2b5bc1b347d25ba81167d9e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter for recent hours where we created observations\u0022 repeats the code it sits on: 4 of its 5 words (filter, recent, hours, observations) are already in \u0060const recentObservations = queryBuilderResult.filter(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/queryBuilderDashboards.servertest.ts"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce347b4e0cd4a604dba5d374e490e2fa7542adc4522bd9b8ba5e5f0b5003a019"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify custom trace attributes ARE in metadata.attributes\u0022 repeats the code it sits on: 4 of its 5 words (custom, trace, attributes, metadata) are already in \u0060expect(\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":"langfuse/web/src/__tests__/server/api/otel/otelMapping.servertest.ts"},"region":{"startLine":5401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9199954f490c74735a976b61a8f30614f092c71e02650a51247b96882617465a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify custom observation attributes ARE in metadata.attributes\u0022 repeats the code it sits on: 4 of its 5 words (custom, observation, attributes, metadata) are already in \u0060expect(\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":"langfuse/web/src/__tests__/server/api/otel/otelMapping.servertest.ts"},"region":{"startLine":5499}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccf2397fe7989aaa7a2d6cc968f80a1abd8e74f04d140f0b277a4f8c9b62e2e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify custom span attribute IS in metadata.attributes\u0022 repeats the code it sits on: 5 of its 6 words (custom, span, attribute, metadata, attributes) are already in \u0060expect(\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":"langfuse/web/src/__tests__/server/api/otel/otelMapping.servertest.ts"},"region":{"startLine":5610}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31b1b4fa59c87a89dfe3b012c37842cb268cb279a66bf79b154acb3f286c4b8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Current combined value in \u0022Provider: model\u0022 format\u0022 repeats the code it sits on: 5 of its 6 words (current, combined, value, provider, model) are already in \u0060const currentCombinedValue = \u0060${modelParams.provider.value}: ${modelParams.model.value}\u0060;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5251b3aabd6f301dfa1329ab72c2ce60ffce9bc0f921a3bd573a04ec3235208c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Map filtered routes to navigation items\u0022 repeats the code it sits on: 5 of its 5 words (map, filtered, routes, navigation, items) are already in \u0060const allItems = filteredRoutes.map(mapRouteToNavigationItem);\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":"langfuse/web/src/components/layouts/app-layout/hooks/useFilteredNavigation.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f585d540c53d48f5c5aff6f50e5435c329ee2125c9da182b04ab129a8e7baa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Helper to group processed navigation items\u0022 repeats the code it sits on: 4 of its 5 words (group, processed, navigation, items) are already in \u0060const groupProcessedNavigation = (items: NavigationItem[]) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/utilities/routes.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"df308b21bc439b3181f8466e5d4b0f01194226baf20b70933d63c38a4a37fcc3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fetch fresh session and trace comments data\u0022 repeats the code it sits on: 5 of its 6 words (fetch, session, trace, comments, data) are already in \u0060const [sessionCommentsData, traceCommentsData] = await Promise.all([\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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4d24cff67c7e13f8d6b71ae1d8af4f58a02d861eb3efa160623fa6453e7f2b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if selectedViewId is a system preset\u0022 repeats the code it sits on: 6 of its 6 words (check, selected, view, id, system, preset) are already in \u0060const systemPreset = SESSION_DETAIL_SYSTEM_PRESETS.find(\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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"7966583cf214a3a57c9e75d592e44a2f33e14fd3ad452e1b2b8625d58969f48d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter options by search query\u0022 repeats the code it sits on: 4 of its 4 words (filter, options, search, query) are already in \u0060const filteredOptions = searchQuery\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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c73803ccff30abed92df4b2c7e106ab30127a7821b1834ab738983490a42c6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check system filter presets first\u0022 repeats the code it sits on: 4 of its 5 words (check, system, filter, presets) are already in \u0060const systemPreset = systemFilterPresets?.find(\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":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"601dba63c4ee92b31a0160ef6787d155f3aa3d854928960ce9d0ac44763971f0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for LangGraph data (has step != 0)\u0022 repeats the code it sits on: 5 of its 5 words (check, lang, graph, data, step) are already in \u0060const hasLangGraphData = agentGraphData.some(\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":"langfuse/web/src/components/trace2/api/useAgentGraphData.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5542cf2da30bcb9e10048044c9ab4b398ffe3c06ff54d1c8cede586311de62ce"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Shared props for JsonInputOutputView\u0022 repeats the code it sits on: 5 of its 6 words (props, json, input, output, view) are already in \u0060const jsonViewProps = {\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":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewPretty.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b551eb76ada13c36be193fb6638e54f17948ab9c6b9577dd7f9719282edaeaf7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022View mode for pretty/json toggle\u0022 repeats the code it sits on: 4 of its 5 words (view, mode, pretty, json) are already in \u0060export type ViewMode = \u0022pretty\u0022 | \u0022json\u0022;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b98277bcfa95a0f8ce215f3d75ce37a3b8b781420e02f9f793d5338da05074e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ChatMessage props\u0022 repeats the code it sits on: 3 of its 3 words (chat, message, props) are already in \u0060export interface ChatMessageProps\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":"langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"459834f3c52fa441b714f1865cb6419bb9b1ce81c2b8e5559c3c7fa3830833be"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Toggle button for passthrough JSON\u0022 repeats the code it sits on: 4 of its 4 words (toggle, button, passthrough, json) are already in \u0060const passthroughToggleButton = hasPassthroughJson(message) ? (\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":"langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"765d7ca384ae9cfd5339855f626e407ceedf1ca3ca89c73769e4cb42413f0e15"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ChatMessageList props\u0022 repeats the code it sits on: 4 of its 4 words (chat, message, list, props) are already in \u0060export interface ChatMessageListProps\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":"langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessageList.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf82a5e7b7bef88e188fbda46990c5f95663f82a2536df020f79546e199e8f54"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if there\u0027s no original output to compare\u0022 repeats the code it sits on: 4 of its 5 words (check, no, original, output) are already in \u0060const hasNoOriginalOutput =\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":"langfuse/web/src/components/trace2/components/IOPreview/components/CorrectedOutputDiffDialog.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14440efe9335604a9845d444f3f41974a02edf887744b8165f7b8687179a609"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Diff dialog state\u0022 repeats the code it sits on: 3 of its 3 words (diff, dialog, state) are already in \u0060const [isDiffDialogOpen, setIsDiffDialogOpen] = 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":"langfuse/web/src/components/trace2/components/IOPreview/components/CorrectedOutputField.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"392c98bff589c41c3a86533260ce0d53cb3621e50cafc7624eae1faaae20cacf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022SectionMedia props\u0022 repeats the code it sits on: 3 of its 3 words (section, media, props) are already in \u0060export interface SectionMediaProps\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":"langfuse/web/src/components/trace2/components/IOPreview/components/SectionMedia.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c16af8627e79c2b2a895f851004c759a4f537f1ced9570404025f8c326e8f5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022SectionToolDefinitions props\u0022 repeats the code it sits on: 4 of its 4 words (section, tool, definitions, props) are already in \u0060export interface SectionToolDefinitionsProps\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":"langfuse/web/src/components/trace2/components/IOPreview/components/SectionToolDefinitions.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ae4193d5c7540d85a03af0af0ac1507118e7de3894b451f189afa1248e3019"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ToolCallDefinitionCard props\u0022 repeats the code it sits on: 5 of its 5 words (tool, call, definition, card, props) are already in \u0060export interface ToolCallDefinitionCardProps\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":"langfuse/web/src/components/trace2/components/IOPreview/components/ToolCallDefinitionCard.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5537e705cce60f3fc32952b96662e68054c217f4c8ee7d0b7f2cb036f66d6333"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get previous cache value for rollback\u0022 repeats the code it sits on: 4 of its 5 words (get, previous, cache, value) are already in \u0060const previousValue = correctionCache.get(variables.id);\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":"langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionMutations.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"782ed6252ce44ce5b3eb41dad7e9063770f48872813531aa96a79d387622b986"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get previous cache value for rollback\u0022 repeats the code it sits on: 4 of its 5 words (get, previous, cache, value) are already in \u0060const previousValue = correctionCache.get(effectiveCorrection.id);\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":"langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionMutations.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed62c74c1b62f70316a498f9d3aed8cc246e9f03e20e8b951812f4739625fdd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ChatML message type from schema\u0022 repeats the code it sits on: 4 of its 5 words (chat, ml, message, schema) are already in \u0060export type ChatMlMessage = z.infer\u003Ctypeof ChatMlMessageSchema\u003E;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/hooks/useChatMLParser.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4b06acbb992b4d7944e4a2601a7ebd2ca25ad0b1ffcafe1b08d0d94596e951"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle tab change\u0022 repeats the code it sits on: 3 of its 3 words (handle, tab, change) are already in \u0060const handleTabChange = (value: string) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5191d8d791efc2ea56357be5a4d61d77346a60f65c4767d64c80e07c6b72735"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Convert Set to Record\u003Cstring, boolean\u003E\u0022 repeats the code it sits on: 4 of its 5 words (set, record, string, boolean) are already in \u0060const newState: Record\u003Cstring, boolean\u003E = {};\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/TraceLogView.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac70a435ad4bbec94aa3645c2e4e118b6e2a7b141dbae63fc930b6a75eb7ff2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Helper to create a TRACE root node\u0022 repeats the code it sits on: 4 of its 5 words (create, trace, root, node) are already in \u0060function createTraceRoot(children: TreeNode[]): TreeNode\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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b159e8b3cd0d6b766920b12ce29679ba5def24462132f8cfb56cafe1de9dec0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sort by startTime\u0022 repeats the code it sits on: 3 of its 3 words (sort, start, time) are already in \u0060observations.sort((a, b) =\u003E a.startTime.getTime() - b.startTime.getTime());\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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1514ba27ad0525dc73162ef7c04fd8f317eabb7af238bcdec230e8f3bc8ab0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sort children by startTime\u0022 repeats the code it sits on: 4 of its 4 words (sort, children, start, time) are already in \u0060const sortedChildren = [...current.node.children].sort(\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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a9208ebbc3ae6ee3eda910bfe0a8faec988417a120c7e801992cc657c9b7bb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up virtualizer for rows\u0022 repeats the code it sits on: 3 of its 3 words (set, virtualizer, rows) are already in \u0060const rowVirtualizer = useVirtualizer({\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":"langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c1cfcec94fc2f976a8b0a7e0ad71f1771a297aaa515466350415e1405489ab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get comment count for this node\u0022 repeats the code it sits on: 4 of its 4 words (get, comment, count, node) are already in \u0060const commentCount = comments.get(nodeId) ?? 0;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a66df50faf5c0ea052ccd25fc649322a8e03d6128d62482e98a291fee9b4e4c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sort roots by startTime\u0022 repeats the code it sits on: 4 of its 4 words (sort, roots, start, time) are already in \u0060const sortedRoots = [...roots].sort(\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":"langfuse/web/src/components/trace2/components/TraceTimeline/timeline-flattening.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc1853fe81d2121e49687db7d75e0960aee3df771d33d24a1b294e51d6c84fd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for LangGraph data (has step != 0)\u0022 repeats the code it sits on: 5 of its 5 words (check, lang, graph, data, step) are already in \u0060const hasLangGraphData = agentGraphData.some(\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":"langfuse/web/src/components/trace2/contexts/TraceGraphDataContext.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e803b182ede0a67d8a1f2d2c5d625a8afee2179e9480068ea2feb91fccbb526"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Helper to generate expansion state from observation keys\u0022 repeats the code it sits on: 5 of its 6 words (generate, expansion, state, observation, keys) are already in \u0060const generateExpansionState = (\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":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ca3f5be69f72739e73471aecb8ed098ed550f8c188a7b38fb3f9a90234c13c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Total cost = this node\u0027s cost \u002B all children\u0027s costs\u0022 repeats the code it sits on: 5 of its 5 words (total, cost, node, children, costs) are already in \u0060const totalCost =\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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a49cf86f268f0eeb90b9c09a162de36fede15e3ccfb39b6b1ef76d377f3a52f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022searchItems has no TRACE node\u0022 repeats the code it sits on: 4 of its 5 words (search, items, trace, node) are already in \u0060expect(result.searchItems.every((s) =\u003E s.node.type !== \u0022TRACE\u0022)).toBe(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"4098840e9f1e68b0ef7858d9f9ce68133f327b987719abd7e2e8f6b09f5a77d1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parent has children at depth 1: childrenDepth = 1\u0022 repeats the code it sits on: 3 of its 3 words (parent, children, depth) are already in \u0060expect(result.nodeMap.get(\u0022parent\u0022)?.childrenDepth).toBe(1);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f02810fa1fb413c2d3282e13b2ab4d17d5432f04a866fc2a1d5c8fa9449127"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sort by start time\u0022 repeats the code it sits on: 3 of its 3 words (sort, start, time) are already in \u0060const sortedObservations = mutableList.sort(\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":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b8afd772a7aae0368c29ed59f9254f4f826d2905f26f8695edb60ec88923f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Total = node cost \u002B children costs\u0022 repeats the code it sits on: 5 of its 5 words (total, node, cost, children, costs) are already in \u0060const totalCost =\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":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"3345993c538b20f062024d12afc6f43f20ad4e038980c982ed333b1c7f1becd4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Calculate trace root total cost\u0022 repeats the code it sits on: 4 of its 5 words (trace, root, total, cost) are already in \u0060const traceTotalCost = rootTreeNodes.reduce\u003CDecimal | undefined\u003E(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"77890a033e9dab6f35536feaad5d596ae5ede7a9167d3bbd8752aca8d26a0623"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Calculate trace root childrenDepth\u0022 repeats the code it sits on: 4 of its 5 words (trace, root, children, depth) are already in \u0060const traceChildrenDepth =\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":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ef788b17b7a0e66731fd0afa3407c29ad044b6620ff32cdafb6cef6fec837d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Hide section if data is null/undefined\u0022 repeats the code it sits on: 4 of its 5 words (hide, data, null, undefined) are already in \u0060if (hideIfNull \u0026\u0026 (data === null || data === undefined))\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":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25034a4e0ad86492c2dd99191f6d7a253fdf55f2da74b52b7422767cc815538"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Ref for child viewer (either virtualized or simple)\u0022 repeats the code it sits on: 4 of its 5 words (ref, viewer, virtualized, simple) are already in \u0060const viewerRef = useRef\u003C\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/MultiSectionJsonViewer.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c0cd8b246052e106ccc76785784adceadd2f9c7eac1cedb0ccfb27688019f5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get comment ranges for this row\u0022 repeats the code it sits on: 4 of its 4 words (get, comment, ranges, row) are already in \u0060const commentRanges = getCommentRangesForRow(\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"29266c349cb4a65cbbcbba9625906c04af7a2015adb16fdaa7c61f56ac0e65c2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter media for this section\u0022 repeats the code it sits on: 3 of its 3 words (filter, media, section) are already in \u0060const sectionMedia = media?.filter((m) =\u003E m.field === sectionKey);\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff57c5ae7a556ed80bc99bdd4bbcc1c502d092ba601f444db5d57d6ecc270ab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get comment count for this section\u0022 repeats the code it sits on: 4 of its 4 words (get, comment, count, section) are already in \u0060const sectionCommentCount = getCommentCountForSection(\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8902cebf5e9debc9fdda935c270d7a51be27fc6561117670dc55d24afe80342f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter media for this section\u0022 repeats the code it sits on: 3 of its 3 words (filter, media, section) are already in \u0060const sectionMedia = media?.filter(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"17700fbb0abcd7cd209b470fbd4a4651a78785d69446ce4cb2e5ea0412308b9b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get comment count for this section\u0022 repeats the code it sits on: 4 of its 4 words (get, comment, count, section) are already in \u0060const sectionCommentCount = getCommentCountForSection(\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d382710bd920b478b084770df925c8dde00e472b18606b0e69dbb623c4f6e7a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get comment ranges for this row\u0022 repeats the code it sits on: 4 of its 4 words (get, comment, ranges, row) are already in \u0060const commentRanges = getCommentRangesForRow(\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0dfba99207657d94ea760caf9305134f8cb758933aa8a33f811c485401ab78"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Calculate visible row count from tree\u0022 repeats the code it sits on: 4 of its 5 words (visible, row, count, tree) are already in \u0060const visibleRowCount = tree ? 1 \u002B tree.rootNode.visibleDescendantCount : 0;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewerLayout.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c65551879e01f756053d7e1acf9ffe60d132bcaa226fd8f8ed45b012324ee8d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find visible index of matched node\u0022 repeats the code it sits on: 5 of its 5 words (find, visible, index, matched, node) are already in \u0060return findNodeVisibleIndex(tree, currentMatch.rowId);\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useSearchNavigationTree.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63c290b1093804e6d9c7d0e6ad04e160bb4f3ff0c9fe4e83c17805acb0dfef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Width for line numbers: digits * char width \u002B padding\u0022 repeats the code it sits on: 6 of its 6 words (width, line, numbers, digits, char, padding) are already in \u0060width \u002B= maxLineNumberDigits * CHAR_WIDTH_PX \u002B PADDING;\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/calculateFixedColumnWidth.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1981320535c4acfddde3985b445e85fbf4b7216afe20b58b61b4822542512a39"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the index of the current match within the row\u0027s matches\u0022 repeats the code it sits on: 6 of its 6 words (find, index, current, match, row, matches) are already in \u0060const indexInRow = rowMatches.findIndex(\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f458c556167d0fd6d00e7420140c4e3415ad7bc8e0e86b9dd482433b486ce75"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get node from match\u0022 repeats the code it sits on: 3 of its 3 words (get, node, match) are already in \u0060const node = tree.nodeMap.get(match.rowId);\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"15db7ae6df52d2709d5661d3d6d822cae7d78e83f4939ef7d880e1637cbaebef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Recompute offsets for this node\u0022 repeats the code it sits on: 3 of its 3 words (recompute, offsets, node) are already in \u0060recomputeNodeOffsets(current);\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c9a9333e3f1c83a53bbf68b2230b554e59ffb96545403f09e33148c30521da"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Count visible nodes (root \u002B visible descendants)\u0022 repeats the code it sits on: 5 of its 5 words (count, visible, nodes, root, descendants) are already in \u0060const visibleNodes = 1 \u002B tree.rootNode.visibleDescendantCount;\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e90c01e59733158f1ae1812e8d3cc30e726275112c7528bf7463da9bc8f3a96"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ERROR: Requested index is out of bounds\u0022 repeats the code it sits on: 4 of its 4 words (error, requested, index, bounds) are already in \u0060console.error(\u0022[getNodeByIndex] ERROR: Index out of bounds\u0022, {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b019c1d59ac3f03b0e91ad24e7ff4f1b48987f8a9f3e41f1178f35e00b7cb66"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if this is a section header with matching key\u0022 repeats the code it sits on: 4 of its 5 words (check, section, header, key) are already in \u0060if (node.nodeType === \u0022section-header\u0022 \u0026\u0026 node.sectionKey === sectionKey)\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5b0abd93a37a4c0f1952c6cfe73640b95f73937106b6f83080bbcc0efa96ca"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Push children to stack\u0022 repeats the code it sits on: 3 of its 3 words (push, children, stack) are already in \u0060node.children.forEach((child) =\u003E stack.push(child));\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"19004aacadb9d6ba1f6bfaaaab841b819075c774f719244f3e7322eb1f4c97a8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if ADMIN_API_KEY is set\u0022 repeats the code it sits on: 4 of its 5 words (check, admin, api, key) are already in \u0060if (!env.ADMIN_API_KEY)\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":"langfuse/web/src/ee/features/admin-api/server/adminApiAuth.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"142b42e37100db40a1f9982570c058a69d76677799625b4932319c1846ac7d5f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete the API key\u0022 repeats the code it sits on: 3 of its 3 words (delete, api, key) are already in \u0060const deleted = await new ApiAuthService(prisma, redis).deleteApiKey(\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":"langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/apiKeyById.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e205f179d0c38e91372d612466ac54bee38a1788062083e20cec3dc0185e6a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the API key\u0022 repeats the code it sits on: 3 of its 3 words (create, api, key) are already in \u0060const apiKeyMeta = await createAndAddApiKeysToDb({\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":"langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/index.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"761b97704d4b9dc2cad378e927df939cd1e1ccc6da43995809c50042d9d421f3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete the API key\u0022 repeats the code it sits on: 3 of its 3 words (delete, api, key) are already in \u0060const deleted = await new ApiAuthService(prisma, redis).deleteApiKey(\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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/apiKeyById.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e4edf0bfdb6468a3e8bef6644899d3e52a4bc76019eb658f24fc1a49089ede"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the API key\u0022 repeats the code it sits on: 3 of its 3 words (create, api, key) are already in \u0060const apiKeyMeta = await createAndAddApiKeysToDb({\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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"673df4a9a48cb0e2d6acb9727969e7df55bef333fb79ee8fc3b0b923edce6d53"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Upsert the project membership\u0022 repeats the code it sits on: 3 of its 3 words (upsert, project, membership) are already in \u0060const membership = await prisma.projectMembership.upsert({\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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/memberships/index.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4707688731c77306531287e265db39c85d419ad7d0fe3c0bce978eb204213b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022check if ADMIN_API_KEY is set\u0022 repeats the code it sits on: 4 of its 5 words (check, admin, api, key) are already in \u0060if (!env.ADMIN_API_KEY)\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":"langfuse/web/src/ee/features/multi-tenant-sso/createNewSsoConfigHandler.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff330fd7c5e520d48da7a3d90d1741951577338de82f2ee3bf3b9cc726140462"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Define the form schema for GitHub dispatch actions\u0022 repeats the code it sits on: 6 of its 7 words (form, schema, git, hub, dispatch, actions) are already in \u0060export const GitHubDispatchActionFormSchema = z.object({\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":"langfuse/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5691f26fd95e612b13f7632369a39259013fe5ff0bdd2b83e9e0ec1b0321a479"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the original index in the headerFields array\u0022 repeats the code it sits on: 5 of its 6 words (find, original, index, header, fields) are already in \u0060const originalIndex = headerFields.findIndex(\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":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d692a8c503e17a1d618a2dde2d7a7a36bab5fcaccd1f7ae99b278ea0b08659d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if header name conflicts with default headers\u0022 repeats the code it sits on: 5 of its 6 words (check, header, name, default, headers) are already in \u0060if (\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":"langfuse/web/src/features/automations/components/actions/WebhookActionHandler.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"014d7323b422da7a4eb915d4f1fc27c8afc856d767b04f715bd206ac79f9e42a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get current action handler for rendering\u0022 repeats the code it sits on: 4 of its 5 words (get, current, action, handler) are already in \u0060const getCurrentActionHandler = () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c654ecf4ebd2253882acc31415c447364deaebf726e860afa6b737bebfe8de34"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update action config with new secret\u0022 repeats the code it sits on: 4 of its 5 words (action, config, new, secret) are already in \u0060const updatedConfig = {\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":"langfuse/web/src/features/automations/server/router.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0c81d2d43396d9618d6bf2e0ba68e9466aa1593e3e705a61df1749a038b942"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Process headers and generate final action config\u0022 repeats the code it sits on: 5 of its 6 words (process, headers, final, action, config) are already in \u0060const finalActionConfig = processWebhookHeaders(\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":"langfuse/web/src/features/automations/server/webhookHelpers.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7ba7eeaa52a14ff1e2f7f14d89bc4ca6599bd56227a41ec683be76b14523c9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Default mapping config\u0022 repeats the code it sits on: 3 of its 3 words (default, mapping, config) are already in \u0060export const DEFAULT_MAPPING_CONFIG: MappingConfig = {\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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/types.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9329c8189cae759571fa63abdeb8ee95b6f1027f3a18896c86d95d24f5546817"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Observation data for preview\u0022 repeats the code it sits on: 3 of its 3 words (observation, data, preview) are already in \u0060export type ObservationPreviewData = {\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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/types.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4eaf51d7a4462add0902ed2177fb11d9a52deb5532dca2fe9f3c403c8ed0cb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mapping step props (reusable for Input/Output/Metadata)\u0022 repeats the code it sits on: 6 of its 7 words (mapping, step, props, input, output, metadata) are already in \u0060export type MappingStepProps = {\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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/types.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab39d4134722c6290c1c02a5bcc3c0f165cd61ff390b61af4fbd5e35503623f9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Final preview step props\u0022 repeats the code it sits on: 4 of its 4 words (final, preview, step, props) are already in \u0060export type FinalPreviewStepProps = {\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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/types.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14ee6769ed9a1fbdf3104c53682617f50077857f322e7b8572a04bc76da1ed4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create export job\u0022 repeats the code it sits on: 3 of its 3 words (create, export, job) are already in \u0060const exportJob = await ctx.prisma.batchExport.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-exports/server/batchExport.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffaa8cdc5aadfebe3adbeb26024270ed468bc05b7e838f372078a5469377b17"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the processing queue\u0022 repeats the code it sits on: 3 of its 3 words (get, processing, queue) are already in \u0060const blobStorageIntegrationProcessingQueue =\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":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea95758607fa6ef0b0a254609e79d7c692da94f8697ac81a4828eb2af4a8be0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Upload the test file\u0022 repeats the code it sits on: 3 of its 3 words (upload, test, file) are already in \u0060const result = await storageService.uploadWithSignedUrl({\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":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"650cadfb1fc4ace9af7af5285ec9766acad04feb8968d83cd71d4434a8d04aa5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for ongoing incidents\u0022 repeats the code it sits on: 3 of its 3 words (check, ongoing, incidents) are already in \u0060if (parsed.ongoing_incidents.length \u003E 0)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/cloud-status-notification/server/cloud-status-router.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c692a1c9d2186b141be95f4d1096384440067fbdbbbd4100bdd555717704de67"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get dashboard by ID input schema\u0022 repeats the code it sits on: 4 of its 5 words (get, dashboard, id, input) are already in \u0060const GetDashboardInput = z.object({\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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ea8a952a62b740861d07a26fcbb287dcb511d4b6ac2a4e909622b9ff5ec558"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update dashboard definition input schema\u0022 repeats the code it sits on: 5 of its 5 words (update, dashboard, definition, input, schema) are already in \u0060const UpdateDashboardDefinitionInput = z.object({\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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3871c6489a8d419b1f2e3f422229ff9954224491582ba03042f206855c8d00eb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update dashboard filters input schema\u0022 repeats the code it sits on: 4 of its 5 words (update, dashboard, filters, input) are already in \u0060const UpdateDashboardFiltersInput = z.object({\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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1209c04abe7a043548c6b10ae37e90e649fb696ece153a30405c099c657f4a82"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the source dashboard\u0022 repeats the code it sits on: 3 of its 3 words (get, source, dashboard) are already in \u0060const sourceDashboard = await DashboardService.getDashboard(\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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43f120a890bd144f9fd3ff61bc337c447025f1f0f2ba74ce3e29598eff71c47"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Compute diffs between current and baseline scores\u0022 repeats the code it sits on: 4 of its 5 words (compute, diffs, baseline, scores) are already in \u0060const scoreDiffs = useMemo(\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":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f465673419447d9b18af723ceba9120a40c6a4afabeeeb6d1c5e2799a5e84c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter validation errors by field\u0022 repeats the code it sits on: 4 of its 4 words (filter, validation, errors, field) are already in \u0060const inputErrors = validation.errors.filter((e) =\u003E e.field === \u0022input\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemFields.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea7b4f77375b0ab5c7781c6390844303371f206d25f1d53cdf50ceb2d86216d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Show diff mode if enabled and item changed at this version\u0022 repeats the code it sits on: 6 of its 7 words (show, diff, mode, item, changed, version) are already in \u0060if (showDiffMode \u0026\u0026 itemChangedAtVersion)\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":"langfuse/web/src/features/datasets/components/DatasetItemVersionedContent.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f2f73db8a7887515a7bf44439f8535b3df49417fb9e5fef79b14f7b706a9e0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Generate example object from schema\u0022 repeats the code it sits on: 4 of its 4 words (generate, example, object, schema) are already in \u0060const exampleObject = useMemo(() =\u003E generateSchemaExample(schema), [schema]);\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":"langfuse/web/src/features/datasets/components/DatasetSchemaHoverCard.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b18b71cd3e8cf552a53d8f62e19a39ec3a0905235a73fe451341aed4c3db34"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter validation errors by field\u0022 repeats the code it sits on: 4 of its 4 words (filter, validation, errors, field) are already in \u0060const inputErrors = validation.errors.filter((e) =\u003E e.field === \u0022input\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2141588ace6e361b058e413d42afa5047518672c62662803064e11d92a5f229"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter validation errors by field\u0022 repeats the code it sits on: 4 of its 4 words (filter, validation, errors, field) are already in \u0060const inputErrors = validation.errors.filter((e) =\u003E e.field === \u0022input\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"048410e9758dfaa1b85d7be3e70ceb906639e2ac1fd9ce545ed4acce4b3e97c7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Query for dataset and count\u0022 repeats the code it sits on: 3 of its 3 words (query, dataset, count) are already in \u0060const [datasets, datasetCount] = await Promise.all([\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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93805ffd484a888de16620f27d06f700fc2f5fe6aac449db55391fd22824ce1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get dataset items count for all datasets\u0022 repeats the code it sits on: 5 of its 5 words (get, dataset, items, count, datasets) are already in \u0060const itemsCounts = await getDatasetItemsCountGrouped({\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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bf33819f76c0589b352bbe33c1e8674358bc1a0c10771b5a054335b017a498"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete all dataset runs\u0022 repeats the code it sits on: 3 of its 3 words (delete, dataset, runs) are already in \u0060await ctx.prisma.datasetRuns.deleteMany({\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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"366a56230a547eb979b6e01b38427db619373efec74aab4e0875f7d422b456d3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Calculate recursive metrics for observation-level run items\u0022 repeats the code it sits on: 7 of its 7 words (calculate, recursive, metrics, observation, level, run, items) are already in \u0060const observationAggregates = calculateRecursiveMetricsForRunItems\u003CWithIO\u003E(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/service.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf35f47b410254239953a723b99819aa77654a64c299798ce5525bc0b6763f04"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Calculate recursive cost\u0022 repeats the code it sits on: 3 of its 3 words (calculate, recursive, cost) are already in \u0060const cost = calculateRecursiveCost(\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":"langfuse/web/src/features/datasets/server/utils.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fe703ab6a6839ab61bf544f11b280527b9caca1bf1f1c708147e1e91c8b27d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022For observations/events: entry.id is observationId, entry.params.traceId is traceId\u0022 repeats the code it sits on: 6 of its 7 words (observations, entry, id, observation, params, trace) are already in \u0060return \u0060${basePath}\u0026traceId=${entry.params?.traceId}\u0026observationId=${entry.id}\u0060;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c1829e6988ebe1ab22257934344abad06100348c388428831422293c728c5b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022For traces: entry.id is traceId\u0022 repeats the code it sits on: 4 of its 4 words (traces, entry, id, trace) are already in \u0060return \u0060${basePath}\u0026traceId=${entry.id}\u0060;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e174e4f5d488a4b14554416de15ee423d9788912eb6eaa7605f20491e25d2d8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Proper langfuseObject for trace/dataset\u0022 repeats the code it sits on: 4 of its 5 words (langfuse, object, trace, dataset) are already in \u0060return {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/hooks/useEvaluatorTarget.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0da37cc207602bd759cad4ea517bd5d797fe07d5912111c91e8f19c51841405"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u00220. Set up default model\u0022 repeats the code it sits on: 3 of its 3 words (set, default, model) are already in \u0060stepInt === 0 \u0026\u0026 projectId \u0026\u0026 (\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":"langfuse/web/src/features/evals/pages/new-evaluator.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2839a0934ebd338e0417becbb9df7a1040c0cb80f2b67ae0b9de0ce788a085"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for incomplete mappings (missing selectedColumnId)\u0022 repeats the code it sits on: 6 of its 7 words (check, incomplete, mappings, selected, column, id) are already in \u0060const incompleteMappings = mappings.filter(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/utils/variable-mapping-validation.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ded5e90db70013c6e85853b4294f6748a9d427e869a3811bbb9ff983c911ee4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add to queue mutation\u0022 repeats the code it sits on: 3 of its 3 words (add, queue, mutation) are already in \u0060const addToQueueMutation = api.annotationQueueItems.createMany.useMutation({\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":"langfuse/web/src/features/events/hooks/useEventsTableData.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ee9eba6eb47e822d5aa07ab30388fbf719a87a6586fe38da06ceea30755d17"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Adapt events to trace format\u0022 repeats the code it sits on: 4 of its 4 words (adapt, events, trace, format) are already in \u0060const adapted = adaptEventsToTraceFormat({\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":"langfuse/web/src/features/events/hooks/useEventsTraceData.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"75634ef33bc5f7f844779afce07781b8d2377af0fb51cd6de1483529d7f47897"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Map startTimeFilter to Timestamp column for trace queries\u0022 repeats the code it sits on: 7 of its 8 words (map, start, time, filter, timestamp, column, trace) are already in \u0060const traceTimestampFilters =\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":"langfuse/web/src/features/events/server/eventsService.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fc55aebe7f685b53f2131eb4b4ab1b53664d736c5e4a31250c25897a745d8d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Select all selectable options\u0022 repeats the code it sits on: 3 of its 3 words (select, selectable, options) are already in \u0060selectableOptions.forEach((option) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/multi-select.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d596e447171910465cffb4ffe2d530ca65d9038a4b514ac2bc841cd9b5ae6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 11 comments in this file only repeat the code they sit on (lines 135, 709, 745, 826, 1070, 1149, 1161, 1232, 1244, 1316, 1434), for example \u0022Remove a text filter by operator and value\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d693cf22b087b666bd2619ed84e4fcc3431cd3e0703a5987cc5349aad3a99b35"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Wrap handler with validation and error handling\u0022 repeats the code it sits on: 4 of its 5 words (wrap, handler, error, handling) are already in \u0060const wrappedHandler: ToolHandler\u003CTInput\u003E = wrapErrorHandling(\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":"langfuse/web/src/features/mcp/core/define-tool.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c1a8ac3ae6e9e8409bf6c56ffd0e7dffb46ab8f3a535233c1667a68d92dd3c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if feature is enabled for this context\u0022 repeats the code it sits on: 4 of its 4 words (check, feature, enabled, context) are already in \u0060if (feature.isEnabled \u0026\u0026 !(await feature.isEnabled(context)))\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":"langfuse/web/src/features/mcp/server/registry.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b043205c23e06bd5aae7d78bfe563c78d50cc089c97f541a76224e5ef7bba1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Connect server to transport\u0022 repeats the code it sits on: 3 of its 3 words (connect, server, transport) are already in \u0060await server.connect(transport);\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":"langfuse/web/src/features/mcp/server/transport.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f4d80ba5717b83f85faee9fac5b3ec9b3f22f6aa1a2fd16a3c23dec0d1a8ec"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check that all items are objects\u0022 repeats the code it sits on: 3 of its 3 words (check, items, objects) are already in \u0060const allObjects = parsed.every(\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":"langfuse/web/src/features/playground/page/components/MessagePlaceholderComponent.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9f749688f918d934aa1232c585539a69d7170a15ff1560a3c6a1fdfd42ad8a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Load state from cache\u0022 repeats the code it sits on: 3 of its 3 words (load, state, cache) are already in \u0060const [cacheLoaded, setCacheLoaded] = 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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad8c6e5d4151ba84946e2560950906c9608b8ce71c95320770c5802a4cd85af"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Dispatch stop-all event\u0022 repeats the code it sits on: 3 of its 3 words (dispatch, stop, event) are already in \u0060playgroundEventBus.dispatchEvent(\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":"langfuse/web/src/features/playground/page/hooks/useWindowCoordination.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"411373b0f8a67c7d5579227da4698c993f0d8dadcd980779bcb74a9ad9b640d4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete prompt versions\u0022 repeats the code it sits on: 3 of its 3 words (delete, prompt, versions) are already in \u0060await deletePrompt({\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":"langfuse/web/src/features/prompts/server/handlers/promptNameHandler.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0555ef9e3fc1e26f596330edf656a24fc9bc6006c8e03eee2b578d39807b8d2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove label from previous labeled prompts\u0022 repeats the code it sits on: 4 of its 5 words (label, previous, labeled, prompts) are already in \u0060previousLabeledPrompts.forEach((prevPrompt) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"7458e1010f8cca04b5e7a48ef8e0d3d7468ebfba35003e505f9efe3f5fe4adde"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Include metrics in CTE if requested OR if filters need them\u0022 repeats the code it sits on: 5 of its 6 words (include, metrics, cte, filters, need) are already in \u0060const includeMetricsInCTE =\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":"langfuse/web/src/features/public-api/server/traces.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57c4faaa8e1191115911a9688d46785275bfab69adf3a3e96549f4d77df1228"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle ClickHouse resource errors\u0022 repeats the code it sits on: 4 of its 5 words (click, house, resource, errors) are already in \u0060if (error instanceof ClickHouseResourceError)\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":"langfuse/web/src/features/public-api/server/withMiddlewares.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"33100fa9643c69533741fb59ceeb95c72da2bf543fe207f2d2760e8506f06d31"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 8 comments in this file only repeat the code they sit on (lines 46, 71, 80, 96, 106, 129, 159, 169), for example \u0022GET /annotation-queues\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/annotation-queues.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"25deea7ceb13b67b7f0e74ce8c3f0d6f4fd9fc2e9e9c96d951b0924dc41bc4c6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET /comments/:id\u0022 repeats the code it sits on: 3 of its 3 words (get, comments, id) are already in \u0060export const GetCommentV1Query = z\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":"langfuse/web/src/features/public-api/types/comments.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c77790d9bb517f96cb3ed87390643914977bca9e9b7931c4f677effed3f18c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 10 comments in this file only repeat the code they sit on (lines 147, 159, 168, 181, 210, 216, 226, 244, 290, 299), for example \u0022GET /datasets/{name}/runs\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/datasets.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2363d8ae1916e83e57bbed89a5d7a325070f72ccf7efd53395b4655f73abf0b3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET /models/{modelId}\u0022 repeats the code it sits on: 4 of its 4 words (get, models, model, id) are already in \u0060export const GetModelV1Query = z.object({\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":"langfuse/web/src/features/public-api/types/models.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"68da8f0e72bcdcc6c39dd3664826dcd97aa46e70ba457899210386acdff4f937"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022DELETE /models/{modelId}\u0022 repeats the code it sits on: 4 of its 4 words (delete, models, model, id) are already in \u0060export const DeleteModelV1Query = z.object({\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":"langfuse/web/src/features/public-api/types/models.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"76745eff8a0b6f9b73162f6703359649dfac570c6213654da828cbcaa292988c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET /observations/{observationId}\u0022 repeats the code it sits on: 4 of its 4 words (get, observations, observation, id) are already in \u0060export const GetObservationV1Query = z.object({\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":"langfuse/web/src/features/public-api/types/observations.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a78b9e4a966e3eaeaeea09e1e8fc68f1dbc109d356c67ebfc043f22cb398a6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET /score-configs/{configId}\u0022 repeats the code it sits on: 5 of its 5 words (get, score, configs, config, id) are already in \u0060export const GetScoreConfigQuery = z.object({\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":"langfuse/web/src/features/public-api/types/score-configs.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf42bc7128549532efb92b8947430196b18c87c5baf7ec5ac04f9d37ff4db1d9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022POST /score-configs\u0022 repeats the code it sits on: 3 of its 3 words (post, score, configs) are already in \u0060const PostScoreConfigBase = z.object({\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":"langfuse/web/src/features/public-api/types/score-configs.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"519e3e8b2897d5d6d356cb9315c0e42f9bd7aa0289e4c08ae09d47b54f44411d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022PUT /score-configs/{configId}\u0022 repeats the code it sits on: 5 of its 5 words (put, score, configs, config, id) are already in \u0060export const PutScoreConfigQuery = z.object({\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":"langfuse/web/src/features/public-api/types/score-configs.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"676a99a22bf62ab641f4615c3fe055e067863ebdab3a9aa3813f605d987eeb15"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET /score-configs\u0022 repeats the code it sits on: 3 of its 3 words (get, score, configs) are already in \u0060export const GetScoreConfigsQuery = z.object({\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":"langfuse/web/src/features/public-api/types/score-configs.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e406eff3395b43ae80a4b87ca2ae76573ec7691260d8d4d5951cecd9996c9f55"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET /sessions/:id\u0022 repeats the code it sits on: 3 of its 3 words (get, sessions, id) are already in \u0060export const GetSessionV1Query = z.object({\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":"langfuse/web/src/features/public-api/types/sessions.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32e3064a26c03b87f707f4a7ba5869980d8c50902d8163debea0990f64e73ad"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET /api/public/traces\u0022 repeats the code it sits on: 4 of its 4 words (get, api, public, traces) are already in \u0060export const GetTracesV1Query = z.object({\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":"langfuse/web/src/features/public-api/types/traces.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c49282841222bc95f05d677daeeb01e9289349e66bc5ae8c81b035f451ab5d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Versioned view declarations\u0022 repeats the code it sits on: 3 of its 3 words (versioned, view, declarations) are already in \u0060export const viewDeclarations: VersionedViewDeclarations = {\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":"langfuse/web/src/features/query/dataModel.ts"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"01987e5fc28d20d92368e9ba8116e5d472a4e9e774ded0bf688e9075cee52f75"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 11 comments in this file only repeat the code they sit on (lines 183, 422, 467, 1005, 1010, 1156, 1159, 1195, 1240, 1252, 1280), for example \u0022Validate stringObject value type\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cefadc2852ad722edd0b8a2c43b3b4357582cfdc30f18e44a00df93adc06ad"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Overall average for numeric\u0022 repeats the code it sits on: 3 of its 3 words (overall, average, numeric) are already in \u0060if (\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":"langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f258f678b6ad44a82419d85b02a3099f5ec4376c66d6d21418eed84e9cbca4ff"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Format timestamp based on interval and time range\u0022 repeats the code it sits on: 5 of its 6 words (format, timestamp, interval, time, range) are already in \u0060const timestamp = formatChartTimestamp(\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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesNumericChart.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"186da0e6242ce8c5f8b525e13faf746e053f89cbd1cd9aad71d473bfb7f8dac5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clamp percentage to [min, max] range\u0022 repeats the code it sits on: 4 of its 5 words (clamp, percentage, min, max) are already in \u0060const clampedPercentage = Math.max(\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":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fc100913ea8ef76f537b20b1d81bec36218bea73349ffab71bdc313415b39d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Transform API data for confusion matrix\u0022 repeats the code it sits on: 5 of its 5 words (transform, api, data, confusion, matrix) are already in \u0060const transformedData = apiData.confusionMatrix.map((row) =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/score-analytics-transformers.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b43232700ff16c3b895ac153d9de7e22bd08bbf1424e7f613ff73a2eb65c458"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Build filter based on object type\u0022 repeats the code it sits on: 4 of its 5 words (build, filter, object, type) are already in \u0060const objectTypeFilter = buildObjectTypeFilter(objectType);\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":"langfuse/web/src/features/score-analytics/server/buildEstimateQuery.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f17e4faa9318e90a348fcc0954f7ffdcb48af0b02d8d7128a9841a7177188eb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Build sampling expression\u0022 repeats the code it sits on: 3 of its 3 words (build, sampling, expression) are already in \u0060const samplingExpression = shouldSample\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":"langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c108e9fce872594d7c12d1a2d9f5d12d87becfdd56734add0623289fc3e63ffa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Trace/observation target\u0022 repeats the code it sits on: 3 of its 3 words (trace, observation, target) are already in \u0060return s.traceId === target.traceId \u0026\u0026 matchObservationScore(mode)(s);\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":"langfuse/web/src/features/scores/contexts/ScoreCacheContext.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4222b87ff6ec5ede5a299d3118e1892cd9a51648e9f3130f54c5c378373bff52"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022If current value exists in categories, return as-is\u0022 repeats the code it sits on: 4 of its 5 words (current, value, categories, return) are already in \u0060if (categories.some((category) =\u003E category.label === currentStringValue))\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":"langfuse/web/src/features/scores/lib/annotationFormHelpers.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf8a7c2ca6a80f14ecdc240d86dffbbe8fdb4ac81223cbb50758346443fe992"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Trace target: match both traceId AND observationId\u0022 repeats the code it sits on: 4 of its 5 words (trace, target, id, observation) are already in \u0060return (\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/lib/filterScoresByTarget.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7592d13ef4b5cc6fdb13345f597603046c47e11bbad7cee80e0f0c1626f98214"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter server scores based on mode and target\u0022 repeats the code it sits on: 5 of its 6 words (filter, server, scores, mode, target) are already in \u0060const filteredServerScores = useMemo(\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":"langfuse/web/src/features/scores/lib/useMergedAnnotationScores.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28203d0236a8f6762a5b355033f3946b797b000763c9e6e448170c206f8e22c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter server scores based on mode and target\u0022 repeats the code it sits on: 5 of its 6 words (filter, server, scores, mode, target) are already in \u0060const filteredServerScores = useMemo(\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":"langfuse/web/src/features/scores/lib/useMergedScores.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e132a41d58f434cec795644d431714e97c7986fc55b494a6eb9562d93ed793e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Render channel item\u0022 repeats the code it sits on: 3 of its 3 words (render, channel, item) are already in \u0060const renderChannelItem = (channel: SlackChannel) =\u003E (\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba78a4033297b2d9188a33f000a4569c76fd3cc063ac9af28eb4c0af5315e41"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add message listener\u0022 repeats the code it sits on: 3 of its 3 words (add, message, listener) are already in \u0060window.addEventListener(\u0022message\u0022, handleMessage);\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":"langfuse/web/src/features/slack/components/SlackConnectButton.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6adc3c5a7a2d12a0d2f71753231b2735f73976fc69eb8f60b6f0dcf93863773"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test message mutation\u0022 repeats the code it sits on: 3 of its 3 words (test, message, mutation) are already in \u0060const testMessageMutation = api.slack.sendTestMessage.useMutation({\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":"langfuse/web/src/features/slack/components/SlackTestMessageButton.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e25aa99ee43befb2c0986722ee23ec4b21d4e277b59915f293038c1d90f7e9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle test message\u0022 repeats the code it sits on: 3 of its 3 words (handle, test, message) are already in \u0060const handleTestMessage = async () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackTestMessageButton.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"252951f29e67c1920c44a140b264828f3a037a380af0293fb5ecc24c0e7a5030"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Interval between jobs in minutes\u0022 repeats the code it sits on: 3 of its 3 words (interval, jobs, minutes) are already in \u0060const JOB_INTERVAL_MINUTES = Prisma.raw(\u0022720\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/telemetry/index.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"517d19a9b6fe7b69a7dc4e59f8b123f7c0289169a0b28eeede01dd19d9176f76"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Run telemetry job\u0022 repeats the code it sits on: 3 of its 3 words (run, telemetry, job) are already in \u0060await posthogTelemetry({\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":"langfuse/web/src/features/telemetry/index.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb83edff4e95809e0d7684e52152ab32325ef67707befc370ab9a0a87c13fe0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Count dataset items\u0022 repeats the code it sits on: 3 of its 3 words (count, dataset, items) are already in \u0060const countDatasetItems = await prisma.datasetItem.count({\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":"langfuse/web/src/features/telemetry/index.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8280a87ddb888e0c478efbc2860a58e5504552d4a0f8d73e7b7a5c07fb9f38"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Count dataset runs\u0022 repeats the code it sits on: 3 of its 3 words (count, dataset, runs) are already in \u0060const countDatasetRuns = await prisma.datasetRuns.count({\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":"langfuse/web/src/features/telemetry/index.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f56a7b06ebc34174012602b9d3befb30c24083bb05f07a19ab4ba4d8510a98b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Attach structured_output nodes under latest kernel node\u0022 repeats the code it sits on: 6 of its 7 words (structured, output, nodes, latest, kernel, node) are already in \u0060if (\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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"251d5f727fe39478d569f85edc5672a1f97d7d62d9f7eb7b09bb0166aac68a06"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Pivot table dimensions state (for PIVOT_TABLE chart type)\u0022 repeats the code it sits on: 6 of its 6 words (pivot, table, dimensions, state, chart, type) are already in \u0060const [pivotDimensions, setPivotDimensions] = useState\u003Cstring[]\u003E(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"114b4c1ac1c97ff191af06365ded2f36068880d9690e603e3ada4e04c45f55f1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get available aggregations for this measure at this index\u0022 repeats the code it sits on: 5 of its 5 words (get, available, aggregations, measure, index) are already in \u0060const availableAggregations = getAvailableAggregations(index, measure);\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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0063f7cde481f7e6dc1c422c662581beb2c1c4d742848778738c1d606ae0cb3f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add a new empty metric slot\u0022 repeats the code it sits on: 4 of its 5 words (add, new, metric, slot) are already in \u0060const addNewMetricSlot = () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ac8bca8121a03d951b62505b1369594b555297cf7d3d6421bf324e6279e251"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Recursively process remaining dimensions for this group\u0022 repeats the code it sits on: 4 of its 5 words (recursively, process, dimensions, group) are already in \u0060const childRows = processLevelRecursively(\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":"langfuse/web/src/features/widgets/utils/pivot-table-utils.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"1557e4788d88f351d66dc4b0dccd43e109afa786dc0c5baee69f582be6f07faf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Process dimensions recursively\u0022 repeats the code it sits on: 3 of its 3 words (process, dimensions, recursively) are already in \u0060const pivotRows = processLevelRecursively(\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":"langfuse/web/src/features/widgets/utils/pivot-table-utils.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"018e1d103c99cdaa834e40d2dc5eac23387f07bdbd7ee51b57cd222aa69b47db"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the parent subtotal for this data row\u0022 repeats the code it sits on: 4 of its 5 words (find, parent, subtotal, row) are already in \u0060const parentGroup = findParentGroup(row, subtotalRows);\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":"langfuse/web/src/features/widgets/utils/pivot-table-utils.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"277f68cd90041af81f4d902c1e470a8af51673a4f20c8f1bc02fdc36e7db846f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set completedAt if status is COMPLETED\u0022 repeats the code it sits on: 3 of its 3 words (set, completed, status) are already in \u0060const completedAt =\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":"langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/index.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd4f792e87cd2376b443bb88dcb9ec08675c861f57882b0e303b74c09cea48c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create Map of dataset id to dataset item ids\u0022 repeats the code it sits on: 5 of its 6 words (create, map, dataset, item, ids) are already in \u0060const datasetItemIdsMap = new Map\u003Cstring, string[]\u003E();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/datasets.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e9369feb605167ad123738a1628233e3240ffa4d4251a44315480102704b7a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check scheduled-blob-exports entitlement\u0022 repeats the code it sits on: 5 of its 5 words (check, scheduled, blob, exports, entitlement) are already in \u0060if (\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":"langfuse/web/src/pages/api/public/integrations/blob-storage/[id].ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1da87536eb546a39b215263ddd892a257706cd37c3871a34085f44d69f2fb4a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check scheduled-blob-exports entitlement\u0022 repeats the code it sits on: 5 of its 5 words (check, scheduled, blob, exports, entitlement) are already in \u0060if (\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":"langfuse/web/src/pages/api/public/integrations/blob-storage/index.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c3d2a3f5eef45ba53fcfbc0581da592220d6686cc2e7407be010fc63072b3b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get all blob storage integrations for these projects\u0022 repeats the code it sits on: 4 of its 5 words (blob, storage, integrations, projects) are already in \u0060const integrations = await prisma.blobStorageIntegration.findMany({\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":"langfuse/web/src/pages/api/public/integrations/blob-storage/index.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c7cc437411020198108d0b7f29b2f4a89753b9874237d897741f4f6f1bcf0d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check scheduled-blob-exports entitlement\u0022 repeats the code it sits on: 5 of its 5 words (check, scheduled, blob, exports, entitlement) are already in \u0060if (\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":"langfuse/web/src/pages/api/public/integrations/blob-storage/index.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb8c60adb2eda46b87847573c0f7f032f06050935dfdb5fb40ba3ebeecd59dd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Upsert the integration (create or update)\u0022 repeats the code it sits on: 4 of its 4 words (upsert, integration, create, update) are already in \u0060const integration = await prisma.blobStorageIntegration.upsert({\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":"langfuse/web/src/pages/api/public/integrations/blob-storage/index.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"25be58109b458c3a354aee8af82d6cc82db8669ebc1f8b90c604b3b413d2a057"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create prices for this tier\u0022 repeats the code it sits on: 3 of its 3 words (create, prices, tier) are already in \u0060await Promise.all(\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":"langfuse/web/src/pages/api/public/models/index.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dda4b03f0a0a8450592e128db541336fe92d3ba7e5782f386395a2bd2832ed"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if organization has the rbac-project-roles entitlement\u0022 repeats the code it sits on: 5 of its 6 words (check, rbac, project, roles, entitlement) are already in \u0060if (\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":"langfuse/web/src/pages/api/public/projects/[projectId]/memberships/index.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d666e0c35c3ba74b7e666483eca72c8cde77096787bbb36e774078bc6ca0c2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for admin-api entitlement\u0022 repeats the code it sits on: 4 of its 4 words (check, admin, api, entitlement) are already in \u0060if (\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":"langfuse/web/src/pages/api/public/projects/[projectId]/memberships/index.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7017abacc462c531d32b23fe7e82b2ee801d59d8111ca42b99f0b4913da068b8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add the widget to the local dashboard definition\u0022 repeats the code it sits on: 4 of its 5 words (widget, local, dashboard, definition) are already in \u0060const updatedDefinition = {\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":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeaad7144b9578cfeb831eb8bf9d6ead223011d42907ef16dfad332cc5cb9a1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle adding a widget\u0022 repeats the code it sits on: 3 of its 3 words (handle, adding, widget) are already in \u0060const handleAddWidget = () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd97182eee19c5526cc9cb15b89102c6401721c9f95090b26b6108de963a8884"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022State for new dashboard\u0022 repeats the code it sits on: 3 of its 3 words (state, new, dashboard) are already in \u0060const [dashboardName, setDashboardName] = useState(\u0022New Dashboard\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/dashboards/new.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbd339c3905b808971990b7304a6b23e4cca9b08edb784b745a2f51505f0987"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update widget mutation\u0022 repeats the code it sits on: 3 of its 3 words (update, widget, mutation) are already in \u0060const updateWidgetMutation = api.dashboardWidgets.update.useMutation({\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":"langfuse/web/src/pages/project/[projectId]/widgets/[widgetId]/index.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd298aa8a315bafc4d518b4deffcde3e8fadb6f94a555d0dcdb423e120358e3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle update widget\u0022 repeats the code it sits on: 3 of its 3 words (handle, update, widget) are already in \u0060const handleUpdateWidget = (widgetFormData: {\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":"langfuse/web/src/pages/project/[projectId]/widgets/[widgetId]/index.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"247c79720f3c769989a6713eebd2f32a563aea2c53a5a4666b13694e14902e80"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create comment with sanitized content\u0022 repeats the code it sits on: 4 of its 4 words (create, comment, sanitized, content) are already in \u0060const comment = await ctx.prisma.comment.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/comments.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"387955dbc06fe1d8c624cdf635dab7ef0e4561490dfdc00c852ef987fe7113cc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get widget by ID input schema\u0022 repeats the code it sits on: 4 of its 5 words (get, widget, id, input) are already in \u0060const GetDashboardWidgetInput = z.object({\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":"langfuse/web/src/server/api/routers/dashboardWidgets.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"37542442bd7f24031d35f7af45f4f03a24f4926fff902a0178218a468eafa58e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the widget using the DashboardService\u0022 repeats the code it sits on: 4 of its 5 words (create, widget, dashboard, service) are already in \u0060const widget = await DashboardService.createWidget(\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":"langfuse/web/src/server/api/routers/dashboardWidgets.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d83edddb17ab856311a757a43c366b62c5003ed7c6ee698b2f2e46b945cc09f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update the widget using the DashboardService\u0022 repeats the code it sits on: 4 of its 5 words (update, widget, dashboard, service) are already in \u0060const widget = await DashboardService.updateWidget(\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":"langfuse/web/src/server/api/routers/dashboardWidgets.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c89edac94e05c386609b771a736da9cc8b067902b2c19313bbd9b8271747c5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete the widget using the DashboardService\u0022 repeats the code it sits on: 4 of its 5 words (delete, widget, dashboard, service) are already in \u0060await DashboardService.deleteWidget(input.widgetId, input.projectId);\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":"langfuse/web/src/server/api/routers/dashboardWidgets.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f14b3f0eb30cda8d10701d8195ed7bc64bc3e1bc0334322751ea7589cd83f8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022map startTimeFilter to Timestamp column for trace queries\u0022 repeats the code it sits on: 7 of its 8 words (map, start, time, filter, timestamp, column, trace) are already in \u0060const traceTimestampFilters =\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":"langfuse/web/src/server/api/routers/generations/filterOptionsQuery.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7877f9487385bbb739ec143875f99d21a4b443baa95a494b30c1dc57f3646f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create prices for this tier\u0022 repeats the code it sits on: 3 of its 3 words (create, prices, tier) are already in \u0060await Promise.all(\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":"langfuse/web/src/server/api/routers/models.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"35da966c7208dfc3650d312453d249877ec6c82f96af0b2c57949e5d816f069b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find all organizations where user is an owner\u0022 repeats the code it sits on: 4 of its 4 words (find, organizations, user, owner) are already in \u0060const organizationMemberships = await prisma.organizationMembership.findMany({\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":"langfuse/web/src/server/api/routers/userAccount.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede86dcfed1315d4284ef1285af2f7546f9c4d5f2300f08c6d03a4af47bd836e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022check for context property \u0060skipBatch\u0060\u0022 repeats the code it sits on: 4 of its 5 words (check, context, skip, batch) are already in \u0060const skipBatch = op.context.skipBatch === true;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/api.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ddaf5dc33892ef6b7555c5ecfb5bccb093a3113e2344d7b49478bdb0728770"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the tool result message\u0022 repeats the code it sits on: 4 of its 4 words (find, tool, result, message) are already in \u0060const toolResult = playgroundMessages.find(\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":"langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"137a879bdd643bad61a6611fb9891b292ec28cd90c846aa93c3d66d44a03e7b1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022For multi-unit intervals, aggregate single-unit data into multi-unit buckets\u0022 repeats the code it sits on: 6 of its 7 words (multi, unit, intervals, aggregate, data, buckets) are already in \u0060return aggregateIntoMultiUnitBuckets(data, fromDate, toDate, interval);\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":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bc92cab8303176bfc92d50374395300e12d5ec946dd024aa3d9818e9644b40"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a map: category -\u003E total count\u0022 repeats the code it sits on: 4 of its 5 words (create, map, category, count) are already in \u0060const categoryCounts = new Map\u003Cstring, number\u003E();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e4081ef163aed9f0cc61737a6cd9dcbc5abbc25ca5e0ce04e08d87e5df3fee"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Count rows with valid_to = null (current versions)\u0022 repeats the code it sits on: 5 of its 6 words (count, valid, null, current, versions) are already in \u0060const currentVersions = await prisma.datasetItem.count({\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":"langfuse/worker/src/__tests__/backfillValidToForDatasetItems.test.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a17b2c47b8127bc0978d1cbfc4d89f5653f91e12727ee27d2a49b88dcbc4064"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 10 comments in this file only repeat the code they sit on (lines 955, 1183, 1326, 1427, 1703, 2108, 2151, 2843, 3604, 3878), for example \u0022Export scores with date range filter\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/batchExport.test.ts"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d59f7ce1630f0723054b6bb94c426a48467100cb392049091774b7c7a8e4e6a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Insert dataset run items for both projects\u0022 repeats the code it sits on: 4 of its 5 words (dataset, run, items, projects) are already in \u0060await createDatasetRunItemsCh([\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":"langfuse/worker/src/__tests__/batchProjectCleaner.test.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b1ad9929e415b5322c47c4051197d53b39016ce4fcebe396ee2c0163d7e9dd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create traces before and after custom date\u0022 repeats the code it sits on: 4 of its 4 words (create, traces, custom, date) are already in \u0060const oldTrace = createTrace({\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":"langfuse/worker/src/__tests__/blobStorageIntegrationProcessing.test.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be3c5579528e9964fd2021b3b0b1aee27fa071b7644deb6849c9ed451a4e340"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create recent trace\u0022 repeats the code it sits on: 3 of its 3 words (create, recent, trace) are already in \u0060const trace = createTrace({\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":"langfuse/worker/src/__tests__/blobStorageIntegrationProcessing.test.ts"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"96021463f5b81c9be715ae4c4789ec984ea8c35cf75543410e2b46a438266601"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022scope.name === \u0022ai\u0022\u0022 repeats the code it sits on: 3 of its 3 words (scope, name, ai) are already in \u0060expect(\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":"langfuse/worker/src/__tests__/chatml/adapters/aisdk.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb51c19a762b93f7d800e8903643e2c9bcf9cce02b03a645f82df19f703deb5a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 3014, 3066, 3161, 3193, 3216), for example \u0022Create trace with LLMJudge environment\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/evalService.test.ts"},"region":{"startLine":3014}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87b3d12c354d12d898cabe3db8a181ea202a47e01b2e560a7d76f1532c4dd1a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 10 comments in this file only repeat the code they sit on (lines 79, 85, 216, 223, 289, 296, 373, 379, 525, 532), for example \u0022Create dataset item\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/experimentsService.test.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aeb8b2496f77e1a67dd754a143f96c031f8486d7cc5cc9bce3945184486f92"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sample OTEL span data for testing\u0022 repeats the code it sits on: 4 of its 5 words (sample, span, data, testing) are already in \u0060const sampleSpanData = [\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":"langfuse/worker/src/__tests__/ingestionMasking.test.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee89a6410c0179fe2b06f476d69aa895124a8ab8e730a9108ea8f4620718a1d7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Default test env with masking disabled\u0022 repeats the code it sits on: 4 of its 5 words (default, test, env, masking) are already in \u0060const defaultTestEnv: SharedEnv = {\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":"langfuse/worker/src/__tests__/ingestionMasking.test.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aafa173fee259338465085392b6f551a1c49e4257b0b43b99ec582169bb655"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clear the cache for the project\u0022 repeats the code it sits on: 3 of its 3 words (clear, cache, project) are already in \u0060await clearModelCacheForProject(projectId);\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":"langfuse/worker/src/__tests__/modelMatch.test.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c024ba68bae0d685435de60ab7603dd097db5263d1e3bd2244c3dfc42188f73c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clear the cache for the project\u0022 repeats the code it sits on: 3 of its 3 words (clear, cache, project) are already in \u0060await clearModelCacheForProject(projectId);\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":"langfuse/worker/src/__tests__/modelMatch.test.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2627b0fe1690c1089a20b2b1589740da5e527bf8e3a0d9500bd62c9124921f49"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a dummy dataset for the projectId\u0022 repeats the code it sits on: 4 of its 5 words (create, dataset, project, id) are already in \u0060await prisma.dataset.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/projectDeletionProcessing.test.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e415f09343c5e1ed7898c63e810ad068714810cda96b20a086822bd4f8da80a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup the getInstance mock to return our mock service\u0022 repeats the code it sits on: 5 of its 6 words (get, instance, mock, return, service) are already in \u0060(SlackService.getInstance as any).mockReturnValue(mockSlackService);\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":"langfuse/worker/src/__tests__/slack-processor.test.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d211dac83332cdf5df6c32bbdd53ef342243ca4b85c6e5c58463db03c9f19e97"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create Slack integration\u0022 repeats the code it sits on: 3 of its 3 words (create, slack, integration) are already in \u0060await prisma.slackIntegration.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/slack-processor.test.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca599670de69b89a52b0e1ebb80cfa8678e61841c96196690f3477c4c764c1e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock SlackService to throw errors\u0022 repeats the code it sits on: 4 of its 5 words (mock, slack, service, errors) are already in \u0060mockSlackService.sendMessage.mockRejectedValue(\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":"langfuse/worker/src/__tests__/slack-processor.test.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2561dd3abe165000a9f4374fbc12f094d2945f4780835dcbf1b86bde935eed2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock SlackService to throw an error\u0022 repeats the code it sits on: 4 of its 5 words (mock, slack, service, error) are already in \u0060mockSlackService.getWebClientForProject.mockRejectedValue(\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":"langfuse/worker/src/__tests__/slack-processor.test.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6913b66c6417d5eaff55f3e51619750bbd47a76f60ec16b4677e4acc77ceb3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set enforcement to enabled\u0022 repeats the code it sits on: 3 of its 3 words (set, enforcement, enabled) are already in \u0060const originalEnv =\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":"langfuse/worker/src/__tests__/thresholdProcessing.test.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3912802fd92ca5ab71326bf5c5551aac356981dc13f2cc9165ee9e24d331b25"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create test organization\u0022 repeats the code it sits on: 3 of its 3 words (create, test, organization) are already in \u0060await prisma.organization.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/usageThresholdCacheInvalidation.test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03e1725d437e7966ed963c823d0124a008d06a51362d7be51d1f8015ba0dcb6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create test project\u0022 repeats the code it sits on: 3 of its 3 words (create, test, project) are already in \u0060await prisma.project.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/usageThresholdCacheInvalidation.test.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"576a89ffdd98b23feedbea5eb4d95b2dcbb263effdb836502631254dba01a6a6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create test API key\u0022 repeats the code it sits on: 4 of its 4 words (create, test, api, key) are already in \u0060await prisma.apiKey.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/usageThresholdCacheInvalidation.test.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"318d558e4471f067d3d65a407e387d3038b5c8b69ffb6b765d7c5b4ae553a6de"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Generate expected signature using the same timestamp\u0022 repeats the code it sits on: 4 of its 5 words (generate, expected, signature, timestamp) are already in \u0060const expectedSignatureHash = generateWebhookSignature(\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":"langfuse/worker/src/__tests__/webhooks.test.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"567694b04a6c8ce6013248560ada20f321596ed9e197b606eb1e973a281d73c5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the execution that matches the lastFailingExecutionId\u0022 repeats the code it sits on: 5 of its 6 words (create, execution, last, failing, id) are already in \u0060await prisma.automationExecution.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/webhooks.test.ts"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e75dc490baf31d7db2decd2802dc1a4f34f69bed1c6aab6e4383550582400e0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Batch trace deletion cleaner for supplementary trace deletion\u0022 repeats the code it sits on: 4 of its 5 words (batch, trace, deletion, cleaner) are already in \u0060export let batchTraceDeletionCleaner: BatchTraceDeletionCleaner | null = null;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/app.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19c856093198985e814239797f49141daf57b78ad8f010374743e5cf393b84f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find all organizations with null cloudBillingCycleAnchor\u0022 repeats the code it sits on: 7 of its 7 words (find, organizations, null, cloud, billing, cycle, anchor) are already in \u0060const orgsToBackfill = await prisma.organization.findMany({\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":"langfuse/worker/src/backgroundMigrations/backfillBillingCycleAnchors.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c34947c69f43d99e164fb37e6bef1f96769874cbc463a4f3bde9ae717f3583"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Conditionally filter out \u0027attributes\u0027 key from metadata\u0022 repeats the code it sits on: 4 of its 5 words (filter, attributes, key, metadata) are already in \u0060const metadataExpr =\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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"284ca5ebeb5dd56db9dbf519085f49df64818c684edb66380c1f7efda2de9da5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fetch observations and traces\u0022 repeats the code it sits on: 3 of its 3 words (fetch, observations, traces) are already in \u0060const [observations, traces] = await Promise.all([\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":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"833cb0319b8dc44a58db9101fa1d07a2eda07450789bb5f78d0150bc43dee3fe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update migration state\u0022 repeats the code it sits on: 3 of its 3 words (update, migration, state) are already in \u0060await prisma.backgroundMigration.update({\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":"langfuse/worker/src/backgroundMigrations/backfillValidToForDatasetItems.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0df235b17569d9377997dbf3faf395ebf71b63864fb4fcaf814e11f51e74d7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if org has spend alerts configured\u0022 repeats the code it sits on: 4 of its 5 words (check, org, spend, alerts) are already in \u0060if (org.spendAlerts.length === 0)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/cloudSpendAlerts/handleCloudSpendAlertJob.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"664ed6bc6c8044a87d6d004584a4bea648b5167608458f8d019bd6dc75b71651"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022find all organizations which have a stripe org id set up\u0022 repeats the code it sits on: 5 of its 6 words (find, organizations, stripe, id, set) are already in \u0060const organizations = (\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":"langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"baebe9e145128de735f2d6bffeb209dc37f508b599230c478b5b2a4ef01cb4dc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022update cron job\u0022 repeats the code it sits on: 3 of its 3 words (update, cron, job) are already in \u0060await prisma.cronJobs.update({\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":"langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0295fe73f560cbded1a89c1e19aa73a72c0ecbad6ffab224947ebed2dc39a79e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Invalidate caches for orgs in this successful chunk that need it\u0022 repeats the code it sits on: 5 of its 6 words (invalidate, caches, orgs, chunk, need) are already in \u0060const orgsNeedingCacheInvalidation = chunk.filter(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/bulkUpdates.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9eff6917f1cb8617340b998c0883efeb00b9a6001d5d327871d63cc488c2ce9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for state transition\u0022 repeats the code it sits on: 3 of its 3 words (check, state, transition) are already in \u0060const stateTransitioned = previousState !== currentState;\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":"langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adeab25cd83a701ac12863a8fb887b3ca98080da2da9dcaa0cebfd3966c8eb8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Process observations and add to dataset\u0022 repeats the code it sits on: 4 of its 4 words (process, observations, add, dataset) are already in \u0060await processAddObservationsToDataset({\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":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"666935171feb098886fcf4967af6b8d4f08fdae72c4338b4581b61bdd8ab9686"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update status to PROCESSING\u0022 repeats the code it sits on: 3 of its 3 words (update, status, processing) are already in \u0060await prisma.batchAction.update({\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":"langfuse/worker/src/features/batchAction/processAddObservationsToDataset.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"033b4bdc028ff8756f6b786f3e7cd6fc166413567845f1ee65ce5578b7c3df12"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update final status\u0022 repeats the code it sits on: 3 of its 3 words (update, final, status) are already in \u0060await prisma.batchAction.update({\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":"langfuse/worker/src/features/batchAction/processAddObservationsToDataset.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e5f42155a28a4243062f9fd4f42dbf64682e7a79485eb359db684c04bfabc1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the batch export has been cancelled\u0022 repeats the code it sits on: 4 of its 4 words (check, batch, export, cancelled) are already in \u0060if (jobDetails.status === BatchExportStatus.CANCELLED)\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":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d482bfc3e7960c431a352da139818de168bace5afaccd3feeae2b04e69db3e08"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parse query from job\u0022 repeats the code it sits on: 3 of its 3 words (parse, query, job) are already in \u0060const parsedQuery = BatchExportQuerySchema.safeParse(jobDetails.query);\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":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"519559d5024dc86480a78787283f65d5fca94fa5f45c2d60e2f08f7809ee6afe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Traces and observations - for TRACES_OBSERVATIONS and TRACES_OBSERVATIONS_EVENTS\u0022 repeats the code it sits on: 3 of its 3 words (traces, observations, events) are already in \u0060if (\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":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"306c88509c1de56d88eb4151b281b1e90ffeda09d495c1795921c4985c30b58f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fetch comments for this batch (events are observations)\u0022 repeats the code it sits on: 4 of its 5 words (fetch, comments, events, observations) are already in \u0060const commentsByEvent = await fetchCommentsForExport(\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":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e377ac56ee8f12896f2a3593b2dbf454e913f8fc19f4575b6310fc366ef7ba9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get comments for this observation\u0022 repeats the code it sits on: 3 of its 3 words (get, comments, observation) are already in \u0060const observationComments = commentsByObservation.get(bufferedRow.id) ?? [];\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":"langfuse/worker/src/features/database-read-stream/observation-stream.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f8f636bab647f3867b7eb3a635e83fefc3052b7b5d63faab99797f60a6a1f4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get comments for this trace\u0022 repeats the code it sits on: 3 of its 3 words (get, comments, trace) are already in \u0060const traceComments = commentsByTrace.get(bufferedRow.id) ?? [];\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":"langfuse/worker/src/features/database-read-stream/trace-stream.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eda4d7d936a77dd9f2bb882f76416dbfae5c93ad4a01551e8e32623a0387310"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get active prompt triggers\u0022 repeats the code it sits on: 4 of its 4 words (get, active, prompt, triggers) are already in \u0060const triggers = await getTriggerConfigurations({\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":"langfuse/worker/src/features/entityChange/promptVersionProcessor.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fed832ad20d2ea69f39b3780712ab6a6aac780b47a9baf66b1e86b5a11bc384"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get automations for this action\u0022 repeats the code it sits on: 3 of its 3 words (get, automations, action) are already in \u0060const automations = await getAutomations({\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":"langfuse/worker/src/features/entityChange/promptVersionProcessor.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ac457b2f171c876b92a4fdd352b34ba5da188625115a9983f4f1018fd6a2c0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a job execution\u0022 repeats the code it sits on: 3 of its 3 words (create, job, execution) are already in \u0060const jobExecution = await prisma.jobExecution.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/__tests__/productionDeps.integration.test.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"163decfccb2eeb03992a79bf982512ba04502303985d3069fc0826264468bf87"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a job execution\u0022 repeats the code it sits on: 3 of its 3 words (create, job, execution) are already in \u0060const jobExecution = await prisma.jobExecution.create({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/__tests__/productionDeps.integration.test.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7848c38e7d42d845b0536846488927efcf8d1bff6488c9f04945babc65eb187b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Evaluate filter in memory using the cached trace\u0022 repeats the code it sits on: 5 of its 6 words (evaluate, filter, memory, cached, trace) are already in \u0060traceExists = InMemoryFilterService.evaluateFilter(\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":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"804914f5c42611afa31ca827c33be99e2b14e6edd512a7a3019cde3981ce4011"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update job execution status\u0022 repeats the code it sits on: 4 of its 4 words (update, job, execution, status) are already in \u0060await deps.updateJobExecution({\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":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"1babc0b72f87d0393e38220e85cef9f015d270ef9d9292829c47a14d5f80b1ea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Execute the shared LLM-as-a-judge evaluation\u0022 repeats the code it sits on: 4 of its 5 words (execute, llm, judge, evaluation) are already in \u0060await executeLLMAsJudgeEvaluation({\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":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3704f6fd2bb47fcc2bbddc228fab82ceb3ee535e8e3a48f6ec202d653795ed"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter matches the observation\u0022 repeats the code it sits on: 3 of its 3 words (filter, matches, observation) are already in \u0060const matched = await testExperimentFilterMatch(observation, [\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":"langfuse/worker/src/features/evaluation/observationEval/__tests__/filterEvaluation.test.ts"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"8391f4e48aaddd61e97f33d112bd6b7de1079ce21d3625e59fb4a865508b008f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock executeLLMAsJudgeEvaluation\u0022 repeats the code it sits on: 5 of its 5 words (mock, execute, llm, judge, evaluation) are already in \u0060vi.mock(\u0022../../evalService\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/observationEval/__tests__/observationEval.e2e.test.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f253ead50b843b1a279283846cbb36a8ee5892fd165d7490fcd4092c66bdd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create mocked pipeline\u0022 repeats the code it sits on: 3 of its 3 words (create, mocked, pipeline) are already in \u0060const pipeline = createFullyMockedEvalPipeline({\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":"langfuse/worker/src/features/evaluation/observationEval/__tests__/observationEval.e2e.test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e673cc31972951ea431bfa78a487bbf7a53994d268c1343a1c7d9593288dee1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ACT: Process the observation eval job\u0022 repeats the code it sits on: 4 of its 5 words (process, observation, eval, job) are already in \u0060await processObservationEval({\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":"langfuse/worker/src/features/evaluation/observationEval/__tests__/observationEval.e2e.test.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a485afb2c6c4ed413ac88439bf409691ba5103f94f95fca337dc2f0841fa687"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock executeLLMAsJudgeEvaluation\u0022 repeats the code it sits on: 5 of its 5 words (mock, execute, llm, judge, evaluation) are already in \u0060vi.mock(\u0022../../evalService\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/observationEval/__tests__/observationEvalProcessor.test.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8840aaca2b1f34c283d95d5fd3439e43bdb3dc9a133f909a510339608428c2d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Execute the shared LLM-as-a-judge evaluation\u0022 repeats the code it sits on: 4 of its 5 words (execute, llm, judge, evaluation) are already in \u0060await executeLLMAsJudgeEvaluation({\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":"langfuse/worker/src/features/evaluation/observationEval/observationEvalProcessor.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb52cdac37367e886b73925ed5cd238e82dc80ea4bb1c9dbfa0b2ae7353f9a8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Process each matching config\u0022 repeats the code it sits on: 3 of its 3 words (process, matching, config) are already in \u0060await Promise.all(\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":"langfuse/worker/src/features/evaluation/observationEval/scheduleObservationEvals.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"79534b12dab520039b1bf03cbb4ae2bd97400a89e39045cc43d7ad05ee640687"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Enqueue eval job\u0022 repeats the code it sits on: 3 of its 3 words (enqueue, eval, job) are already in \u0060await schedulerDeps.enqueueEvalJob({\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":"langfuse/worker/src/features/evaluation/observationEval/scheduleObservationEvals.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab556461c05cc63dfc7f835a182c3fbf2177137b77a0d2927507399514d96a7c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Use InMemoryFilterService to evaluate filter if there are conditions\u0022 repeats the code it sits on: 5 of its 6 words (memory, filter, service, evaluate, conditions) are already in \u0060const isFilterMatch = isEmptyFilter\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":"langfuse/worker/src/features/evaluation/observationEval/scheduleObservationEvals.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c0d463b6c1e0eaab5f74bff6ae2541a7c1e669a38cfd867239df54a1740b94"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Record retry attempt distribution\u0022 repeats the code it sits on: 4 of its 4 words (record, retry, attempt, distribution) are already in \u0060recordDistribution(\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":"langfuse/worker/src/features/evaluation/retryObservationNotFound.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"57db2f63c5d54322d9428c99bf634b9e4c66b4f8f7323fc3110ad7c48a4945ea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Enrich root span\u0022 repeats the code it sits on: 3 of its 3 words (enrich, root, span) are already in \u0060enrichedSpans.push({\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":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"39458ac677509b9c27551dc12466248eb24410cf2f0f37c3bebcf89307bc25de"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update timestamp with the upper bound we processed up to\u0022 repeats the code it sits on: 4 of its 5 words (update, timestamp, upper, bound) are already in \u0060await updateBackfillTimestamp(upperBound);\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":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eae835f655e8077ced3ded7f350b93ed2b9c06769b72d32e91f8566208ff48"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the root span (either observation or trace)\u0022 repeats the code it sits on: 4 of its 5 words (root, span, observation, trace) are already in \u0060const rootSpanId = dri.observation_id || \u0060t-${dri.trace_id}\u0060;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc5bad0ab6791285b46907e5a6f85f980823ee761d641741e05c44056316da4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extract generation details from real events\u0022 repeats the code it sits on: 5 of its 5 words (extract, generation, details, real, events) are already in \u0060const generationDetails = extractGenerationDetails(realExperimentEvents)!;\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":"langfuse/worker/src/features/experiments/__tests__/scheduleExperimentEvals.test.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dd0bc9ac823b62f48f676e87c036d1491980f638c02d65ee26958dc6698f77"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Build ObservationForEval\u0022 repeats the code it sits on: 3 of its 3 words (build, observation, eval) are already in \u0060const observation = buildObservationForEval({\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":"langfuse/worker/src/features/experiments/__tests__/scheduleExperimentEvals.test.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fd94357ef93b7a118a3125554ecb29e8f0bb19bcad1f7d55391a1992308da7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter and validate dataset items\u0022 repeats the code it sits on: 4 of its 4 words (filter, validate, dataset, items) are already in \u0060const validatedDatasetItems = datasetItems\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":"langfuse/worker/src/features/experiments/experimentServiceClickhouse.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"97affec109eff43be60ca2a949d9ecd52bca0fc284422b2b8a75ddbb636fca43"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter out existing items\u0022 repeats the code it sits on: 3 of its 3 words (filter, existing, items) are already in \u0060const itemsToProcess = validatedDatasetItems.filter(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/experimentServiceClickhouse.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7349b1b8b9f5fa6953869f0f3db92db6214490566ac78073fb2417794cce96b7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create all dataset run items with the configuration error\u0022 repeats the code it sits on: 5 of its 6 words (create, dataset, run, items, error) are already in \u0060await createAllDatasetRunItemsWithConfigError(\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":"langfuse/worker/src/features/experiments/experimentServiceClickhouse.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8e4512b627d8d3702d743c7987377d729ddd8f8be5fabd50e5c188ee11af35"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extract variables from prompt\u0022 repeats the code it sits on: 3 of its 3 words (extract, variables, prompt) are already in \u0060const extractedVariables = extractVariables(\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":"langfuse/worker/src/features/experiments/utils.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee591c79a0748f6e4366dd3af3f50c7b7ab9e6d205869597ab9e1b543b2319d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Traces and observations - for TRACES_OBSERVATIONS and TRACES_OBSERVATIONS_EVENTS\u0022 repeats the code it sits on: 3 of its 3 words (traces, observations, events) are already in \u0060if (\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":"langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"298875d9210f2c7f287de3210bb9c2568559f351f9f0ab4768c4c67cf78f9f1b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Events - for EVENTS and TRACES_OBSERVATIONS_EVENTS\u0022 repeats the code it sits on: 3 of its 3 words (events, traces, observations) are already in \u0060if (\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":"langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fba32875a2c020e6cd53294fbaed089121fc2ae95e3c144401e970853e6cab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Compress the body with gzip\u0022 repeats the code it sits on: 3 of its 3 words (compress, body, gzip) are already in \u0060const compressedBody = gzipSync(body);\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":"langfuse/worker/src/features/mixpanel/mixpanelClient.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2d02a0f9010c99eeb6b1ba5f86b6db1c4beaef43364b8e00f0d2e06d4de59e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Traces and observations - for TRACES_OBSERVATIONS and TRACES_OBSERVATIONS_EVENTS\u0022 repeats the code it sits on: 3 of its 3 words (traces, observations, events) are already in \u0060if (\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":"langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea15682aed534872b7553b7b79c75129b741eeff7c860d396a3546c93bcca90"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Events - for EVENTS and TRACES_OBSERVATIONS_EVENTS\u0022 repeats the code it sits on: 3 of its 3 words (events, traces, observations) are already in \u0060if (\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":"langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b769297dfc5d43b3897feef0d5ee836284296a84ccc9cafd06c38240de65e2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Retry the job with delay\u0022 repeats the code it sits on: 3 of its 3 words (retry, job, delay) are already in \u0060const delay = config.delayFn((job.data.retryBaggage?.attempt ?? 0) \u002B 1);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/utils/retry-handler.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe236f7141dedcb0083226f4fc8ab074855d780fed86055b65dec3c865edda0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock processObservationEval\u0022 repeats the code it sits on: 4 of its 4 words (mock, process, observation, eval) are already in \u0060vi.mock(\u0022../../features/evaluation/observationEval\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/__tests__/llmAsJudgeExecutionQueueProcessor.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39db865c18a6d3227ee10083fc310c78cddd92fecbf2b3436a43673ff5b917e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock retryLLMRateLimitError\u0022 repeats the code it sits on: 6 of its 6 words (mock, retry, llm, rate, limit, error) are already in \u0060vi.mock(\u0022../../features/utils\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/__tests__/llmAsJudgeExecutionQueueProcessor.test.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0ee64d2a035d93904132ef77ebf0b213bc13d2bc2707be4c506ee0e53555af"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock isUnrecoverableError\u0022 repeats the code it sits on: 3 of its 3 words (mock, unrecoverable, error) are already in \u0060vi.mock(\u0022../../errors/UnrecoverableError\u0022, async () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/__tests__/llmAsJudgeExecutionQueueProcessor.test.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3007f76076c76666dce390cb8f8498d8a24033e25eae168ea512b299e2a69ed"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check Langfuse SDK name \u002B version\u0022 repeats the code it sits on: 4 of its 5 words (check, sdk, name, version) are already in \u0060if (!sdkName || !sdkVersion)\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":"langfuse/worker/src/queues/otelIngestionQueue.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c72a692fed9d418f259011b7409edbc8951a2219e697d53f8c34726490f1a45"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update trigger to inactive status\u0022 repeats the code it sits on: 4 of its 4 words (update, trigger, inactive, status) are already in \u0060await tx.trigger.update({\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":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb9cec20c3ac693b030c376140a178443e63b7db47a1c1b22857fbd55af16d3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update trigger to inactive status\u0022 repeats the code it sits on: 4 of its 4 words (update, trigger, inactive, status) are already in \u0060await tx.trigger.update({\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":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"72785d04f37b78282adcc72c36fe75c92f980b873c047255142773878362450c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Convert to new format\u0022 repeats the code it sits on: 3 of its 3 words (convert, new, format) are already in \u0060const newModels: NewModelPrice[] = oldModels.map(convertToTieredFormat);\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":"langfuse/worker/src/scripts/convertDefaultModelPricesToTiers.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31e0439093485b6f695956a5c83e980edf1a76d4b3540912cd7453736043cf1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Read events from file\u0022 repeats the code it sits on: 3 of its 3 words (read, events, file) are already in \u0060const rawEvents = readEventsFromFile(EVENTS_FILE);\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":"langfuse/worker/src/scripts/refillQueueEvent/index.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bface8b804098e82c16c4508b9ea32c74e16098b8aabac84c3189c6f259e1a1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the operation column contains \u0022REST.PUT.OBJECT\u0022\u0022 repeats the code it sits on: 6 of its 7 words (check, operation, column, rest, put, object) are already in \u0060if (row[operationColumnIndex]?.trim() === \u0022REST.PUT.OBJECT\u0022)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"331effb652284d1fd74bd3b06f971ac3d86e295b8222e917fc105fb3910fda32"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Build map of existing models with their tiers\u0022 repeats the code it sits on: 4 of its 5 words (map, existing, models, tiers) are already in \u0060const existingModelsMap = new Map\u003C\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":"langfuse/worker/src/scripts/upsertDefaultModelPrices.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e48d08f5045f2f754051207d4a2317c6b669d31f992b61fc489f2c6218ace07"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Upsert model, tiers, and prices in a transaction\u0022 repeats the code it sits on: 4 of its 5 words (upsert, model, tiers, prices) are already in \u0060promises.push(\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":"langfuse/worker/src/scripts/upsertDefaultModelPrices.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3434e238a1637f5c344bdfcb7ddb4cdb1bc9aead8bd5c9aecfc27fe6c521739d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Truncate oversized records\u0022 repeats the code it sits on: 3 of its 3 words (truncate, oversized, records) are already in \u0060recordsToWrite = recordsToWrite.map((record) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/ClickhouseWriter/index.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca5d7999bafd5043d454ddf064ab01e2f8af3b9f4e5acfd80bc2ad666ecdbb3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Override endTimes that are before startTimes with the startTime\u0022 repeats the code it sits on: 4 of its 5 words (end, times, start, time) are already in \u0060if (\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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2620d1115ceedce8320fc152fa611e9da12c643a22684b1e4f79f91bf730f805"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stop batch data retention cleaners\u0022 repeats the code it sits on: 4 of its 5 words (batch, data, retention, cleaners) are already in \u0060for (const cleaner of batchDataRetentionCleaners)\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":"langfuse/worker/src/utils/shutdown.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"95515abfe6e7df99e985637128b60e5d9c294cf8042da8871ba64c02f20ae8e1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stop media retention cleaner\u0022 repeats the code it sits on: 4 of its 4 words (stop, media, retention, cleaner) are already in \u0060mediaRetentionCleaner?.stop();\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":"langfuse/worker/src/utils/shutdown.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"279e536d4abf4de93822c9fd49bd7a87c6d42969b81ad6c66dcdf39e7125ee86"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stop batch trace deletion cleaner\u0022 repeats the code it sits on: 5 of its 5 words (stop, batch, trace, deletion, cleaner) are already in \u0060batchTraceDeletionCleaner?.stop();\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":"langfuse/worker/src/utils/shutdown.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44d17f6416d20fa3ef0151e1186f61915a8d95e8c1d9c6093f3d53a86d2cbe5"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060langfuse/web\u0060 (251692 LoC, 1468 module-visible types across 326 directories) overshoots its size bounds. 3 of 4 build unit(s) (Python, 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":"langfuse/web/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"477c080f21ce5c81999d659825bb8fba428c74b041fae65c86cc6810f4d1c866"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060langfuse/packages/shared\u0060 (52821 LoC, 343 module-visible types across 66 directories) overshoots its size bounds. 3 of 4 build unit(s) (Python, 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":"langfuse/packages/shared/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4dd5b4a4d65e1592d751247a39c472155d67958d44a2fa1957238b536bdeaa"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060langfuse/worker\u0060 (29296 LoC, 179 module-visible types across 44 directories) overshoots its size bounds. 3 of 4 build unit(s) (Python, 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":"langfuse/worker/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe5b56d81124b2a8a6d9a158a1ec3046b4c8a0d44b10a5baf3666fa76aac350"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d42115c2dd9fa4f0ff929e92fc19df3fdd8ecaf40c7a6e909dbc5a3e7643dde1"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09385fd4e4b4e388f1cab68ebdb2e6de0bef5d43fcc220de6de9f70f88cb7e1b"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06be90113a18804b73a610448b5dbc3b000494201b1a040c1fbf2f32840c3b13"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e980ad452cf74d107382f163791172c14ae05f4fbf8c124e8feeaaa17ae0bb8"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd1c04da9d9e4732662e82540106e57fc32e96d92883b5377d936aca1ff1d958"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ce2915c9ea76bc17fba14281c887af3e0656799fc5649c27f5225dfb179d2e4"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8ad0b3ff54e409c10c21c3f1c6bcb8afa44372ca0b8152fc2648a1d63b5af2e"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8041c95d29b4ac798d7abfdc1e86fa7c0126a70d5419dac0138a9177142cf020"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"128da5b2b36561fa3c299a7cd52f5c118c577a125410a009f540c738367b1cfe"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19fa921afc54499603014bc449239093fc809570502639822d391440e788efd1"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3aa492a29c86b0b9893e43052d44bb1db87a6dc1f7a3ba356d146f07918a71f1"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb7d67302688e80c62767c8a20dfbee836e9abacab89eb3b239d5cc39f877bff"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"188ecaf9619a654b55a9a382549e0f3d57efc2ae14eb44284d099eb4e7b90395"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31e94a89f1d608ea012c4b2384c9151212e2eb115235410d2ea026ead95964c4"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d98ed28714668215960488dd14664f7f41477e176fd992ae228bc2bbd31ee6f1"},"taxa":[{"id":"CWE-540","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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37ea83592144d8ef4985ff432640fbb986d677efcfb6e5f86cab058af0da004f"},"properties":{"commitSha":"1c6feb52aeb1db769c1126b720baa02adadbbbf3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e553710b3476fbb874e05e91431d2d21b3561e7ae7deb2f93c5777a272ff681"},"properties":{"commitSha":"54e944890d15944b5eaf5fc82df3a1471da42e41"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea632bdbb67cd846b9da9d39cd587808bb01f09fbfae6a34db995a962424716e"},"properties":{"commitSha":"54e944890d15944b5eaf5fc82df3a1471da42e41"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43d3b92af00e29400f9d9348086ab97dd80722b2b0ccfc5f6fc314cc0e484174"},"properties":{"commitSha":"54e944890d15944b5eaf5fc82df3a1471da42e41"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c477439bf73f582d1e948c2ed128c319fd0f5723492741f2bbd04a228a9c1cd"},"properties":{"commitSha":"54e944890d15944b5eaf5fc82df3a1471da42e41"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efa6786e4902b44652952a9f85665bf5d677bfd33555cb9b3f61d15139400ac6"},"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":"cabc77d795ec89818ce017002171bf8a500087f6b44eb10d937a3995c8a18615"},"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":"beb570199f851bb1eb0cf90f6a712c178bebc5cdba23e4fa90f3e97906e20b5b"},"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":"49fa6cb43e378a3c38b6aadae7ab7a418d1b3056ffaed10ba081bc7e8d2a93aa"},"taxa":[{"id":"CWE-1188","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":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb323c62df7af48179d7730019d26ef9ea4d37c640b5b1a447ceaeb24b907d2c"},"taxa":[{"id":"CWE-1188","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":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f12017a828379e3af74f2535ac3ae884289b8d9b9ffa6a4716c15e29af6e55b"},"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":"cd4bf9de3552028ccf270ad1c9427b883506ab607017e7a492f8c1a750dd88fd"},"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":"8167028fa5f9281f208cd4700c27f566354247e5d2f0c87da522852a34b71667"},"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":"d14aa7b2c3a17bffe5b2ba0953897a32348db8b5e1faa5980108cf96b83b6708"},"taxa":[{"id":"CWE-287","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"7589778b149161a8cbb01dafa4aa7aa599556e63741a0f1dd8dde93fe5b90646"},"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":"88ea698ade132e4c5199a1fd9b1d79dcf2b1f458f8818fd9cc525663744b8524"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"34b352de380aee8e0d644cfd5a22e0262f679465259e99d712d1e763c5971df6"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"7f1e5a8116e1adeca5387cb8f3cfc06eb03811150314967b4a1e733d9a8cd367"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"4e8a50243de281cb8b66bd86f31f2eda1a2da6bbb3a09480e1ba6aad07e5005c"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"5cdd33e2971ac867232d7e520c179e2b1357868fe2faff1e7747a0f8e965986b"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"ce443de8aef6e82909b2156cdc683cf196cd499eb69feaf51b8f61564e088bb7"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"da1cbe18520c6b7101d21da8976d134ed2f5049c3fd92eb8a089e2b439592853"},"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":"21338bd32cbd9fda29eb4b9f07dc4a30db88ac070bb4e59ad7331f7dc8ea0138"},"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":"6f031b6f92f7c8874db942e4d24e650e82ba514c234c43751576c6657576db2d"},"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":"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":"97df2f2a7001f023fa68c8c7d7b0404680382a083ad4d1265e9db7a250ca84c6"},"taxa":[{"id":"CWE-310","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":"8eabf3ddefc84ac20f1f164c4c14ca695fe78213742e9b354ae4d2731526ee56"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83ba9e92789fee75456825891f7399349aedc9f94aae7465d8432a0ae47cdd60"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41829fa3851453c5055e9eef2d30e3731d9fc134e429932ba4b9d2c07e2641f6"},"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":"83ae576a9a5c9ca7c44705bc4e9830129dc1afc98a664c294dded5c7a9b064b6"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a177a9bc52256c9906b30cfe9d57f33e7ff4ca7ddbc73fdee6a2983214f2749"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b91b3d9d062b0fe9a929469a48f3e6bc7425c5234d59e3e2e1f78ec698947d55"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdf843ab6cc0d84072e10ba1d5cae876d70d66b3c35c703653d24619a7f9c5ea"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d5befb241bb8b0f52d035eef91bceea8d9a10463ec847a00af3b65b763b464e2"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fe4b0f98642b25e398b2bcf935cf084c0b440b53bc1154c7cab4216f3e5cf5b"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c2f14f85ab714f2da1a01c70019cdc1823f397f80fdc80f65d2997413aa2c1d"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2ce03e995ebaba27127c1c992cfc2c3a6ab6f2cfe293628df1f2f40890ff1d1"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ada1bc37ba3a313a3ff5f00e99e42725a697fab4ac022d8da1eae0425c155cc3"},"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":"519a09c8fb5e7cff50a8ed7d85879c54efe8c903374517970d6efaac79ce28df"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"9d6092d29c09f120d52bd92ec3a2438677368a397f8cd3a93b3739c23d92e7ad"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"e6fb86b995c3485d909c0d73b2b567813d786d310ee7bac6475d23e5990b6dd7"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"9966027d7f59cfb40b5110718b812ac51e7abfb76e822c15ec88ba23cf86d5e8"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"07e5dfaa10cf00900cf89b3ccf27e812298fe69555e0ca6fe41f1368ea72d592"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa17d94b365288b1816c0c3d227a09d995ef750bbaa55ffe01889dd1c426e22e"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b6890a584927d86299a14b083be7013ab89aae3213d70ee4f151d3aa2da7fb7"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49efc5df6ac4807be81248dc939dad533732ef84f686d0b7789fefd3e6c2f6a4"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9163c77e5029eca091938aa721670b9f13daa24265c3e5196fb02e7d67ccb1f7"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cac3bd39c97c90a74058b11568fa3838da82e7f8621e54e09752dfe120375e49"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b1c7f3c3349e3280c251981b361af40876e027a4cbd4e7adb87536e9c976655"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b4bf91c866a832ffdfc72cf8cb39945fc7cb36cec176d7495951e6e29825811"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5f7dce3ae7e4c13ab68c0e8cab96d04741db7ad64944349ef2e6b157080afbf"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1659f556741113b8826b62e1fea3d589b138c44264e2091bb03678fb5afb3bc1"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"9d953f074d1c1330a770d78a6e756d081fd560d48e7ec85e04b89cd3cd2a8b7b"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"37fd756b122ac4147e3726acd5e9ae3164599f73767b2ad2a93988d5e4db09d8"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"f8440bab430c99b040486c7fa79ae34daa5e64088c46ed2b716cbddb88852ea2"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"7d29d454bcbdaf76dbd66fe8bbae2e67a4c441ec1ddaf0cd4547fa1236d40e24"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"abcea1dcff5ab8d569563c8789d6bb92a223c2dcb1f854c3b50b2d5aa7cbe7d7"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f04d815a30c5f8b88098f10de5748af6d43119647ab0a5c42a9942ff3030471"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c69f2dd8dd7a434b0537cc7c098e1a7d9adbb926788ad20f1a820aa65a718ed"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcd1ee9dfa03f907a4b55444cf1f0492c0bf26e0b50ece3cf4e19e6c45700900"},"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":"c00ca8ef6b1b00a059ac2a5b36ca2a84a9956411282146707be7539e4143ecb9"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e8f6f202bf1c14f0a10994fdeba742050177a3e92d85dff42208df23b992d34a"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"06000a4b81659adc9ffffba56f9caccb177c01762e21f8bf6e212e68b9bd6600"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"570cc0a487928ed40516ab9039e76670ca01f0d70eed9975f89334e63b5cf3d2"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"dc1271fb90dcc0e71dcb6f569b8cafaae7b0b193ca07dbacd0a4a4e909a4388d"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"09a87300b1ccbbe62fd5e74418fa3cdb45a8967eb3a57bdda94378edd78e503f"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"dddb665e8aa59392b6c77dd46b59fd171b3fc1f41956a91fbd2b721f7262c639"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7cc0fd029f6e3eb2edb3325f96719f2fa73382f4cf83850aaa667bb6b536f2da"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"4a06f2ac8fec2b510c9f9878ab0710875c3d2d62e7e1ac493203dcc1d4fd5015"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"58f13262c70e310b52b4988c6043f8b30181869f15a2f44021907081de2adb96"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"da37b52ae08a9ea3b739e99d3d8287b17ecf6d40f6baea5eae65f08bc84e4373"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfedd7b577da47f6f75bc8341998534e87621e2c28da2887b21b5e74a7cd35bf"},"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":"b55b55828b8a726a51fa6d4e2da8faa0756ede5f9c307449d75faf092eb8323d"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7095e94b25d7de72d57c3d99e398edfa9b84090a03fc1da951d56c0714d2f935"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d13fcb4231a7fb965f320c92c18cd1583f2d37af8ae28354b8178299a0778a49"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55b75a55c70dc5a48211962b9d32328a076bf6abc8b8f73cfb481a59d204f2a4"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6faea4785ecc206e375325d02b2c53229beca6231b7a07146a7226470257b815"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1c9e8701c4e62ae5c90b4dcde1c717d1fbca1a3c546d54bd58851f332e260e3"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfd55da4969c09e916a85431a0b730bcc0db4784d2491f63f6d71cfbf7fc5034"},"taxa":[{"id":"CWE-601","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a6f6b526481dac39253c491b0b7f8040112f047939dd12e499b4a5ec226791cb"},"taxa":[{"id":"CWE-601","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"eba5075b1a51b47b96258bf1cadaac7db2338d73f2ec58cedff0898b536502d2"},"properties":{"dependency":{"package":"anyio","version":"4.12.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"severity":"critical","fixedVersion":"4.14.2","relation":"direct","declaredRange":"4.12.1","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":"c22409626067512b2bc2b3867fc59097e00ed5c44878957015980691d1700223"},"properties":{"dependency":{"package":"certifi","version":"2026.1.4","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"severity":"critical","fixedVersion":"2026.10.18","relation":"direct","declaredRange":"2026.1.4","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":"71f5b2c17284da627134f81f0703fb262d198570cf2a7786024452d51e4f7ae4"},"properties":{"dependency":{"package":"gitpython","version":"3.1.46","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2160","PYSEC-2026-2161","PYSEC-2026-2162","PYSEC-2026-2163","PYSEC-2026-3783","PYSEC-2026-3784","PYSEC-2026-3785","PYSEC-2026-3786","PYSEC-2026-3787","PYSEC-2026-3788","PYSEC-2026-3836","PYSEC-2026-3837","PYSEC-2026-3838","PYSEC-2026-3839","PYSEC-2026-3840","PYSEC-2026-3841","PYSEC-2026-3842","PYSEC-2026-3843","PYSEC-2026-3948","PYSEC-2026-3949","PYSEC-2026-3950","PYSEC-2026-3951","PYSEC-2026-3952","PYSEC-2026-3953","PYSEC-2026-3980","PYSEC-2026-3981","PYSEC-2026-3982","PYSEC-2026-3984","PYSEC-2026-3995"],"severity":"critical","fixedVersion":"3.1.59","relation":"direct","declaredRange":"3.1.46","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":"7b34418d59355316fcb45fa5d5231d4b2e423c8cc242378adfb9ee0e971bfcab"},"properties":{"dependency":{"package":"litellm","version":"1.81.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2597","PYSEC-2026-2598","PYSEC-2026-2599","PYSEC-2026-2600","PYSEC-2026-2602","PYSEC-2026-3476","PYSEC-2026-3477","PYSEC-2026-3478","PYSEC-2026-3479","PYSEC-2026-3861","PYSEC-2026-388","PYSEC-2026-390","PYSEC-2026-4066","PYSEC-2026-4067","PYSEC-2026-4069","PYSEC-2026-4070","PYSEC-2026-4071","PYSEC-2026-4072","PYSEC-2026-4073","PYSEC-2026-4074","PYSEC-2026-4075","PYSEC-2026-4076"],"severity":"critical","fixedVersion":"1.84.0","relation":"direct","declaredRange":"1.81.5","reachability":{"kind":"production","file":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py","line":29}}}},{"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":"6387f3de26adf3a7c9073e5564a38cc5483f4df8acd04b9d3b7bfcfee624bf58"},"properties":{"dependency":{"package":"mlflow","version":"3.9.0","advisory":"[GHSA redacted]","aliases":["BIT-mlflow-2026-10803","BIT-mlflow-2026-116691","BIT-mlflow-2026-2611","BIT-mlflow-2026-2614","BIT-mlflow-2026-2651","BIT-mlflow-2026-2652","BIT-mlflow-2026-2734","BIT-mlflow-2026-3198","BIT-mlflow-2026-33865","BIT-mlflow-2026-33866","BIT-mlflow-2026-4035","BIT-mlflow-2026-4137","BIT-mlflow-2026-53995","BIT-mlflow-2026-64849","BIT-mlflow-2026-8147","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2026-195","PYSEC-2026-2220","PYSEC-2026-2221","PYSEC-2026-2222","PYSEC-2026-2654","PYSEC-2026-2655","PYSEC-2026-2659","PYSEC-2026-2660","PYSEC-2026-3686","PYSEC-2026-3687","PYSEC-2026-418","PYSEC-2026-419","PYSEC-2026-93","PYSEC-2026-94"],"severity":"critical","fixedVersion":"3.10.0","relation":"direct","declaredRange":"3.9.0","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":"ccfaa676d2bbceaea5749adb254801316aeab3387ceeef24d397a0eca1156ce3"},"properties":{"dependency":{"package":"pillow","version":"12.1.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112396","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112405","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112899","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-112902","BIT-pillow-2026-114501","BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42309","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59203","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96639","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96643","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2251","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3452","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4328","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4333","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4336","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4339","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4342","PYSEC-2026-4343","PYSEC-2026-4363"],"severity":"critical","fixedVersion":"13.0.0","relation":"direct","declaredRange":"12.1.0","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":"f4c628f63aac9e6c1375a39c2835def888adbe849ce05e275f3d444e125999a6"},"properties":{"dependency":{"package":"pyjwt","version":"2.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-120","PYSEC-2026-175","PYSEC-2026-176","PYSEC-2026-177","PYSEC-2026-178","PYSEC-2026-179","PYSEC-2026-4140","PYSEC-2026-4141","PYSEC-2026-4144","PYSEC-2026-4145","PYSEC-2026-4146","PYSEC-2026-4147","PYSEC-2026-4148","PYSEC-2026-4149","PYSEC-2026-4152","PYSEC-2026-4183"],"severity":"critical","fixedVersion":"2.14.0","relation":"direct","declaredRange":"2.11.0","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":"fb5c7e494e0ddef64bea3949f9a435e0247903c669c8d08ca8193000e0cf56cf"},"properties":{"dependency":{"package":"anyio","version":"4.12.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"severity":"critical","fixedVersion":"4.14.2","relation":"direct","declaredRange":"4.12.1","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":"217c64c49a73f2ae27e609f5512eddf5728bf51f15239ab379251bd812a377f5"},"properties":{"dependency":{"package":"certifi","version":"2026.1.4","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"severity":"critical","fixedVersion":"2026.10.18","relation":"direct","declaredRange":"2026.1.4","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":"456b7b1433c60c88b4a18a627111dc6a89a03327f4c204f7c6ee0bf970caaefe"},"properties":{"dependency":{"package":"gitpython","version":"3.1.46","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2160","PYSEC-2026-2161","PYSEC-2026-2162","PYSEC-2026-2163","PYSEC-2026-3783","PYSEC-2026-3784","PYSEC-2026-3785","PYSEC-2026-3786","PYSEC-2026-3787","PYSEC-2026-3788","PYSEC-2026-3836","PYSEC-2026-3837","PYSEC-2026-3838","PYSEC-2026-3839","PYSEC-2026-3840","PYSEC-2026-3841","PYSEC-2026-3842","PYSEC-2026-3843","PYSEC-2026-3948","PYSEC-2026-3949","PYSEC-2026-3950","PYSEC-2026-3951","PYSEC-2026-3952","PYSEC-2026-3953","PYSEC-2026-3980","PYSEC-2026-3981","PYSEC-2026-3982","PYSEC-2026-3984","PYSEC-2026-3995"],"severity":"critical","fixedVersion":"3.1.59","relation":"direct","declaredRange":"3.1.46","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":"003799136bc19b68994cb2fdd349b3f99362f7a591eb082e2a1ea4a23ee4b90a"},"properties":{"dependency":{"package":"litellm","version":"1.81.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2597","PYSEC-2026-2598","PYSEC-2026-2599","PYSEC-2026-2600","PYSEC-2026-2602","PYSEC-2026-3476","PYSEC-2026-3477","PYSEC-2026-3478","PYSEC-2026-3479","PYSEC-2026-3861","PYSEC-2026-388","PYSEC-2026-390","PYSEC-2026-4066","PYSEC-2026-4067","PYSEC-2026-4069","PYSEC-2026-4070","PYSEC-2026-4071","PYSEC-2026-4072","PYSEC-2026-4073","PYSEC-2026-4074","PYSEC-2026-4075","PYSEC-2026-4076"],"severity":"critical","fixedVersion":"1.84.0","relation":"direct","declaredRange":"1.81.5","reachability":{"kind":"production","file":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py","line":29}}}},{"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":"a566b18b1211dcc11c679ba0c00995ea8d17e498aed714f12d1efdb9eb8a2b39"},"properties":{"dependency":{"package":"mlflow","version":"3.9.0","advisory":"[GHSA redacted]","aliases":["BIT-mlflow-2026-10803","BIT-mlflow-2026-116691","BIT-mlflow-2026-2611","BIT-mlflow-2026-2614","BIT-mlflow-2026-2651","BIT-mlflow-2026-2652","BIT-mlflow-2026-2734","BIT-mlflow-2026-3198","BIT-mlflow-2026-33865","BIT-mlflow-2026-33866","BIT-mlflow-2026-4035","BIT-mlflow-2026-4137","BIT-mlflow-2026-53995","BIT-mlflow-2026-64849","BIT-mlflow-2026-8147","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2026-195","PYSEC-2026-2220","PYSEC-2026-2221","PYSEC-2026-2222","PYSEC-2026-2654","PYSEC-2026-2655","PYSEC-2026-2659","PYSEC-2026-2660","PYSEC-2026-3686","PYSEC-2026-3687","PYSEC-2026-418","PYSEC-2026-419","PYSEC-2026-93","PYSEC-2026-94"],"severity":"critical","fixedVersion":"3.10.0","relation":"direct","declaredRange":"3.9.0","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":"f22d64713a030f48956fd46e64c41d4a0009c82ced9afa38e0bd1b594ec58e78"},"properties":{"dependency":{"package":"pillow","version":"12.1.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112396","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112405","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112899","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-112902","BIT-pillow-2026-114501","BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42309","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59203","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96639","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96643","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2251","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3452","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4328","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4333","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4336","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4339","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4342","PYSEC-2026-4343","PYSEC-2026-4363"],"severity":"critical","fixedVersion":"13.0.0","relation":"direct","declaredRange":"12.1.0","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":"88ab66dcbb128ce5a76f858c43351250eb5a74706e524ec774a8eccd09a8641b"},"properties":{"dependency":{"package":"pyjwt","version":"2.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-120","PYSEC-2026-175","PYSEC-2026-176","PYSEC-2026-177","PYSEC-2026-178","PYSEC-2026-179","PYSEC-2026-4140","PYSEC-2026-4141","PYSEC-2026-4144","PYSEC-2026-4145","PYSEC-2026-4146","PYSEC-2026-4147","PYSEC-2026-4148","PYSEC-2026-4149","PYSEC-2026-4152","PYSEC-2026-4183"],"severity":"critical","fixedVersion":"2.14.0","relation":"direct","declaredRange":"2.11.0","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":"ffcfab1f02b2836b651620c09a9f3d90c922130857ea2be30564050510a65d58"},"properties":{"dependency":{"package":"next","version":"15.5.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]"],"severity":"critical","fixedVersion":"15.5.28","relation":"direct","declaredRange":"15.5.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":"58d47a34ec979a9242959d5d7f6e1da6e13c9569451072e871a466474c73e95b"},"properties":{"dependency":{"package":"@sentry/nextjs","version":"10.30.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"10.75.2","relation":"direct","declaredRange":"^10.30.0","reachability":{"kind":"production","file":"langfuse/web/src/components/error-page.tsx","line":7}}}},{"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":"a5a25556468569403c71328c45ae7809b4d804baf331e39c2c1f3b1f4b177832"},"properties":{"dependency":{"package":"basic-ftp","version":"5.0.5","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]","[GHSA redacted]"],"severity":"critical","fixedVersion":"5.2.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":"43b49a61a8d64d67cd130a52646d0babeb6eba392e46841a249cc9e45fd31faf"},"properties":{"dependency":{"package":"fast-xml-parser","version":"4.4.1","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":"critical","fixedVersion":"4.5.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":"dc4173271cc8817b92f4a5f8a83f98804db5dfa8644b56207a159e08b2d17bca"},"properties":{"dependency":{"package":"fast-xml-parser","version":"4.5.0","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":"critical","fixedVersion":"4.5.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":"4e1f300b89bc14a660af614c5063f819e61daa0d70e1fec3025507a92ac3639e"},"properties":{"dependency":{"package":"fast-xml-parser","version":"4.5.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"4.5.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":"f132558cd81f0212839b91b19c24aec4947344baafa020c58ca372b8d2fc232d"},"properties":{"dependency":{"package":"fast-xml-parser","version":"5.2.5","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":"critical","fixedVersion":"5.3.5","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":"3c89dd5423759e4e360240b2b4c0f9afa228a4583ea070c9e9d762cd1e1d50f9"},"properties":{"dependency":{"package":"git-diff","version":"2.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"2.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":"be7bd1500d01ab5387c0a087b0b11605cbd4fa069986186ddfc164e2b99237ac"},"properties":{"dependency":{"package":"next-auth","version":"4.24.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"4.24.15","relation":"direct","declaredRange":"^4.24.13","reachability":{"kind":"production","file":"langfuse/packages/shared/src/server/auth/customSsoProvider.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e1c816b8bd50f7e9791d7d46e884797d44dd1a18ee40a7ac741cef1e261831b"},"properties":{"dependency":{"package":"protobufjs","version":"7.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"7.5.5","relation":"direct","declaredRange":"^7.4.0","reachability":{"kind":"production","file":"langfuse/web/src/pages/api/public/otel/otlp-proto/generated/root.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"722815ec5c51dd9ee36f3d62ae3b4d52f881bbe7824badb34a45e7dda39e6bd1"},"properties":{"dependency":{"package":"protobufjs","version":"7.5.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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":"7.5.5","relation":"direct","declaredRange":"^7.4.0","reachability":{"kind":"production","file":"langfuse/web/src/pages/api/public/otel/otlp-proto/generated/root.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ebc50bac20e53b1e8bbfcf6888bd9140fa01ee9d57c575de49167f06304404e"},"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":"2eb4244160032400f6a5476eba744880ce448d6a84dc18c04db4deaddc362482"},"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":"fd065fd8e309779cc924adb789a7e94024dc7ae83a9aba12e8366c5f1d5e4181"},"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":"999f3f1267b19b6fb7b278d5563efdf8351d64d6eee7c2974d78999031116747"},"properties":{"dependency":{"package":"tinypool","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"2.1.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":"ee8eab195e686ffcd0baab25fb29b581e4d7cc32273e78ca0ad06e830c310aa0"},"properties":{"dependency":{"package":"vitest","version":"3.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"3.2.6","relation":"direct","declaredRange":"^3.2.4","reachability":{"kind":"test-or-tooling","file":"langfuse/worker/src/__tests__/applyFieldMapping.test.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18219ab96da0aa8ec3906f452c488c3ae6069e29c876c187db609c4ef86feced"},"properties":{"dependency":{"package":"next","version":"15.5.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]"],"severity":"critical","fixedVersion":"15.5.28","relation":"direct","declaredRange":"15.5.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":"58e613e2116d96e460b2632af116e72b1ad9e4acddcf8375782f89ce8d67948e"},"properties":{"dependency":{"package":"aiohttp","version":"3.13.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547","PYSEC-2026-4365","PYSEC-2026-4366","PYSEC-2026-4367","PYSEC-2026-4368","PYSEC-2026-4369","PYSEC-2026-4370","PYSEC-2026-4371"],"severity":"high","fixedVersion":"3.14.4","relation":"direct","declaredRange":"3.13.3","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":"f2f7495d9732e50197abdb92b5499923de4cbf0348d239a67e531beff2875c2d"},"properties":{"dependency":{"package":"cryptography","version":"46.0.4","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]","[GHSA redacted]","PYSEC-2026-2141","PYSEC-2026-35","PYSEC-2026-3552","PYSEC-2026-3553","PYSEC-2026-3554","PYSEC-2026-36"],"severity":"high","fixedVersion":"48.0.1","relation":"direct","declaredRange":"46.0.4","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":"32306373e3ba55f2fe1db61cf734170c349e5d439931d820cd3d966e1b208254"},"properties":{"dependency":{"package":"dnspython","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.9.0","relation":"direct","declaredRange":"2.8.0","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":"d0c12a504e4ea3705fc78dcb520ddc96d8672844f508a3ff7da3b67217a6c064"},"properties":{"dependency":{"package":"fsspec","version":"2026.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4217"],"severity":"high","fixedVersion":"2026.6.0","relation":"direct","declaredRange":"2026.1.0","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":"ed10ebf57cb0193ca46414b3a3048b8782da9fc94abed641f11ec0a67ab0296a"},"properties":{"dependency":{"package":"graphql-core","version":"3.2.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.2.12","relation":"direct","declaredRange":"3.2.7","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":"c1d02ccfdf9d39fe881dca06e0f8a2d08a0e312d24f01c415ad816fb844e8c70"},"properties":{"dependency":{"package":"mako","version":"1.3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2617","PYSEC-2026-4243","PYSEC-2026-88"],"severity":"high","fixedVersion":"1.3.12","relation":"direct","declaredRange":"1.3.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":"c54cde8eee5bd107365ff218f9617e0eb49e6e3fa3940d463798caf5c754a85d"},"properties":{"dependency":{"package":"mcp","version":"1.26.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3481","PYSEC-2026-3482","PYSEC-2026-3483"],"severity":"high","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.26.0","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":"a00bc58746a39554b26236160fc742e44e483cf0415bfb494b169342307a7fd5"},"properties":{"dependency":{"package":"oauthlib","version":"3.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4113","PYSEC-2026-4114"],"severity":"high","fixedVersion":"4.0.1","relation":"direct","declaredRange":"3.3.1","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":"5e6e112f4fb8ef83499ec6f224d0742fa147a8e8b922d09a9c280f399f135164"},"properties":{"dependency":{"package":"pyarrow","version":"22.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-113"],"severity":"high","fixedVersion":"23.0.1","relation":"direct","declaredRange":"22.0.0","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":"c0fe89a0fc55694ea8cdd0b00bb0c6f8c520bce782213505fb9246cb6450fc35"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.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]","PYSEC-2026-2263","PYSEC-2026-3455","PYSEC-2026-3456","PYSEC-2026-3457"],"severity":"high","fixedVersion":"0.6.5","relation":"direct","declaredRange":"0.6.2","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":"679e6bec21b48e5f95802c9254316d8e09077bebe9a50f61a3968a97a8fe4e7c"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.22","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]","PYSEC-2026-3036","PYSEC-2026-3037","PYSEC-2026-3038","PYSEC-2026-3039","PYSEC-2026-3040","PYSEC-2026-3041"],"severity":"high","fixedVersion":"0.0.30","relation":"direct","declaredRange":"0.0.22","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":"b9deeaa200f13fa99d48e6f16c45a0dd1e629b9993fce4b8a55ae40153ee0e2e"},"properties":{"dependency":{"package":"sqlparse","version":"0.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3696","PYSEC-2026-3697","PYSEC-2026-3698","PYSEC-2026-3699","PYSEC-2026-3923"],"severity":"high","fixedVersion":"0.6.0","relation":"direct","declaredRange":"0.5.5","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":"ddd836b11afaf00207f53ac209fe8f3e1ea0d4fca29749b2ac5dc98306d8ba90"},"properties":{"dependency":{"package":"starlette","version":"0.50.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-161","PYSEC-2026-2280","PYSEC-2026-2281","PYSEC-2026-248","PYSEC-2026-249","X41-2026-002"],"severity":"high","fixedVersion":"1.3.1","relation":"direct","declaredRange":"0.50.0","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":"ff9c38f87f1959f3e71fb933c4b81d4efc776dc29593a0149f1f9c0fb425937a"},"properties":{"dependency":{"package":"urllib3","version":"2.6.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-141","PYSEC-2026-142","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"severity":"high","fixedVersion":"2.8.0","relation":"direct","declaredRange":"2.6.3","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":"024532b974f61ce0614f30ca3af1af2926f4589eb3876e46e1edd8ec6514c61a"},"properties":{"dependency":{"package":"virtualenv","version":"20.36.1","advisory":"[GHSA redacted]","aliases":["BIT-virtualenv-2026-102925","BIT-virtualenv-2026-102930","BIT-virtualenv-2026-102937","BIT-virtualenv-2026-102938","BIT-virtualenv-2026-113714","BIT-virtualenv-2026-113715","BIT-virtualenv-2026-113716","BIT-virtualenv-2026-113717","BIT-virtualenv-2026-113718","BIT-virtualenv-2026-113719","BIT-virtualenv-2026-113720","BIT-virtualenv-2026-113721","BIT-virtualenv-2026-113722","BIT-virtualenv-2026-113723","BIT-virtualenv-2026-113724","BIT-virtualenv-2026-113725","BIT-virtualenv-2026-113726","BIT-virtualenv-2026-113732","BIT-virtualenv-2026-113776","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2026-4011","PYSEC-2026-4012","PYSEC-2026-4013","PYSEC-2026-4014"],"severity":"high","fixedVersion":"21.14.9","relation":"direct","declaredRange":"20.36.1","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":"7dc5d2ccbc1a9435130ccbdf4f7d7cb88593f32d48980cf9a89895cfcc728e16"},"properties":{"dependency":{"package":"aiohttp","version":"3.13.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547","PYSEC-2026-4365","PYSEC-2026-4366","PYSEC-2026-4367","PYSEC-2026-4368","PYSEC-2026-4369","PYSEC-2026-4370","PYSEC-2026-4371"],"severity":"high","fixedVersion":"3.14.4","relation":"direct","declaredRange":"3.13.3","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":"d97137e6000c34f375dcdbe0b198650fd446f3e921802a2f56e262be51d86278"},"properties":{"dependency":{"package":"cryptography","version":"46.0.4","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]","[GHSA redacted]","PYSEC-2026-2141","PYSEC-2026-35","PYSEC-2026-3552","PYSEC-2026-3553","PYSEC-2026-3554","PYSEC-2026-36"],"severity":"high","fixedVersion":"48.0.1","relation":"direct","declaredRange":"46.0.4","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":"2b33d13583ef2d2e3ec936ba323c0eb1b2a024ef13ef521754accc29afee1685"},"properties":{"dependency":{"package":"dnspython","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.9.0","relation":"direct","declaredRange":"2.8.0","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":"7085401ece1e14ad66002b9dc9cbcbcc7aaf51259b0ddf9fc6d8bb306a493f5f"},"properties":{"dependency":{"package":"fsspec","version":"2026.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4217"],"severity":"high","fixedVersion":"2026.6.0","relation":"direct","declaredRange":"2026.1.0","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":"abad0b56beb793f770d0cca8e087e6c2b7d926378a14aac589d42210475f8e45"},"properties":{"dependency":{"package":"graphql-core","version":"3.2.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.2.12","relation":"direct","declaredRange":"3.2.7","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":"7a34374fc74a708efda872af2f1fa79b613396bba543bb52683df6abdbb577f4"},"properties":{"dependency":{"package":"httplib2","version":"0.31.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3444"],"severity":"high","fixedVersion":"0.32.0","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":"456afdd2517dc486482e6653dec706d128d24f4b79383cd523fc6dac568214ec"},"properties":{"dependency":{"package":"mako","version":"1.3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2617","PYSEC-2026-4243","PYSEC-2026-88"],"severity":"high","fixedVersion":"1.3.12","relation":"direct","declaredRange":"1.3.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":"a381634732108517472e30a82b63ebceb9bc69e9ce4dd03c15eaeea0ae6ff6f4"},"properties":{"dependency":{"package":"mcp","version":"1.26.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3481","PYSEC-2026-3482","PYSEC-2026-3483"],"severity":"high","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.26.0","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":"cf29fa30034faf2e8487c3c7fa7d892f8848bcdcfe0198a4cf0f7a689a88c1d3"},"properties":{"dependency":{"package":"oauthlib","version":"3.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4113","PYSEC-2026-4114"],"severity":"high","fixedVersion":"4.0.1","relation":"direct","declaredRange":"3.3.1","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":"a12390b1c7805439367c21c774b49d0b2c808297357202e95c44888d713ce0bb"},"properties":{"dependency":{"package":"pyarrow","version":"22.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-113"],"severity":"high","fixedVersion":"23.0.1","relation":"direct","declaredRange":"22.0.0","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":"5e2c50d15226642011f9517631f12624eb7aa784be98551797072d86796eb35a"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.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]","PYSEC-2026-2263","PYSEC-2026-3455","PYSEC-2026-3456","PYSEC-2026-3457"],"severity":"high","fixedVersion":"0.6.5","relation":"direct","declaredRange":"0.6.2","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":"16cebaf2e47e394a3925d28fe1b06ac2b5257228ca02a7596809c43b8878ecbc"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.22","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]","PYSEC-2026-3036","PYSEC-2026-3037","PYSEC-2026-3038","PYSEC-2026-3039","PYSEC-2026-3040","PYSEC-2026-3041"],"severity":"high","fixedVersion":"0.0.30","relation":"direct","declaredRange":"0.0.22","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":"288e90cce1c7b6f14f419eb47ae4a6c389217e288d8238c4ccfa6aa85e361e0e"},"properties":{"dependency":{"package":"sqlparse","version":"0.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3696","PYSEC-2026-3697","PYSEC-2026-3698","PYSEC-2026-3699","PYSEC-2026-3923"],"severity":"high","fixedVersion":"0.6.0","relation":"direct","declaredRange":"0.5.5","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":"34cccc41dd87c9a9624e361c8affdda56e6300660a008caf3e4262c72f080c7d"},"properties":{"dependency":{"package":"starlette","version":"0.50.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-161","PYSEC-2026-2280","PYSEC-2026-2281","PYSEC-2026-248","PYSEC-2026-249","X41-2026-002"],"severity":"high","fixedVersion":"1.3.1","relation":"direct","declaredRange":"0.50.0","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":"3d199dea5c353ec292629752f5adb4e4a4c69da56ff9dbdfc9e30ad438f8d3b9"},"properties":{"dependency":{"package":"urllib3","version":"2.6.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-141","PYSEC-2026-142","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"severity":"high","fixedVersion":"2.8.0","relation":"direct","declaredRange":"2.6.3","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":"af63efb256a4176361411340d165f91de374c095eab619a29e2ade0deb1f3da7"},"properties":{"dependency":{"package":"virtualenv","version":"20.36.1","advisory":"[GHSA redacted]","aliases":["BIT-virtualenv-2026-102925","BIT-virtualenv-2026-102930","BIT-virtualenv-2026-102937","BIT-virtualenv-2026-102938","BIT-virtualenv-2026-113714","BIT-virtualenv-2026-113715","BIT-virtualenv-2026-113716","BIT-virtualenv-2026-113717","BIT-virtualenv-2026-113718","BIT-virtualenv-2026-113719","BIT-virtualenv-2026-113720","BIT-virtualenv-2026-113721","BIT-virtualenv-2026-113722","BIT-virtualenv-2026-113723","BIT-virtualenv-2026-113724","BIT-virtualenv-2026-113725","BIT-virtualenv-2026-113726","BIT-virtualenv-2026-113732","BIT-virtualenv-2026-113776","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2026-4011","PYSEC-2026-4012","PYSEC-2026-4013","PYSEC-2026-4014"],"severity":"high","fixedVersion":"21.14.9","relation":"direct","declaredRange":"20.36.1","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":"8011a819146c67c73f4d9052047e3dd6079a13273070b0ef1dd0267bbdd46835"},"properties":{"dependency":{"package":"@grpc/grpc-js","version":"1.11.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.11.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":"58e1ab9ed34bff2c720b1b49fe17be49d5382a09c6c40bf5bafef4630260bb74"},"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":"76f3c5bbcbda80af9b1a11a74b237bf1d221f948bddeec6ba03ea41806761067"},"properties":{"dependency":{"package":"@opentelemetry/propagator-jaeger","version":"1.26.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"2.9.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":"8622dc41ec2323d28f5f66e07a2bcd8422bd023d200c2b22bfb568c83c3d71ce"},"properties":{"dependency":{"package":"@vue/server-renderer","version":"3.4.27","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":"3b054d7533abf0f84572a1622e97f36783dc39a4eb2c2be43c9a727bed4f0113"},"properties":{"dependency":{"package":"axios","version":"1.12.2","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[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":"0733a0fe4e915cf73cbbf3e16876f33f7b68abb7ee71fc5410edb71d406fbe6a"},"properties":{"dependency":{"package":"body-parser","version":"2.2.1","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":"f730eadfeb72ffe2529e27f8a55f558059977ecc27ea8cdace5367f3a4c211b1"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","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":"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":"0bbf897a129a94b4195324f1f7fae5740261bdec575096102f69f89c8a5d477f"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.1.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a158746bd3a420dad591d48062aeb2aa3b8637673b4f2acfba2f2b132b40ffac"},"properties":{"dependency":{"package":"browserslist","version":"4.23.0","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":"c1e577e60b352440cde43d676024240745efcc343416b53b5bfe2864c3999556"},"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":"2f2aee03b41cdb095bf5c4bbee0493ec0dd1458715f2acf7dbf5cde5837ba2cf"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"7.0.5","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":"99c2719b957afa5d6d94e8c7b9a154e0e097d399bb3c9f9b75582f37b7b0fcb4"},"properties":{"dependency":{"package":"dd-trace","version":"5.65.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.100.0","relation":"direct","declaredRange":"^5.65.0","reachability":{"kind":"production","file":"langfuse/packages/shared/src/server/instrumentation/index.ts","line":6}}}},{"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":"40598c8446c4bd8b352516bf19049474812f4b0ff041428dcc8d35ee69ffa187"},"properties":{"dependency":{"package":"deepmerge-ts","version":"7.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"8.0.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":"007e9b130213ea3d5e24d564b4fcd7b82036ec073be2de9b4b4c0187feea041f"},"properties":{"dependency":{"package":"defu","version":"6.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"6.1.5","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":"5351b71227197538d0c8f936f45e11dc99fb29db4f275837a3f97b217fbd8301"},"properties":{"dependency":{"package":"dompurify","version":"3.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.4.17","relation":"direct","declaredRange":"^3.2.4","reachability":{"kind":"production","file":"langfuse/web/src/components/ui/MarkdownViewer.tsx","line":37}}}},{"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":"4f6572a79e058caceb26ce4f2c5a0b97b72e9cf3194a1acadcd60510238a6d0f"},"properties":{"dependency":{"package":"effect","version":"3.16.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"3.20.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":"2deb9adb06eb742ef5564d2b652bf853d9b722c5181273d75bae0432fe75e7ae"},"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":"2c6b3c58479b67d95ecc514cb7a62f4711cd82da9ea47aef4983513b3faeb3f4"},"properties":{"dependency":{"package":"fast-uri","version":"3.0.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":"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":"f3e34ef02a288d8e96bbca2d2c94c8306dfa9fd3f5f531bbd5b1b8161d063a2f"},"properties":{"dependency":{"package":"flatted","version":"3.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.4.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e49ea0fb810d8e2d8f4363b58bda5640948ebf50365b6f8e4e58d578dc1e605"},"properties":{"dependency":{"package":"form-data","version":"2.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"2.5.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":"004cc3af65d7f973b6415ff7e31ebd4823875657b2e94ea0c9dcb6c7eff355b2"},"properties":{"dependency":{"package":"form-data","version":"4.0.4","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":"ae464e6b65b3911c76eba71fde096bc8939e132dba1a0e6d541eff9d66f4726e"},"properties":{"dependency":{"package":"hono","version":"4.11.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[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":"fd89e26dea440f7456e3f6326e90eaa18c14672ea268f42ff3844b5dcbe672e6"},"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":"separate-copy","declaredRange":"^9.0.5","reachability":{"kind":"production","file":"langfuse/web/src/server/api/routers/utilities.ts","line":7}}}},{"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":"860f72dcbcb10dc379dbfd999d6b6635c94127e2fb2a2ccf9c34a2e68a665627"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.3.1","relation":"separate-copy","declaredRange":"^9.0.5","reachability":{"kind":"production","file":"langfuse/web/src/server/api/routers/utilities.ts","line":7}}}},{"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":"7bd4038ec077f5ae80d550d77a3022aac47017e04c7232fb3610afcd45854683"},"properties":{"dependency":{"package":"ip-address","version":"9.0.5","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":"direct","declaredRange":"^9.0.5","reachability":{"kind":"production","file":"langfuse/web/src/server/api/routers/utilities.ts","line":7}}}},{"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":"3515dba4c9ec254402ad6be5488b0f34ec5f0d80cf7905ac47fef6239c5cfa36"},"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":"c412848d4998b1d72f561fe69a9ee879dcaa238876ca29487d7c0fc4a9cda7ab"},"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":"48a968304f76f2e8befb29561b6d603c0f53da48cb837a603252cc80c16607b0"},"properties":{"dependency":{"package":"jsondiffpatch","version":"0.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.7.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":"f6f968d72a6053f681ee6cb97b9370118d1f14b5899c8bacae230c082ce4f062"},"properties":{"dependency":{"package":"kysely","version":"0.27.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.28.14","relation":"direct","declaredRange":"^0.27.4","reachability":{"kind":"production","file":"langfuse/packages/shared/src/db.ts","line":7}}}},{"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":"8ea8251bdaa48f62e4b27dfd0a6a8c2c5fba2ad24877849d01721bafee5b22a0"},"properties":{"dependency":{"package":"langsmith","version":"0.4.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2555","PYSEC-2026-2560","PYSEC-2026-2582","PYSEC-2026-2583"],"severity":"high","fixedVersion":"0.6.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":"79bd2f8ab30bb56cdc011857ad4273afb353b687db52aea0b498d38726c2873f"},"properties":{"dependency":{"package":"lodash-es","version":"4.17.22","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":"05eb254a33c98a94b9247891f6f4fef22ab26f7b79528ffc35fee990ba96ee66"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.18.0","relation":"direct","declaredRange":"^4.17.23","reachability":{"kind":"production","file":"langfuse/packages/shared/src/features/batchAction/applyFieldMapping.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64ae9015fec3807ea03088868b3ba2af6f0610d05a6b6cf035492596c3951716"},"properties":{"dependency":{"package":"lodash","version":"4.17.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.18.0","relation":"direct","declaredRange":"^4.17.23","reachability":{"kind":"production","file":"langfuse/packages/shared/src/features/batchAction/applyFieldMapping.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89fc5dc5fb04646823ff7419ecbe9e00a7633acc34ad6bcd4b89027181eda373"},"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":"7ad052093322f33ecb1d9f4854655377cb389bae3c2126aa1f0b789133207b17"},"properties":{"dependency":{"package":"minimatch","version":"5.1.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.1.8","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a4e4e1e14aebedc4ed87ec86ed76bbf5e20a71771aa367e9a00a9a865ac7596"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"9.0.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fa50f871689f51bac4e71bd9700e3db1dfc6834bfb7a3b38bae60f53794754c"},"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":"direct","declaredRange":"^3.3.8","reachability":{"kind":"production","file":"langfuse/web/src/ee/features/billing/components/BillingDiscountCodeButton.tsx","line":16}}}},{"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":"d8fcb75a8ff00484bd2169abf8b96929e238a27813c0af95247fae336a59663d"},"properties":{"dependency":{"package":"nodemailer","version":"7.0.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[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":"9.1.0","relation":"direct","declaredRange":"^7.0.11","reachability":{"kind":"production","file":"langfuse/packages/shared/src/server/services/email/batchExportSuccess/sendBatchExportSuccessEmail.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56ed7b8a98f9606542d0fad64f32d6c42f1742ec41c9a33a56f3ce79a62c3daf"},"properties":{"dependency":{"package":"path-to-regexp","version":"0.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.1.13","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":"20b05f82c5fc103f5a1a214878bb59abf767b543ac961d5237a650f4066b700a"},"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":"55ffb61073919270e726601be42f22c64c8ff4cddcee433c58dd78ae96c69be6"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA 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":"512993b2ad91ce9470e52bcf7df6b9a73ff7039d9472224a46769581697c4261"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA 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":"861d8787644e2fb6b450385b16fe3eef31fc501878c94fbdddefa8999af2834f"},"properties":{"dependency":{"package":"postcss","version":"8.4.31","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":"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":"1ab52fc1a6321bc1b6390afb5f10c7c0e2b09319ab7ad79bf337073845687357"},"properties":{"dependency":{"package":"postcss","version":"8.4.49","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":"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":"785e5d4e2b82552a194611f4b6089c936df44544ab2d6c04184408534d45a2cd"},"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":"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":"3821a7f2c2c7e05d78a38e1c8538c2245fcca7615a80b2c5b2033b3a7a3fe89b"},"properties":{"dependency":{"package":"rollup","version":"4.53.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.59.0","relation":"direct","declaredRange":"^4.22.4","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":"c833bb5618bdeaa9bd3d881a6376be29f78c314f41496bd644c49b7834ae0f8e"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.0.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":"d790d7a430d02b1ff7facbe5ee8afdc823619e45c39ac082242c0dc6db249701"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.35.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":"f7c75338ce7cd6ef8b1d37cfb7a4095af97175e2b69d1a4076cebce929105e18"},"properties":{"dependency":{"package":"solid-js","version":"1.8.18","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.9.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":"6a37fe39b6f840781b21859687968b5e13af854687f9835520448a442f2ffc6e"},"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":"274962c4a6aa8b599dce631c688c3fb53651c8d4e1f67ac626fd47d1fcbfe714"},"properties":{"dependency":{"package":"tmp","version":"0.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.2.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":"0e16bc646227ff37d5ca0810a06e99a1fd074e92f5090d048527019583eb0d4e"},"properties":{"dependency":{"package":"undici","version":"6.21.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.29.1","relation":"separate-copy","declaredRange":"^7.18.0","reachability":{"kind":"production","file":"langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts","line":43}}}},{"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":"35f57b31133921cf48cd8c3f8867b1c3b3238a5a1c218bec567586099daaed74"},"properties":{"dependency":{"package":"undici","version":"7.18.2","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[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":"7.30.1","relation":"direct","declaredRange":"^7.18.0","reachability":{"kind":"production","file":"langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts","line":43}}}},{"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":"1548338dcad502d5ec3fa4e33c48476394f5076078bc0370f74661441e5ab8d1"},"properties":{"dependency":{"package":"vite","version":"7.0.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]","[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":"7.3.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":"c81da8a70a4ebb0f16a0af00fc0afa6e34ecd32d33be764869c7f5cee37d809b"},"properties":{"dependency":{"package":"ws","version":"7.5.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"7.5.11","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":"3a5b1dca019778455590a9826af394ec80116a9fa32a46fbae99cc4b6bffcada"},"properties":{"dependency":{"package":"ws","version":"8.18.3","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":"c54b98e1f5ed8a6806ac2ed3469b0579dd5284f5407c92dca8b02a9c502a6f32"},"properties":{"dependency":{"package":"zod","version":"3.22.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"direct","declaredRange":"^3.25.62","reachability":{"kind":"production","file":"langfuse/packages/shared/src/domain/automations.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":"5a845128686aeca52a37defc4ae218f0c1bc4cecdad5eaedee29102f431f2e9a"},"properties":{"dependency":{"package":"zod","version":"3.25.62","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"direct","declaredRange":"^3.25.62","reachability":{"kind":"production","file":"langfuse/packages/shared/src/domain/automations.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":"51436b5bfcb63cf52daa618b2b513b1ed58fc1785066951be3eb716fb2427d5a"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"direct","declaredRange":"^3.25.62","reachability":{"kind":"production","file":"langfuse/packages/shared/src/domain/automations.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":"213bf168ceb2b3e73d299d28381c7a4aa3f5cb2ebe0c92ed84e9cd69369e4e7f"},"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":"direct","declaredRange":"1.26.0","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":"16e36276600c40362a27cab72c19fb00291118e4e19a90c60e4a201075ff7c92"},"properties":{"dependency":{"package":"fastapi-sso","version":"0.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1362"],"severity":"medium","fixedVersion":"0.19.0","relation":"direct","declaredRange":"0.16.0","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":"16d3b0a9a7191dae847c1eb989cae633bdb5f4187f1e76b2355dc5dca3205e66"},"properties":{"dependency":{"package":"filelock","version":"3.20.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.2.1","relation":"direct","declaredRange":"3.20.3","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":"a691cdea3d93c4f137b9519f6fdec3c5207a5bdcd5d4a63a8997c30f5191005a"},"properties":{"dependency":{"package":"flask","version":"3.1.2","advisory":"PYSEC-2026-2151","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"3.1.3","relation":"direct","declaredRange":"3.1.2","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":"c82e26074c9cae12df022ede44175d17e7015af5f56caa53d8b5dd0d1719e2eb"},"properties":{"dependency":{"package":"idna","version":"3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"severity":"medium","fixedVersion":"3.15","relation":"direct","declaredRange":"3.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":"e7f0db52f5ce39b796e90c1c286c18e984ff2030657be676fb2cefd8f878fee7"},"properties":{"dependency":{"package":"multidict","version":"6.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4244"],"severity":"medium","fixedVersion":"6.9.1","relation":"direct","declaredRange":"6.7.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":"9429af5291ca37787ab8bf733251c3c715a2a0269db4bc822aaad3e307f26034"},"properties":{"dependency":{"package":"opentelemetry-api","version":"1.39.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.45.2","relation":"direct","declaredRange":"1.39.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":"63d57e80a845647855383ad675e313ce3faab5e1eed77a36385f319eb0c207c3"},"properties":{"dependency":{"package":"pydantic-settings","version":"2.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.14.2","relation":"direct","declaredRange":"2.12.0","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":"18cad062bd0222ad9fceb329ac79714f8d7c6ab599dd75c6088bf17c4be87963"},"properties":{"dependency":{"package":"pygments","version":"2.19.2","advisory":"PYSEC-2026-2987","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"2.20.0","relation":"direct","declaredRange":"2.19.2","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":"378dc17a2c25ac7b1cecfc44d8924685055d2fc021bb3b9a0334e70aa0e6a6b0"},"properties":{"dependency":{"package":"python-dotenv","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"severity":"medium","fixedVersion":"1.2.2","relation":"direct","declaredRange":"1.2.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":"0105d1f504b908b3212087396471b4cd7f2a0020eb5f5e9378c25f8591e7d902"},"properties":{"dependency":{"package":"requests","version":"2.32.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2275"],"severity":"medium","fixedVersion":"2.33.0","relation":"direct","declaredRange":"2.32.5","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":"3421af7d2bdcbf39a838544bffb43d676cabacc893a239f3d48d0991ac55e21c"},"properties":{"dependency":{"package":"werkzeug","version":"3.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-2320","PYSEC-2026-4312"],"severity":"medium","fixedVersion":"3.1.6","relation":"direct","declaredRange":"3.1.5","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":"7cd38884d52ff80a86334696eea792e246d23b1c6f90376f37beb2c1def12e4f"},"properties":{"dependency":{"package":"fastapi-sso","version":"0.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1362"],"severity":"medium","fixedVersion":"0.19.0","relation":"direct","declaredRange":"0.16.0","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":"65a1dda1fcfe5508f9cac2026ab9f3156770c0e3d393c93db145932ebe48b8d7"},"properties":{"dependency":{"package":"filelock","version":"3.20.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.2.1","relation":"direct","declaredRange":"3.20.3","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":"62aedde87f2216e515dabff2a619fe28108c8d654d6c64cd43b7cdedf4f7c1ba"},"properties":{"dependency":{"package":"flask","version":"3.1.2","advisory":"PYSEC-2026-2151","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"3.1.3","relation":"direct","declaredRange":"3.1.2","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":"2fecfea6f4e045fa78bd6bcdbe4a9c85357052c47200f4f5bf2fce3997a663a2"},"properties":{"dependency":{"package":"h2","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3628"],"severity":"medium","fixedVersion":"4.4.1","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":"de3e4e6b4b49a8e6d2947b630ecab23ae6bc5bfd7d38bdfdc346cf8136397489"},"properties":{"dependency":{"package":"hpack","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4053"],"severity":"medium","fixedVersion":"4.2.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":"7e3483b6d5578ef998bafde0320ed70ec1f170760b23bd7cd1f344c1d3dfa7db"},"properties":{"dependency":{"package":"idna","version":"3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"severity":"medium","fixedVersion":"3.15","relation":"direct","declaredRange":"3.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":"880072aaf15489b778c8375ca97ee5a5498b94537bea4a30a7ec31bb9ea2892e"},"properties":{"dependency":{"package":"multidict","version":"6.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4244"],"severity":"medium","fixedVersion":"6.9.1","relation":"direct","declaredRange":"6.7.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":"c3d77d7575a5689ff99be8169791fad9d4e22c2b8125c982d5a768a69587730c"},"properties":{"dependency":{"package":"opentelemetry-api","version":"1.39.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.45.2","relation":"direct","declaredRange":"1.39.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":"2f419553e59f8ab60132edb24591d77ed187f72dd18b7fed490e5a319fa06369"},"properties":{"dependency":{"package":"pydantic-settings","version":"2.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.14.2","relation":"direct","declaredRange":"2.12.0","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":"f5b87b03a81654d124846bf3bfeda964f4c3a31f59c4dea794e9b2cf09b70861"},"properties":{"dependency":{"package":"pygments","version":"2.19.2","advisory":"PYSEC-2026-2987","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"2.20.0","relation":"direct","declaredRange":"2.19.2","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":"fc3c54feda2b75d1746a6534f2c665ff59c620b2b4fe82130227a4025ab3595c"},"properties":{"dependency":{"package":"pytest","version":"9.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1845"],"severity":"medium","fixedVersion":"9.0.3","relation":"direct","declaredRange":"9.0.2","reachability":{"kind":"test-or-tooling","file":"ArbiterOS-Kernel/tests/conftest.py","line":1}}}},{"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":"2e27e7349cedd76c69322ba6c76b0fe2838fd299dcd16829b23332e557fc6475"},"properties":{"dependency":{"package":"python-dotenv","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"severity":"medium","fixedVersion":"1.2.2","relation":"direct","declaredRange":"1.2.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":"5c244eedbf96720ede5b9c28732e05417efc30c377533bab55d3273f83129621"},"properties":{"dependency":{"package":"requests","version":"2.32.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2275"],"severity":"medium","fixedVersion":"2.33.0","relation":"direct","declaredRange":"2.32.5","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":"9de06fcef76e1c07c9825e3db3f59ec6de0d89eff2ddd2c14ac608ffe1b3bb2a"},"properties":{"dependency":{"package":"werkzeug","version":"3.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-2320","PYSEC-2026-4312"],"severity":"medium","fixedVersion":"3.1.6","relation":"direct","declaredRange":"3.1.5","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":"f054a1bc45ebef2e4de04e57680e14a91fc064456ec3220178c50aac0554941c"},"properties":{"dependency":{"package":"@babel/runtime","version":"7.24.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"7.26.10","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":"60243dbc4642c3092484c452d51db6355d99757fa4ab58191e42b22bead92dff"},"properties":{"dependency":{"package":"@babel/runtime","version":"7.24.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"7.26.10","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":"84db228372a3bd14638b1384d73976575257776f48f0e3c260bab683c924dfd7"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","severity":"medium","fixedVersion":"0.16.8","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":"e6c67be23899a27b5f147202c84dff0df192559af130f34c4683990007add48a"},"properties":{"dependency":{"package":"@opentelemetry/core","version":"1.26.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.8.0","relation":"direct","declaredRange":"^1.26.0","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":"81e82db23275ef82195fc14df5e99c460e7413d843e25164cd5c88520ba11864"},"properties":{"dependency":{"package":"@opentelemetry/core","version":"1.30.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.8.0","relation":"direct","declaredRange":"^1.26.0","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":"8e1dccdc9c5c75fc3ca8a7bf2c0b227e4f202a41b057175192aae5ee2c8f57a3"},"properties":{"dependency":{"package":"@opentelemetry/core","version":"2.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.8.0","relation":"separate-copy","declaredRange":"^1.26.0","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":"1da518590d8ecaa2929f1edfd789b680233c8a387e8881f77b66f0de1d9d4b75"},"properties":{"dependency":{"package":"@opentelemetry/instrumentation-http","version":"0.208.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.222.0","relation":"separate-copy","declaredRange":"^0.53.0","reachability":{"kind":"production","file":"langfuse/web/src/observability.config.ts","line":6}}}},{"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":"00d67bbef68966ee51094692d08c989a5ce6f38128f4ff03b4169ff124dd09a6"},"properties":{"dependency":{"package":"@opentelemetry/instrumentation-knex","version":"0.53.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.65.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":"4531e136566f0c0792a39293e358901155a016d859760fb58a931f2259d7393d"},"properties":{"dependency":{"package":"@opentelemetry/instrumentation-mongoose","version":"0.55.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.67.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":"390d1416e7b33e35be09a8a356ef0934d531b82d8e84f145a43f159f0e2f5df6"},"properties":{"dependency":{"package":"@opentelemetry/instrumentation-mysql2","version":"0.55.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.67.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":"683e8b566c716b457bf2ab26de5a99807c92842328a5507147d1a2bf0158ce05"},"properties":{"dependency":{"package":"@opentelemetry/instrumentation-mysql","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.67.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":"0d8dcd5298138cc79a71de9ab69ab3880f45c70bf16d75cb393769f927891e4c"},"properties":{"dependency":{"package":"@opentelemetry/instrumentation-pg","version":"0.61.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.73.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":"68ffc0f2007ad519d20dfdae79db3a9520ca19e975b110964c296f294dfba7a1"},"properties":{"dependency":{"package":"@opentelemetry/instrumentation-tedious","version":"0.27.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.40.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":"cb517c203e133883d1da637a492b7fce085be779109e8a1308e663b872e97484"},"properties":{"dependency":{"package":"@protobufjs/utf8","version":"1.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.1.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4d7474b307c8429ea61e6494b1728db697d7681cbc26142dfa977a889b84079"},"properties":{"dependency":{"package":"@vitest/mocker","version":"3.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.1.11","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":"61b1f3c2af1d8a506ffb8e69701fa6373d95db76263f52a1e42548837b9a1001"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.14.0","relation":"separate-copy","declaredRange":"^8.17.1","reachability":{"kind":"production","file":"langfuse/packages/shared/src/server/services/DatasetService/DatasetSchemaValidator.ts","line":1}}}},{"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":"1ce7692206b405fde935f7a10f4e6293f7abe9767ae8974915ede45da051a9c8"},"properties":{"dependency":{"package":"ajv","version":"8.17.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"8.18.0","relation":"direct","declaredRange":"^8.17.1","reachability":{"kind":"production","file":"langfuse/packages/shared/src/server/services/DatasetService/DatasetSchemaValidator.ts","line":1}}}},{"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":"20aae9c6dc32f3b17f533c526de98e45e849f5de7a08aaf5e57354c25868cc7d"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.9.6","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":"b61116a2900f8afbd312531e67e6404f3c3aba0e7474efd920a083930f8c111f"},"properties":{"dependency":{"package":"csv-parse","version":"5.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"7.0.2","relation":"direct","declaredRange":"^5.6.0","reachability":{"kind":"production","file":"langfuse/web/src/features/datasets/lib/csv/helpers.ts","line":1}}}},{"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":"ec238f672b4f85f3f41329d88bce59bb5c0f5f1ffc36eb4704e1ce3e3dd42e07"},"properties":{"dependency":{"package":"fflate","version":"0.4.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.4.9","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":"6d9901199752ccd8025291097d27d87b51cf134937c3fa89baa6fdb019fe0523"},"properties":{"dependency":{"package":"fflate","version":"0.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.8.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":"6f1136122fc1a96c227bc63debf534673c2485689b65937247f6666158584f6d"},"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":"90a36f0e3c171dbd2ada06831381ce3bf2c54ab99d6d708ff61a397533f68ab1"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"direct","declaredRange":"^10.5.0","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":"7187dd7a97d4c105286520231b24a58979ed1ab77eda7655456ed3fed19fcc2f"},"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":"7399da5684cef465479e84dd3e414e97931dd5be782eb2d38b6f2a2010759042"},"properties":{"dependency":{"package":"qs","version":"6.14.1","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":"direct","declaredRange":"6.14.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":"66319cfe2f1430df5c8e36a2f207461f21cc5f17c288696a43b63eb2a4b9262d"},"properties":{"dependency":{"package":"svelte","version":"4.2.19","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":"medium","fixedVersion":"5.51.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":"2eeab6d649990f1c86737a63fb6d3cbf6a763f9289b2dcae6ee94aa6793d5b81"},"properties":{"dependency":{"package":"turbo","version":"2.8.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"2.9.14","relation":"direct","declaredRange":"^2.8.10","reachability":{"kind":"test-or-tooling","file":"langfuse/package.json"}}}},{"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":"e473d1198d7d6be6f85483e43cc08203bf09667e730453a6745cd2a7c0d385af"},"properties":{"dependency":{"package":"uuid","version":"10.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"separate-copy","declaredRange":"^9.0.1","reachability":{"kind":"production","file":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts","line":23}}}},{"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":"97276193c6a43003397f9cef2723f038a0019b16bb9d6e4d1f1e32c2240dcedd"},"properties":{"dependency":{"package":"uuid","version":"11.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"separate-copy","declaredRange":"^9.0.1","reachability":{"kind":"production","file":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts","line":23}}}},{"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":"b6867b2473046ec28e41b5bc92c25e4e37be4a13d1d3ee9281bfb8d1c62be4a8"},"properties":{"dependency":{"package":"uuid","version":"13.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"13.0.1","relation":"separate-copy","declaredRange":"^9.0.1","reachability":{"kind":"production","file":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts","line":23}}}},{"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":"eb3d22a0bfc74127a78950af85f7ba35e3ff4c7e3142a24daea99273ba3d667f"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"separate-copy","declaredRange":"^9.0.1","reachability":{"kind":"production","file":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts","line":23}}}},{"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":"ab7b6eba8e680a5d439153470ddd3210a5a4d7bafa5849ff416d07b066aeb60d"},"properties":{"dependency":{"package":"uuid","version":"9.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"direct","declaredRange":"^9.0.1","reachability":{"kind":"production","file":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts","line":23}}}},{"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":"691fad63eae3e3548034581ec098f7824fcb04c96c2c85a2e6b33c71bb4df6c1"},"properties":{"dependency":{"package":"uuid","version":"9.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"direct","declaredRange":"^9.0.1","reachability":{"kind":"production","file":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts","line":23}}}},{"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":"a4d8bedc0a1fa2a6bcd0400d8af1d7eaec7b03d90795903e170cb1373b928325"},"properties":{"dependency":{"package":"yaml","version":"1.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.10.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":"a6f7f249233fd9f883581af00cbcaab2c69092d924038bf037d989aadef4491f"},"properties":{"dependency":{"package":"yaml","version":"2.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.8.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d56593b28bb300b5fbb40fc2e4458f022a2a4cd0018a3230a5a5b96c2012e944"},"properties":{"dependency":{"package":"@ai-sdk/provider-utils","version":"1.0.20","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"3.0.28","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":"33ce781959f4d3a3ed65443563c1b32ee3b55a4a4ead9a474bedc856fe602f2a"},"properties":{"dependency":{"package":"@babel/core","version":"7.28.5","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":"d9914d68a1a0d47627b5a15c8c4ec02c86cbef7af09cb1c18fb81ae60550aeb7"},"properties":{"dependency":{"package":"@smithy/config-resolver","version":"3.0.9","advisory":"[GHSA redacted]","severity":"low","fixedVersion":"4.4.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":"a0cd59675e867f72c3a7fce709523b4e7781d7cebce99c18ab50a7c837e450cf"},"properties":{"dependency":{"package":"@tootallnate/once","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"2.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d74bec9d261a47e8187ea3ceb0bcbcc7349e047abecb7947c7cf3b8a584ff6a"},"properties":{"dependency":{"package":"ai","version":"3.4.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"5.0.52","relation":"direct","declaredRange":"^3.4.9","reachability":{"kind":"production","file":"langfuse/web/src/features/playground/server/chatCompletionHandler.ts","line":1}}}},{"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":"e58c52e5ef20144d89a069eb74b097d00c22ad7e17385abbedd3385e30f4b2cb"},"properties":{"dependency":{"package":"diff","version":"3.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"3.5.1","relation":"separate-copy","declaredRange":"^8.0.3","reachability":{"kind":"production","file":"langfuse/web/src/components/DiffViewer.tsx","line":4}}}},{"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":"ff1a2abe6529373c5ce7cebef5e42f246b951c09838772aa4a7fdeac97324c5b"},"properties":{"dependency":{"package":"diff","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"4.0.4","relation":"separate-copy","declaredRange":"^8.0.3","reachability":{"kind":"production","file":"langfuse/web/src/components/DiffViewer.tsx","line":4}}}},{"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":"29e5b60c69c9e79c718fccde06db626fb8bd9bdcd0d6db18c30c359fced4f4ed"},"properties":{"dependency":{"package":"katex","version":"0.16.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"0.18.2","relation":"direct","declaredRange":"^0.16.21","reachability":{"kind":"unknown"}}}},{"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":"195e0e312e93bac4297c726d22c127eba84d718949fd3d3fea88f206aa3f4ac5"},"properties":{"dependency":{"package":"webpack","version":"5.97.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"low","fixedVersion":"5.104.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6286bf7630bb69e649aec75b59a710568dd5665cd1c638b11b72fb026b48fb84"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff58235f5459d852f8c815a164a435b2d5dacf01311f5743350602d4d8b7d518"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b62d652c93220f744ea7d06c0c2fa14247574dc531f016bc5063da2256106c73"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd51fb0744e4246ef4d2d944af6726c50b9972f73a3f4cd8d8a86b85976967d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07b41198dc6c3fbd20a3ff66acc7303f0f4f7d3037cc7670697e4fdfe66109d8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86022d19fed44689745f27ec0db1bedc465618aa46aa4e878a321ce7e7194075"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","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":"3c3545698533180062776d87630a635aa1f4d43cca372a93650d6c10cc664af4"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","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":"12d69811323157dbd0ee2f9bd7db80d0e8e5be1f9f1fc7d9a22d12d6bfe81b93"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","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":"c77da2c0d5232d5cec0de3a4e2039753c2ae248b447c870ab29331aa870d0c3a"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","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":"e66fe34e49995f29d5e7c8e8af7d6bf80344372bc9a935386824965d0c45c327"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","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":"50f695dfbe9fec6be24aca5f86185de40ddc96958106b9b62a4ef40498956c41"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","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":"c9d7d3a97c53eb3a1204c08959d45975b950527b076d2d84a510dc17530788ea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e83735a2589ba6dfbc08c49a03b166c556d38d21dd2c7acdee0cec87424b450f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a768d73ad6b72e700ff90dd87d259f4a797699a8ac7e5dab6a35a6ea7c0670f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"265f52009ed7b94ff32d865c9b25ad95d0ad16a103ad6c3183a8e3635c1a6274"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a07e0aaac78fa58aae23bed08dfd0b1e20d58068f45db4be94a06d5405d1e86"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30cbd80b85e7d24e2bda8e1b9d426389fdccd6081f61ca5b3bcbe72da4b8404b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83658e7d83c99535eff5fa994eca3c480fa16c01a72a8caaed4ffb6c0e6f91c4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34f3b26cd761f9e8e721d8a7c4e13ca9f19ecb0aa55a6a1c7775108df2dec53a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c42f4e490ba5066a6f1bf924f7efe1ecb7b1d7210a4d3ba5fb088304a32ef7cb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00c0c96b2775770be32cf0991aa33b1d589491bf7d02aa0939279f6ad3954b63"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6791c48664ed8e53216c2b081937c5dcd676425e7debfe552eb6701504362461"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c2efac542f9c1f2224798a4b19f2f3dda99c0953a0d57f582279d8cab82c926"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de8549f190367792a589793bde927dc24d7259d64e8dbfdaa2a8eb0adcbd6ea7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad2fe91fbbb5bec8c389a2703f640a789559937e2e40f4bf20e858e0e988062f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"191adb64d30f8b41e884ead3e9ff9eae87a4c3258f571b79c9906472b42da659"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5aec1c4379e6a88966f0cea5bd3b66cad3393c3bbaef751fe6a45c6068d0394"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac38d6ead412da6fa646cc1267a5251d0a88171cf070347d2486424155cba4a5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"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":"fe81ebc1db9dcdddee1d1ef0ef27cca4c72d4c9fb2fb6ba86a7aeebe7340c2f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d851d8d9c99f907dbe3dba6586193bcca9728bc6c6d7b018e1a7a37a7aca310a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8496ec72fe0236018b9b860eab5662b160d9fdf8ec316383d0ef7866d5bef60d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a3855faf1bfc8e3d671b0771d29bf0646cfe72aad3603d5d85cbfdc04e970f7"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35648e67799a5dc39b32569e5aaaefca4d17add4db0165615d7429ffac39c13b"}},{"ruleId":"D32","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":"c5edaf7692668f8be753834f3e0375b35a81167ac7b750dd6fa2d5d2ffe16902"}},{"ruleId":"D32","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":"58a99a2205dad0a61aaf62e66238ca30a73858c09ab5b0f6c30977e62fb3b6d1"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"529e5412142648c9300f18a9123662736b5c63bb22b124276cb6f01624de5d5e"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/LangfuseMediaView.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"894cde4a20c5d0157f9562ceb3ab92bc32315a2617104386c9c854204d89f4c8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12cb6d39f24964b9bb757914bd8ef14fe3522547da920b78395c4790e36e16c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f87f6591e01773cca15ee8e4ea7aaa5a37dc65114e9afa601863a5775d8cb10"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eec5496cb2a31702531acc9e44075d2a15ee7dfb289a47131147c8dd556f81"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSlider\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":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05e9fd0e1b84b42950bfb6565c6c61b95d13d36686f93395c3a4978c91041a6"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/PagedSettingsContainer.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd424507e0f4b73cffbb7aa6ae4a96c72e11b5107847d9d9faaf0857eb5c2f54"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTimePicker\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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"304d07d192f3c6c0b78daab5cde4542474a34228f61422a97be21e1f0cb2b652"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTimePicker\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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bfcc986d62c1147473e0dc7dbcc59b02b0f6e5ed063cedde4dc0ff87ba16b0"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTimePicker\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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b79d72215ac0a7b7272a731039baea9a3cf801b82184a3cbddf09735c0681fa"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTimePicker\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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4fdf8de1136ad57701e3577082c7912ffc4e7bbe37ba7397a2259e6aae0a50"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTimePicker\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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"2040f345637a415f61f7319686e6c5f6b337fb576a6211d9443c8ef63b1d7bac"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/date-range-dropdowns.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ddade6adf8aa74beca8f5d9930edb1f16b30f0a5905c86cf3e9bdc9224540a"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0ab052edec3fc5087e047f38b63eda587fa4956c2fc52cdc6c05246fe265e1"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2d4fccfbadb2efba98ce4fdae888636a0e6a1e2de365c3a515db5f135de876"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/projectNavigation.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c870c7951200311e35333e55299f75dbf3860380c348e698fa82b0338f584da8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d6145c3e46a5d1c6bee89ed990160186873e8a5c65e0a0ab49d701a341150f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec927abb72e8885ba038f6993ed5f0c6c628c505d2fd46eb9ea5b271dccfc24c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSlider\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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ba5426427011a26fb4f4c39f97d020071fe72061deda94bf2e68e93a2f32f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-pagination.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3413f8cd35bf47f6aac11bc085ef4d069aeadb5c51f02d08c563e4da7904f09e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/key-value-filter-builder.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b0e0b15469ae975ed31cfef6a33e06b9556c5b65bbb47dc3fc71af5243d102"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/key-value-filter-builder.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda994f901900b4e75205a57b8ed6d15bb211332134aef8c8f2b4cd7f7ed2421"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/key-value-filter-builder.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2b680b4c113eb8656bb53919a574d8d6c95945e7d780797dea319666166052"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/CorrectedOutputField.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"93971e69c9fa87fd3a5ef1b83ed5db5f2582a7421749321a446c481bf1ae222b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineRow.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea9f6504e9338c884bf217990ffc16c61b06604adb9f695437bcd6ab28f65ea"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/time-period-select.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fa6bba4c14556956de599944ee252b9916ff1ea66bafdc02b6cdd727fbba15"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f5569e3b72714a9a263dc6d9735ccc889d1f7b0f3c10fcafc4610421fe4edf"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingModeSelector.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3055ea36eff9d3254e6c61772a9e9772cd9a43f49ce72a0eeee8210e4258c42f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/SourceFieldSelector.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff05946b8b2126618a9f2835b9bdbbbafc6fa6ed9dce2a4fa7969c0b9278fee3"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemField.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae12b03ad5bb8ad6def1fdf2b42047372f31c27f13f5ba23c8ca4bb8fa0a3c9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/MappingCard.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5d1c17d853c5ef38ca17cdd15d74c2bcc673f0c58ada30c4c81984117f2e68"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5f12cdd7d921aa8515ca7ba1d8c92f9aaef8cbca69c0d915218025c1eba90c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-template-detail.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccff5ee93cf11f4ffe68e71034097a89463588d9672e72f512e602ced482cf72"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b695fccd2e839fab27cff78a4e313af1365d4bf2539f9b56b34c7413076b7af"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcb853383b206ba708014bdf9ad9f2559dfacb02dd0ac0d211fc7328dcd4587"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"58aaddf1d4401074ad7c5dfc29d7d99cafaf780ead539fd0eeb7a2ea2acdb6ea"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"4592513f4b4fb96aceded9699fc0ed29c2a1ee2a607d494f964bdd759491d09c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf07d9e13e85974e629b53f8b9b00e580fee6b56c99f70a2bf84483f3f57ba8a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CDatePicker\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":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4f7c5f3d18c42460532d034393cdb1c36dfc26c4ded6f2c7a8ae2475cb60ed"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad7439b57335744e0f0af7c78fbc5effa7dc46fc29a5595f74a717541482411"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/PriceUnitSelector.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e50710de81578f66dfdb04fc9638f5fd94110111a8781048b63547993a1857"}},{"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":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"d247886e28e711499ddbbb6eff061459a2fa59b682e52edbc640d1a33cc00481"}},{"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":"langfuse/web/src/features/prompts/components/delete-folder.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57f2e0ad960031c8576c012e4d93a9515a34f4eef92a0ff98ee38b74e5a61a5"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-history.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b367610cad4beca86a9506f6529d7d6a02840c836f0ec0ab749a79a7f0083c3a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53761c335f42f4088c08c7a3f601279996873eaab492b93c5f9384f228706f3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c266f726023f575306db73b84cc20fa6733f9c9df664d6fad0857c33cffd9e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6377e701eac8051d246e42ac476acf4a12f1a7fe0cf474eb3e68bd775d20bd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac49c537620af67f65b72ef3d9849f9588912d02340ebfb88f30b6416c9a503c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CCombobox\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreCombobox.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d63ecab6e57c4e71e7b547293c7ed126be9d264f0368236503eb36549cf7af3"}},{"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":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f9b56279fc4b5eda9ab940746f74d10225a6eeef44624d3fda7929fa7785b5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"42540c6c45f18ce983d7aef3d29c0e25835e628f50d7a2fd766bdb6deb9de2e5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a90af705c9fa75fe2fe168df83a56dd7139fafe69bd11cf056877a4f1f5c6f5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa57e089b4dedf8897d9f49278a9a198860f6956391833dd621efb7e6782c09"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad71a7ffe8b26cb06386e7de9acea1af8d8b499ead4d752d9a54e3918ccffa66"}},{"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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8109c20c1f0236282b6766ab6e5ce16e98424456b8d257e37c1ce1c7416f37e"}},{"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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c4c3b4d79fe036bb36774c806aee7693373123fd96ed61142e4c760b1dbc4b"}},{"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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"492a5f4bc66c1ecc489875b13d28cda0249bb56a123747173b6e146e01b9a743"}},{"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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"666e4ab780712f76b04cbdddb7b33b5ea96872d4bea591995b4290fc436c20a4"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/models/[modelId].tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"876612114b75e0d2e805bcc1d4b5c88f00ae4a901772091e7ceb3afda7b4b1f1"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/models/[modelId].tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7bc42a1d8262679351f1c568fecdc6bf2c6edf2308bf27b6f71c28b6d7697a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/app/layout.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"93451e9f3a385b0de9dbe111797cea01f3ee94993ac00a365ec0d594414d50d7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"20321dca67538dce546471b89afcd7f147d7f5c0d4820c65ea2dfdcb632a1352"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/EnvLabel.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f7b7992072f15f43afe1fdc7895945e63f331c8450f24194627acc4b6daf2d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"3122cb0c351e4ce1c560d497de92877e5e11d431dca2c482c17757d9d6ac5a4c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7030be97d97f0cf285056a4ef16821bb46abc9194d6f06079cc449cb9a07d52"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3783b1edbf75e77fe5938c66bb263151ec20e9ca2dac3438aae6e7d3c74f990"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5ca1325bf23157beea7afc432f81210afd7e56775b548e22619da7b79e9f54"}},{"ruleId":"AC4","level":"error","message":{"text":"Focusable \u003Cdiv\u003E isn\u0027t keyboard-operable: This \u003Cdiv\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":"langfuse/web/src/components/onboarding/DatasetItemsOnboarding.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f19d92bc99b6a31c85fa53aa008e48c9187ad8729d726c7a2b85e1feabdc6a3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/ValueCell.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5a807504220f5a3bc8faf7cb479c71abce9ad955b3d536aa7969d42cecfc11"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24dc2300e1dcefff5afce6b96a3be7da08e09291809c249a48496d0c69764e4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ToolCallDefinitionCard.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3a4e5816a1e000148c74b4990805e31135843f4e5e0dbefb976e3a216261fa"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8197a7d46f49cb488780bd08790011b64e488bdedd2435167b8f776a94cba2f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineBar.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8887eba3307ac2257241693d681d9f4bfc9d3aba7dfc3d4b5d8dd922c93d0bf9"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineBar.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a628bba00cd4cfcf82015da095ea32476055e42bd736dd04b6d8fbf940e78716"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/VirtualizedTreeNodeWrapper.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caec89c7f96f7ccfb4ebf6d3a737557cb60ee98eec93cd6743ed319e5e2a1c4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/MultiSectionJsonViewerHeader.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c47caed2743845fcf8243ba7ece262e83918305443056d04f808f86b43adb9"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/SimpleSectionHeader.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"98321f4313ec92abb0a24c2999e0b292e8b7cf906b077ccbdf441c794aa84f8d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c13991320b79a9393a0f3c4e5c8acb5d1f27c12346adb73c81b7fe4f9f666f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/timeline.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a0ef38fb999402e6ee4e742771a193703ef5cda25884e3197e8e648a771ea7"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/AutomationSidebar.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"118af691f2dd7779ef112826ef15fd211d7977cacac1e79ab9b9b86a61729e92"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-template-detail.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e244dad6443eed627f0c25f7443a6c6f93c2b39e5d3d7811d6e47c1478b7cd1c"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-history.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5be13239f9937a6c5c4042e8cb25186b7ced857b2b0c4d9ea8ef2f2906f90e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"426ae5c80f852a25d8605975e50d17243a7dd7c3c258cbc0cbadf53fb1cfebb0"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/HeatmapCell.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4c6b86397c212795f90b79be887b13fed08f490f16ac83e04bc9b2494aac78"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"193745dc0129dae96667a0924e5c64ee2bf5dbd9b4c5af81bdb035454b91f9ea"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"71579dbd83cfe28c7ee4145ea1f7d47821400998000a5e0e3e7db2cbb832cd45"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/multi-select-key-values.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"927cd518daec1d8f6fad49064d0d2c983dcdcc4c742776339fd351039c6e1a57"}},{"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":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae06b85fac4c8c3a84564b5ce05ca60665213d5a218e965fe750b225b4ef18d2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1982a6b53b7d270f09d9e4c9660dc9df06d195d443b80325ad4126268e9f418"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cspan\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/peek.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7314f662009edd9928650740e744f00b3ea10fa0f7ae4d0f2a2321c29db0c0d6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_layout/TracePanelNavigationButton.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"de85db7c5d4e2f2dbcd84929cce5bf9f3520efa6f6415d77b37e58d10abcf00e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cbutton\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/ExpandButton.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb3489ac24ad6d30826d0f52ab16b8cfd014d0112f888388b14f394d60931c3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/SearchBar.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1db91fbc7ce07e46f55477b4164dcf59f6efcb94483a1d3759f9a64c052b8c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/cloud-status-notification/components/CloudStatusMenu.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb18c7e520ca11fc748a79cf5620619a17a964f85efcd1f5a2bb7e30fcd0e34"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TabsComponent.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a28603557340d2048cfb89302c848f912ac84d8413036150c9cd95b713b9e0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-selector.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e4ccf08a83203e006b9a837b8c535adce0110af3912068c9b1f7e70ea1a2b3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa42b862671554c22363ef6bfa65fa6aaedbe80b127608950008d2b7a959830"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectionCard.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a12fe00718890f599610996273d46e174f1d2258402a68439228ed54b00982b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackTestMessageButton.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac143c52aaef1a1d1d1041a8c36d2c3d59eb1188a873d4d56aed7a03c779270"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/users/[userId].tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22b616fa6fbb9c8ed715651d38335ccade53d61c2b3a681df6008a463d1980c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 folders: \u0060DatasetNameSchema\u0060 (slice \u0027datasets\u0027) depends on \u0060withFolderPathValidation\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/datasets/validation.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9433a576963eb3883284e8fcd2cad4ca82f93708618d500b04734584649d4fc4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 folders: \u0060PromptNameSchema\u0060 (slice \u0027prompts\u0027) depends on \u0060withFolderPathValidation\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/prompts/validation.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9199f2d5a35ba62526159db73beb3ea942874897c185caac475bc8bf878e577c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060AnnotationQueueItemPage\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemPage.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a562a38f61e41b24f4548a8c1295c98077e7e37c9e6cad81af32b16eb41059"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060QueueItemTableMultiSelectAction\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e94d3f9936c68181c1a443a9f3c00a38a1b5a6e7ffba688d38f055c2a6cf525"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 column-visibility: \u0060AnnotationQueueItemsTable\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6edc05d240aa6b94d6dea0f4b1fc0fdc4c2570ae1ba83df4a59c23c79ffa8a9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 column-visibility: \u0060AnnotationQueueItemsTable\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84f777dda552d8685fd80b68fa9536a947d7e87407870d0515b98803ac8f4fe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060AnnotationQueuesItem\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesItem.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4063adaea90e68d2a6cdc4fe50e72fe08c6d6dd47df25a1b6853113b5edf710d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060AnnotationQueuesTable\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"295931b50faf52197c528c8c342be6c43d2129bab2cd5788b30b64fde3b1b8c2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 scores: \u0060AnnotationQueuesTable\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060getScoreDataTypeIcon\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4488f376303eeca60802a81f34aa088de7f7e18e361f95cee5149a984e5a8be4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 column-visibility: \u0060AnnotationQueuesTable\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50769430c84e79ff5fccf6a1c47ee7fee090819c6c16f2ca28274e306e3158f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 column-visibility: \u0060AnnotationQueuesTable\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b1ad7b4ac130af93d85aa8e2e82c5279a1bbaf18ee2e6c7bbe33ceaae9e3ec"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060CreateNewAnnotationQueueItem\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede3ab2007499ec7db34f06213e073776e613f82ac5dd39c367a01f563e7d898"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060CreateOrEditAnnotationQueueButton\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c073c9fd66f59f438d64fa34b4ce0f60e0d20ed6fbb5209fabe39bbe02e27228"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 entitlements: \u0060CreateOrEditAnnotationQueueButton\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useEntitlementLimit\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"95795725e7ad6216932df7fab2dfdbf1dc0c127b7253588d330dfcc7a991d188"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 posthog-analytics: \u0060CreateOrEditAnnotationQueueButton\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd107cefac48a3fd9b32109e13b74ef196947ced4eb2087eabe2784799258191"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 notifications: \u0060CreateOrEditAnnotationQueueButton\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08a60f0fe547db97d147d8d55c6f5003edf591770e73022a248c12d9a8d5787"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 scores: \u0060CreateOrEditAnnotationQueueButton\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060MultiSelectKeyValues\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bd65207409f77e8df0ecc879fa9b20000b0838b724eea73c222be76a12e7dc"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 scores: \u0060CreateOrEditAnnotationQueueButton\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060getScoreDataTypeIcon\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5234cc42f064247cb728ed0eba0117042949be3dc98dcdf9888bb1d3a10984"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060DeleteAnnotationQueueButton\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/DeleteAnnotationQueueButton.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"096b0995ed0beded79679808b160256bc5ac1749076d0ad9fce786c54bed8150"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060UserAssignmentSection\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/UserAssignmentSection.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1d0bf771e187e575cabd6497b7b89b18e58a53d8e9ea3a85f3a3043d1f7e81"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 notifications: \u0060UserAssignmentSection\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/UserAssignmentSection.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b76234478e9895fb82a04a3b0221da98eb0c09d1e893b5ddfdca52411502eb5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 auth: \u0060TraceAnnotationProcessor\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useIsAuthenticatedAndProjectMember\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/processors/TraceAnnotationProcessor.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dfaf4681b1c76ce098a6abe530ebfc94b3238ca754251ab0d3c1467f579440"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 scores: \u0060AnnotationDrawerSectionProps\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060ScoreTarget\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/shared/AnnotationDrawerSection.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b002ed7bbee80d0a6d8a21869bb69ac51bddd90f3a4cc41b579df5f078b02576"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 scores: \u0060AnnotationDrawerSection\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060AnnotationForm\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/shared/AnnotationDrawerSection.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f676f00fe00420f76333126025fa277d3c70f223ac5924e77293d17110260a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 comments: \u0060CommentsSection\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060CommentList\u0060 from slice \u0027comments\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/shared/CommentsSection.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0ca8f4ef189f9c74efd394894e801c7be5fb929ff104c409b5577b942e3953"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060useSelectedUsers\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/hooks/useSelectedUsers.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda7168ab98e7e51254bd6d3d4aa72b3d342aed7054e57db8c9edf7e85cee280"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060QueueItems\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/pages/AnnotationQueueItems.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9d64860821b6ad4365d0d243ea98474c03fb360c4a22b8ae4e9939a7f0993c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 scores: \u0060QueueItems\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060getScoreDataTypeIcon\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/pages/AnnotationQueueItems.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa85101bca1adcb10b654e7625b142a2ed4e00d69ad763582056e38a946e79f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060AnnotationQueues\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/pages/AnnotationQueues.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ebfd1ca4ee0270ff0a4a6dc7362051ef7e601c991d2f33afcb06d4b52a6576"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060queueAssignmentRouter\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueueAssignmentsRouter.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c0721c0f1742e5bb2bbbc17f1fd27feb29b37a814c6a1a9192b49c14e96212"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 audit-logs: \u0060queueAssignmentRouter\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueueAssignmentsRouter.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7160c6c0d186733d8a6fc9e7badc2e1d2e3e12cbade235d6b9f5e2ab688ecf13"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060queueItemRouter\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c977b554df97ccdd6bcfcf65440f73d0c9030bb29d85953d5e5336c75c58c756"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 table: \u0060queueItemRouter\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060createBatchActionJob\u0060 from slice \u0027table\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3144926febf2f645717a1de51407a597f804d4126cc76ade1e087cd8c43e44f1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 audit-logs: \u0060queueItemRouter\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0adc8b87b4437857f5b5c018aea3bc21741fb9a44e1ffd62fa65adeb9c67547"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 rbac: \u0060queueRouter\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2c9d6f1720d8a394e4b18c24a5dfa757bcb8b7a6c26e33808f9ad2d6408bfd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: annotation-queues \u2192 audit-logs: \u0060queueRouter\u0060 (slice \u0027annotation-queues\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"debc84fb43524bc4c00540450925907659f1f02266dc1fc1a8aee005c3c28ef4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth-credentials \u2192 posthog-analytics: \u0060RequestResetPasswordEmailButton\u0060 (slice \u0027auth-credentials\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/components/ResetPasswordButton.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc70e9b47278a52a052b5ec4050a20600741c83e6d6e5e914722f1b798845386"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth-credentials \u2192 auth: \u0060resetPasswordSchema\u0060 (slice \u0027auth-credentials\u0027) depends on \u0060passwordSchema\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cc7213e2fe97b66a4d8fa792f35a2b03ed7bde760e0acd6f7d4d0c18913a1d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth-credentials \u2192 posthog-analytics: \u0060ResetPasswordPage\u0060 (slice \u0027auth-credentials\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9b8b3a9d9daab968484da079c039dc9394ede5cd9257b5761a3a4efe1e0fb3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth-credentials \u2192 auth: \u0060createUserEmailPassword\u0060 (slice \u0027auth-credentials\u0027) depends on \u0060createProjectMembershipsOnSignup\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/lib/credentialsServerUtils.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82511ce2606253437b8554fa75baa8488342bc8e13c267086ad2d9fa68fdb24"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth-credentials \u2192 auth: \u0060credentialsRouter\u0060 (slice \u0027auth-credentials\u0027) depends on \u0060passwordSchema\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/server/credentialsRouter.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1267187bc7584a0e86a73259c93b3ad14a23ddb317bf3b615ba3ea3d74fac1f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth-credentials \u2192 auth: \u0060signupApiHandler\u0060 (slice \u0027auth-credentials\u0027) depends on \u0060signupSchema\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f15f8e675ee406bf33b79e120dd23fe6bce3474d54e164522bcd9e1d577c02"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth-credentials \u2192 auth: \u0060signupApiHandler\u0060 (slice \u0027auth-credentials\u0027) depends on \u0060ENTERPRISE_SSO_REQUIRED_MESSAGE\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df293e0ef6b79a20c8b3e93c359d6833395e48a1d8caf0feb9d4d99d0d6a25a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth \u2192 i18n: \u0060CloudPrivacyNotice\u0060 (slice \u0027auth\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth/components/AuthCloudPrivacyNotice.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"61088996af13659befab5cc7051fbde9ccc9c3ffe1bcac2d7a8618540cdcbc10"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth \u2192 posthog-analytics: \u0060CloudRegionSwitch\u0060 (slice \u0027auth\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36d95988ae6eb4dee26c7417782b1af3dbc2b8d12a3d5552ab7fe819042503a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth \u2192 organizations: \u0060CloudRegionSwitch\u0060 (slice \u0027auth\u0027) depends on \u0060useLangfuseCloudRegion\u0060 from slice \u0027organizations\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd6fe8112b278673f0442c1d95e2c5a566070c478a33702b6b456c9ad2695d7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth \u2192 i18n: \u0060CloudRegionSwitch\u0060 (slice \u0027auth\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e36644e8a8d77d4bc5270cdf916d47f5077b747b6db428b436ee5b6199b9f79"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: auth \u2192 posthog-analytics: \u0060createProjectMembershipsOnSignup\u0060 (slice \u0027auth\u0027) depends on \u0060ServerPosthog\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth/lib/createProjectMembershipsOnSignup.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c728978e5b12cd6b9299ec0ecfad9f6b51108a67f1af7ea4fd7868df75f375"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 rbac: \u0060AutomationButton\u0060 (slice \u0027automations\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/AutomationButton.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5854c8eb91ec3ec9cf3b032550f140c0f7cb356af5b1ba1c105a9e7cf04dee"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 rbac: \u0060DeleteAutomationButton\u0060 (slice \u0027automations\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/DeleteAutomationButton.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c7199de54b756d3ada6b73b56dc9fb1f7a5b947a519c33fba6373b33dbb4d7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 notifications: \u0060DeleteAutomationButton\u0060 (slice \u0027automations\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/DeleteAutomationButton.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe27bc2b93800c51d94844ddf8ebac912e64dab84597d32638f87b2376554f04"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 slack: \u0060SlackActionForm\u0060 (slice \u0027automations\u0027) depends on \u0060SlackChannel\u0060 from slice \u0027slack\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/SlackActionForm.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7432b46945d4bf9a4d3e37a89dc36484397f84111f0c0fda4d6af0cca20026"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 rbac: \u0060SlackActionForm\u0060 (slice \u0027automations\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/SlackActionForm.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4568aa82f669643dd2bc9da94ddb7cd161e2dc57260937cf654bcd442f01792d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 slack: \u0060SlackActionForm\u0060 (slice \u0027automations\u0027) depends on \u0060SlackConnectionCard\u0060 from slice \u0027slack\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/SlackActionForm.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d270712bc3ee15ff1071fa019969e2e3cd5fc0d107e93795dcb74909730a3bd9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 slack: \u0060SlackActionForm\u0060 (slice \u0027automations\u0027) depends on \u0060ChannelSelector\u0060 from slice \u0027slack\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/SlackActionForm.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9a3f35a01c080a99da85c7931fd4d2a32fa554c7d00231acbb00c10a84534a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 slack: \u0060SlackActionForm\u0060 (slice \u0027automations\u0027) depends on \u0060SlackTestMessageButton\u0060 from slice \u0027slack\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/SlackActionForm.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"999faee4bf190114f27ffc6e608de0dbc1b8da0f811183ab1c47f7e632b242fa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 notifications: \u0060RegenerateWebhookSecretButton\u0060 (slice \u0027automations\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a070aecce94d6c2ceeccd201c338a3c6ebf9fc4fd0dd239b041ea1f5b36ea0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 rbac: \u0060AutomationForm\u0060 (slice \u0027automations\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f0cc3ea89fa6791daf800a4ba41e2957ffd0e6d07ba0e5883d1402c9ab6176"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 notifications: \u0060AutomationForm\u0060 (slice \u0027automations\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"112bab899d1a24118771297d4f2a8dae6e9965ceadc877e62d42d5c90915b9ed"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 notifications: \u0060AutomationForm\u0060 (slice \u0027automations\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3288bee39d4e7a0d06566170c9fbc5f02d3c3e2bfecab8830c1d37cdd95708"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 filters: \u0060AutomationForm\u0060 (slice \u0027automations\u0027) depends on \u0060MultiSelect\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e85d31e8a4ad130b936c8afd8bc1e1d8fbe597641eb54c87e758d932963048"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 filters: \u0060AutomationForm\u0060 (slice \u0027automations\u0027) depends on \u0060InlineFilterBuilder\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bcae57349e06172da19e2705fb61bbbf9c472c9456906c3efe17c47dda3a74"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 rbac: \u0060automationsRouter\u0060 (slice \u0027automations\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/router.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e862e5e9e392d8bfe4c30de07043cefea68f2c63e4435ca6f2e209f20672ff99"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: automations \u2192 audit-logs: \u0060automationsRouter\u0060 (slice \u0027automations\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/router.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c536b5f99d6f978348a2a7bc719a14ded0b35f6019e8a692bc889b3a3d1b985b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 datasets: \u0060DatasetCreateStep\u0060 (slice \u0027batch-actions\u0027) depends on \u0060DatasetForm\u0060 from slice \u0027datasets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetCreateStep.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4539bdc1f18e0c7977803b8e296f290c56cf589be33b489b9210a226d0c14df"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 datasets: \u0060MappingStep\u0060 (slice \u0027batch-actions\u0027) depends on \u0060DatasetSchemaHoverCard\u0060 from slice \u0027datasets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/MappingStep.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45d4f174dc48978eb7a80db923bca75699a15af0814917f46b0d40974905a95"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 datasets: \u0060DatasetCreateStepProps\u0060 (slice \u0027batch-actions\u0027) depends on \u0060DatasetFormRef\u0060 from slice \u0027datasets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/types.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd16b98dcaaba0f58f6fddbdcd68362e522eed281a98540087a1d913b4aaef8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 datasets: \u0060useAddToDatasetWizard\u0060 (slice \u0027batch-actions\u0027) depends on \u0060DatasetFormRef\u0060 from slice \u0027datasets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/useAddToDatasetWizard.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2465eda56f92d7703d5c7eba1da39f7dd4970d34fc7287502460c1d37c159d16"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 notifications: \u0060useAddToDatasetWizard\u0060 (slice \u0027batch-actions\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/useAddToDatasetWizard.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2788d5bf0b8347ac03fae8aaf01f87f2a28d2662a3d84b7a00c3f1b5c46588"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 i18n: \u0060BatchActionsSettingsPage\u0060 (slice \u0027batch-actions\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/BatchActionsSettingsPage.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7f9d8d3e886d9a287c49349de11660caa8cf93c5952160fa2219c90f5804af"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 rbac: \u0060BatchActionsSettingsPage\u0060 (slice \u0027batch-actions\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/BatchActionsSettingsPage.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e787e7c4a2abab2e6497f653ecdd25983a14a5d6fc6263d6890cf12b1d1d5018"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 i18n: \u0060BatchActionsSettingsPage\u0060 (slice \u0027batch-actions\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/BatchActionsSettingsPage.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"969403b01ac5a9e90509d2b056997c3930415f48c6cf6800e0776713317baf52"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 evals: \u0060CreateEvaluatorDialog\u0060 (slice \u0027batch-actions\u0027) depends on \u0060EvaluatorSelector\u0060 from slice \u0027evals\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/CreateEvaluatorDialog.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44df1edfde8893e0b4c034040027f4590c7ba28099657b5d628f9fe80e542f4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 evals: \u0060CreateEvaluatorDialog\u0060 (slice \u0027batch-actions\u0027) depends on \u0060EvaluatorForm\u0060 from slice \u0027evals\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/CreateEvaluatorDialog.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"70521035257a8e872c72dd1ca843f76d32ca2d1b07ecb8384c5cfd159f7f1a10"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 notifications: \u0060CreateEvaluatorDialog\u0060 (slice \u0027batch-actions\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/CreateEvaluatorDialog.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"577bb23304e114ceb96be589a0f3bf54c49b9c41c93480c9cc51924157d64f68"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 notifications: \u0060RunEvaluationDialog\u0060 (slice \u0027batch-actions\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/index.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"363555f9ffd22a79d508daf4022df1faca2eb82b8785d9898d39fe6c3fae8732"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 notifications: \u0060RunEvaluationDialog\u0060 (slice \u0027batch-actions\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/index.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d3031fb606775fbb4d22668b73be6984a5bff56861d6652384a0e993fc4ca4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 rbac: \u0060addToDatasetRouter\u0060 (slice \u0027batch-actions\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/server/addToDatasetRouter.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d714fa3b680b46132a7d1b29b215f958de26d67e4040836106e50d0bf2d5850f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 audit-logs: \u0060addToDatasetRouter\u0060 (slice \u0027batch-actions\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/server/addToDatasetRouter.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7cc03d72cf9cd139186dc032b2bb67be60f3b587f9972e442d7645a345fef2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 rbac: \u0060batchActionRouter\u0060 (slice \u0027batch-actions\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/server/batchActionRouter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab0fba8cbb97615e256146f30c75dde1a39ef6a6a8cc854f70164a827a17fc2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 rbac: \u0060runEvaluationRouter\u0060 (slice \u0027batch-actions\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/server/runEvaluationRouter.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da6f8ad875ef40fdba79a9ee6ac8b6e92ce63150382895be318c18512587236"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-actions \u2192 audit-logs: \u0060runEvaluationRouter\u0060 (slice \u0027batch-actions\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/server/runEvaluationRouter.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c84f0341f0600236f7f5253ed6554ad7e8c9cd73d1ee60bb9b46cfd3e0155ed"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-exports \u2192 i18n: \u0060BatchExportsSettingsPage\u0060 (slice \u0027batch-exports\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-exports/components/BatchExportsSettingsPage.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf84632bcafa3901689e8cba5e28f961a15b62a6a0143d8bb2d50e679dc50c95"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-exports \u2192 rbac: \u0060BatchExportsSettingsPage\u0060 (slice \u0027batch-exports\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-exports/components/BatchExportsSettingsPage.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09611ff3c0983010f7896ea0589cbd2851d0fff28b561699486022a2d7a968c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-exports \u2192 i18n: \u0060BatchExportsSettingsPage\u0060 (slice \u0027batch-exports\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-exports/components/BatchExportsSettingsPage.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"738e4310391feeb7edb948dab6ac5bebbfed518069429139236e666a739f2580"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-exports \u2192 rbac: \u0060BatchExportsTable\u0060 (slice \u0027batch-exports\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-exports/components/BatchExportsTable.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9776f0f28506c7e6c643b8cd0769e5bcee6148363091a219c8f6ffa3f3a1dc69"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-exports \u2192 rbac: \u0060batchExportRouter\u0060 (slice \u0027batch-exports\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-exports/server/batchExport.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"da22cfaa48f74c457a44ad7cbe0c1426a0875d8738146b93f269d856ec9e74ae"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-exports \u2192 audit-logs: \u0060batchExportRouter\u0060 (slice \u0027batch-exports\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-exports/server/batchExport.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f0c0940ca860c6bea4cb14513c875f7ec52b0370c19391871fafd66cc02f83"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: blobstorage-integration \u2192 rbac: \u0060blobStorageIntegrationRouter\u0060 (slice \u0027blobstorage-integration\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74615a336f013e8e1f6b47c212091d6582bd2b60d3e9c6f98e18771a0c46c3c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: blobstorage-integration \u2192 audit-logs: \u0060blobStorageIntegrationRouter\u0060 (slice \u0027blobstorage-integration\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3452424d2ee24e40309c2c308ddc5d68f196cc87357d36f776f9f5ac26ebb491"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: cloud-status-notification \u2192 organizations: \u0060CloudStatusMenu\u0060 (slice \u0027cloud-status-notification\u0027) depends on \u0060useLangfuseCloudRegion\u0060 from slice \u0027organizations\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/cloud-status-notification/components/CloudStatusMenu.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1b981f8a4ae60d7dce9bc2c38c7c80b4d15db07b0fb731e361e164276159c0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: cloud-status-notification \u2192 i18n: \u0060CloudStatusMenu\u0060 (slice \u0027cloud-status-notification\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/cloud-status-notification/components/CloudStatusMenu.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"707a6b58760415a192f70a6c42908eb026e338df17c3b45108e0039b6e943d1c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: command-k-menu \u2192 posthog-analytics: \u0060MainNavigationGroup\u0060 (slice \u0027command-k-menu\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/command-k-menu/CommandMenu.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eb40173f3f8a24eea9c2cbd35ffb564ff6aafa8cd64ae4e2ac235308cae8f5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: command-k-menu \u2192 projects: \u0060DashboardsGroup\u0060 (slice \u0027command-k-menu\u0027) depends on \u0060useQueryProjectOrOrganization\u0060 from slice \u0027projects\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/command-k-menu/CommandMenu.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66b910db9346a8fdbdb59e074d30eb5c01ac4c0cbc5ddcd25e652eafb648ee5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: comments \u2192 i18n: \u0060CommentDrawerButton\u0060 (slice \u0027comments\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentDrawerButton.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"091b362b4d61c3e08853fa62a4207e71dfea1c0fc089cfff791a6e537668e152"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: comments \u2192 rbac: \u0060CommentDrawerButton\u0060 (slice \u0027comments\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentDrawerButton.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f90692129cf8a89a4be13d3531f7c19ad7ef125d83f7233699b69a98606056c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: comments \u2192 i18n: \u0060CommentDrawerButton\u0060 (slice \u0027comments\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentDrawerButton.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e372d580426222ba63da9b539a255d226ed8d67c11607a3b4a30396409e9d8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: comments \u2192 i18n: \u0060CommentList\u0060 (slice \u0027comments\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a98cef3a94800757909d86270e0b6e372ed81e24e7f53495c1410f89c28d55"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: comments \u2192 rbac: \u0060CommentList\u0060 (slice \u0027comments\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71b81c84f1b031a65444d00afed876dee01c82bc19c88a0158f627d137afc15"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: comments \u2192 i18n: \u0060CommentList\u0060 (slice \u0027comments\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b76159cbd1fb44c107c052b3822475de4209909bd6dd7e7a0557e7e4ff13de1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ChartScores\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ChartScores.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad6cf26ca4127ba22398e146884d7b8ee496a12fea0f3a9a4ceb098fa70ffc5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ChartScores\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ChartScores.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0361d27e86f1934375c8c3cdeac4a8208f2430c50ac280910d9ad7108522b7c9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ChartScores\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ChartScores.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d718f18f8a0fda34af643a1c9b464c1635d77a6d52bf3a69f1ec01b04ce74fe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060ChartScores\u0060 (slice \u0027dashboard\u0027) depends on \u0060getScoreDataTypeIcon\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ChartScores.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0570a75ce4f0b385b0090c6f4338aa5b2656aa77ef1f669605d6f141a76cd31e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060ChartScores\u0060 (slice \u0027dashboard\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ChartScores.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dd762791499b335f5d273154192e1cb1521268c297ada36d0d934b2f9cc6c8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 rbac: \u0060CloneDashboardButton\u0060 (slice \u0027dashboard\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0c44880746e9566f6a8e01143402adaf214ed66ce3cf5cbecb31af3e519e79"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 posthog-analytics: \u0060CloneDashboardButton\u0060 (slice \u0027dashboard\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b207443667b4ffd80ca2a634dc4d5fc51ef5064a18625f82eb6c41afe1827bb"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 notifications: \u0060CloneDashboardButton\u0060 (slice \u0027dashboard\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdb89157058847a8465f631ace880efe66f49d76259227aaeb3dd5adfb0862c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 notifications: \u0060CloneDashboardButton\u0060 (slice \u0027dashboard\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bc87d4d93b2e26d2dfa7b9149a47fa4d2e08153e108163614ea6cbe21dabeb"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 navigate-detail-pages: \u0060DashboardTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3e9febaaed12794245d582f90a93081d54dc9b5d31cfa5a3456c21afa79cc4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 orderBy: \u0060DashboardTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060useOrderByState\u0060 from slice \u0027orderBy\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"851fbf548b2961429977089f6c09559118662eee3c4b3a047892cfc0633271e7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 notifications: \u0060EditDashboardDialog\u0060 (slice \u0027dashboard\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/EditDashboardDialog.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edacac86658cb6ece875c3fb4263ef4411130bd04ecc3177a40252408b37c11"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 notifications: \u0060EditDashboardDialog\u0060 (slice \u0027dashboard\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/EditDashboardDialog.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0053bcde827b6098972cc7cac7a67dea52356761bdc640fb664c2339f72a8dac"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060GenerationLatencyChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"70df55c6ad165d69db025eb946ac343e6d399464661e03abda150331379e5963"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 i18n: \u0060GenerationLatencyChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c2e038dac6401e4b769189609f3cec60a09b11f9d031608cb04d0f77f5d2bf"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060GenerationLatencyChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc8c4b5fc720e5b75df78cbc8dc6e4b0cb7ffc6b7b245b75a83c3ca4eb0f0d2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060GenerationLatencyChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"905f7f1f4b5b58d9615369ee70bfc05e5bc0ef0c26f56ecbb974204ce1454f30"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060GenerationLatencyChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2d4920d8af51e076a59611a0106eb60884a8c02419bf2a5f0603350bcf2f36"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060LatencyTables\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyTables.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7077aadcec045d8ae65a6c19b1d6b6034559a31c32c4a25fb2cc1b0c9251de4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 i18n: \u0060LatencyTables\u0060 (slice \u0027dashboard\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyTables.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3ba0991ba68795d616be6d1dca1183194bb566b90eed94f300c84446f4d8fe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060LatencyTables\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyTables.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1858d70a5563fdd46455643e429edbc98ce96de0f2fdab26f76e5401adfba96f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060LatencyTables\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyTables.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1c92c68b81a1c1512eb4676aa1dd6d620e814322967c4f431e5b8274eced62"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ModelCostTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelCostTable.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abae3607a1170a548b28eebcb2719a86c5db46b81749c2795620c7e0d588bf0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ModelCostTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelCostTable.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdf842593aa55e55996b4a463a4c7a25a65831aa909f323e5538bae51316891"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ModelCostTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelCostTable.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45b8607f8e79140a43d2d4d304671f71b6792cd7f03b9354d0dd0ac3690b467"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 i18n: \u0060ModelSelectorPopover\u0060 (slice \u0027dashboard\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelSelector.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2210449800292fc900e78d4a174044cbcc508d5b5e2411012f0228e900bf789"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060useModelSelection\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelSelector.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc013281f8634f86520879e8d1550c2cd2d19588e30d87dd1dfc1d73279fabda"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ModelUsageChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdbefa1a32551bd3256c7f3220cb1a71e4ae71745f88542388a477cc31eab1c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 i18n: \u0060ModelUsageChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c2ba5607ba5b838a22eb27d2f6477365922f3e512e45a9f4f018fd33cd7458"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ModelUsageChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb8c05bb79b9e7d9e017624d7f406ce32aa6e3f4778fcc81ca7fde2b04d9cd2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ModelUsageChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"311775b0b0b90f8715dbb4a4f33d4272d8fe8b364af4beb816aa477cc9456b2e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060ModelUsageChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6a6311559bc14676d491b0a6a565f9c133a19201586f91be94a680ed43bb43"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060PolicyConfirmationDetailsSheet\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyConfirmationDetailsSheet.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbd5ed4c47a9b901fd969ef2faa35066a694d54f069a7957ea42b5d569c3dfa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 i18n: \u0060PolicyConfirmationDetailsSheet\u0060 (slice \u0027dashboard\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyConfirmationDetailsSheet.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf34ff8c982a749d61c6d172e77152e2cdeebc1926e32fe18f5674213654a35"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 events: \u0060PolicyConfirmationDetailsSheet\u0060 (slice \u0027dashboard\u0027) depends on \u0060useV4Beta\u0060 from slice \u0027events\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyConfirmationDetailsSheet.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d821963dbed6d454c0cbe805fb00a239ca5da42c56463d1c6f427d1ef8590bd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 i18n: \u0060PolicyStatsTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80230d9f4161d816ec90ba30557dcd1940c2c33466e7737bb392c5e8c18e995"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060PolicyConfirmationStatsCard\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7e7c95af0fb37b7f9782882fd7eec4165cc1a30dc29ef815803d9eb2450d5e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060PolicyViolationTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyViolationTable.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"989d67e99c818913bc3d141db36aca8921439ddb1a8431e9c94a3c02a0986318"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 i18n: \u0060PolicyViolationTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyViolationTable.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"561f4b2dffadcbc5fc689c181189b16991f11f0335896c3a7045cef33037d400"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060PolicyViolationTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyViolationTable.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb192ab94c0049b566eceb77ad73cf6d4e82f2a4011fd8712654fe118f49170"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060PolicyViolationTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyViolationTable.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16909070ee456eb2772de7bfc39d83547482b0b8ae638754628fe30b111e60c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060dropValuesForCategoricalScores\u0060 (slice \u0027dashboard\u0027) depends on \u0060isCategoricalDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ScoresTable.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a9acd49db4d0798288c8eb40b9728b2ff1098353cddf1adad2220cf8d10671"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060dropValuesForCategoricalScores\u0060 (slice \u0027dashboard\u0027) depends on \u0060isBooleanDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ScoresTable.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a344e4bb263de4e0e310ea0fd740899f1883c9e550154b6c9482bb6e50de6a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060dropValuesForCategoricalScores\u0060 (slice \u0027dashboard\u0027) depends on \u0060isNumericDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ScoresTable.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3f8d2ce54be6da89a72972dcb5d0fb9c1abfefc6ccc9d3185fa469b1965a0d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ScoresTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ScoresTable.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"757e684d42dfeb22167ad47699a2b2b6c49c3c0dff15609d0f311872e0f1a4b1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060ScoresTable\u0060 (slice \u0027dashboard\u0027) depends on \u0060getScoreDataTypeIcon\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ScoresTable.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5247f5a39d14dd017930e00bbc4e676f43a57fc427f0fac0af311f7f9c2c95a3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 posthog-analytics: \u0060TabComponent\u0060 (slice \u0027dashboard\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TabsComponent.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb46d5a9c2f0e4db46cdc69c8df27aa77d7d42751b4f72945f932bb3fb23f043"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060TracesBarListChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c360a6f88eea86c303747ccd239ff00ce0f516657862130c240c7cc9ba1ef24f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060TracesBarListChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca6fa781a77371c97346afd3270edf52ad0e5799d685ece9476450273725244"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060TracesBarListChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ed4ce16758cc621c9e13aac0fff21d78302e1fc2ccc2ba3692b6e463f2549f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060TracesAndObservationsTimeSeriesChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6915642535a88e6bf6fc10435fa92f2ac1414b71e09e43942c7054cceeaf84a1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 i18n: \u0060TracesAndObservationsTimeSeriesChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ba8e1ed265964ff52d022184b085b1d787afbe6f8796eceb8805ebbf13e95b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060TracesAndObservationsTimeSeriesChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a6f72d8fc1c051118b5f4ac220f52f3680269717e38e5018f4ca2038b02d4d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060TracesAndObservationsTimeSeriesChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b4422c2661b946f684c457eb800b9f8e537364557f482487108a37d4185442"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060TracesAndObservationsTimeSeriesChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc7726fd86336f2d1bdc3bacd0d042594833f11746c06362cbe3a5e6d238812"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060UserChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/UserChart.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"85284faeb80a189334163efdd9c6bc48fd5bf2c0165d2ebd40518a9ff823885d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 i18n: \u0060UserChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/UserChart.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4891923a140e749f06d1a69be94aceb5d3d4214eee105b492af9a48d5a4cb9a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060UserChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/UserChart.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41c84955565f2e8dd66f5ead2de4d0a7bf4dddc6e4fc6c6639cad1cfced58ca"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060UserChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/UserChart.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7ee97aae27e767cc6f9524ed6d19f69595f3a2d7bd35872aaa9fd0cb07e4a2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060UserChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/UserChart.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"283a9438e516c35c2cfb9d3cc969392869339436ca86c2b1194cbea5f04164a5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060getAllModels\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/hooks.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f67c951d712c7406c00cfcafc5ca823ac603e50b4c9c93e068bbbd6aab5d32"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060getAllModels\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/hooks.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58bcc7e919e4ecce50201675ac84135c32b47a70e72679c0ac1a522f4ac8c60"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060CategoricalScoreChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060ScoreData\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f142cf71ceb770ba039dfaca39a0ea5d5c330cff983c94959aa2d0b5c0748db"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060CategoricalScoreChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c369f2e5c8ef3226e932e6717d35a061938ff2f69bded90ac07b58b4269af8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060CategoricalScoreChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52e80554acbd38a1d6de32c1b6db61fa81c7ea7d41143ca885b65c88df67759"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060CategoricalScoreChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"deec66a403ea1f17a964a6f90b4b72d6c0b0588867e709c11bfd71dfc424d553"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060CategoricalScoreChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060DashboardCategoricalScoreAdapter\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"288f803e3e56a2ad09a42cd5bd62f0304741495577f4366c5a321367197b6a8d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060CategoricalScoreChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5d8d989eec1fec1d8e0ac36f8f9a3eaa7c11c8241c562e8df88f4a6a68f147"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060NumericScoreHistogram\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreHistogram.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb09e8a5afa87343e81e1a01770e6292423c285e37590950fc12bc7ad2d0bdcf"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060NumericScoreHistogram\u0060 (slice \u0027dashboard\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreHistogram.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f600600b598f0624498192434c333859ff6a8e278b3760a7c6ecb8137833a2db"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060NumericScoreTimeSeriesChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreTimeSeriesChart.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f53981f16c0fe8d9403966e46ea926f8a5e389ae861c9d8c4ddaef34f50bd79"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060NumericScoreTimeSeriesChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreTimeSeriesChart.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"51127d334b9f18211b679c0e188af0b65d629a4be103560a5363c51db780a21e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060NumericScoreTimeSeriesChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreTimeSeriesChart.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e0f7f650d6e58fb2a44c1bfe3eef4114347a97632ae527a4d5f45719c07f76"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060NumericScoreTimeSeriesChart\u0060 (slice \u0027dashboard\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreTimeSeriesChart.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78f1805c2393eab4817a55b4084dd46ff0053f553e07e635b42ee6272e2f315"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060ScoreAnalytics\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a285745246cb7da125ac3bcf44af5a262ab0b3bdf4afa113572ab13c087f9743"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060ScoreAnalytics\u0060 (slice \u0027dashboard\u0027) depends on \u0060convertScoreColumnsToAnalyticsData\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a4b2eae56fc9479abb7a63fe0faf03acd9b4d3466b249eeed36fb9ff42998b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060ScoreAnalytics\u0060 (slice \u0027dashboard\u0027) depends on \u0060MultiSelectKeyValues\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f1fd4a1a005a6acd2471907e6f2417bc8ecb025738d679c39e42daaa0f21ca"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060ScoreAnalytics\u0060 (slice \u0027dashboard\u0027) depends on \u0060getScoreDataTypeIcon\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e2256b0a7d57a5f6ff82d64ac23a2ed3c63d4bd47a91860a848dea1559f01c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060ScoreAnalytics\u0060 (slice \u0027dashboard\u0027) depends on \u0060isNumericDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a675c2d48081ed1890eafcb3b3a911eceaab0eeb4d63736a75437d11a891fa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060ScoreAnalytics\u0060 (slice \u0027dashboard\u0027) depends on \u0060isCategoricalDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d60541c4a03201c002adaf34380ade0612f095aa7e0411acfce77a495e2f01a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060ScoreAnalytics\u0060 (slice \u0027dashboard\u0027) depends on \u0060isBooleanDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a21da6107dc889d661ec2d032709af27d03d4a417276c5c823eb8d801a0fff"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 widgets: \u0060timeSeriesToDataPoints\u0060 (slice \u0027dashboard\u0027) depends on \u0060DataPoint\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/lib/chart-data-adapters.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c99f599c9d776a08a178b390dc7317b00149027cf41c8c7ad48492ef3f4116e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060scoreChartDataToDataPoints\u0060 (slice \u0027dashboard\u0027) depends on \u0060ChartBin\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/lib/chart-data-adapters.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8312bfc6f4349841ebba957e05eb28b9b9d717f1c78ac84acba73e6268ca89"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060traceViewQuery\u0060 (slice \u0027dashboard\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/lib/dashboard-utils.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"659eed55fb59b313e5fc0e1d3afa1e6ac5d9b523ce3c09d0f673d18e2f81ec84"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060traceViewQuery\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/lib/dashboard-utils.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"078afca4bd20f19e37380aa402744f38dde493b04194b7a202217e2c8c31c7fb"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060traceViewQuery\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/lib/dashboard-utils.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"60929527666f01df56ac411168f089b66dffa167ed54f9d12d3bb1a90fe067d6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060padChartData\u0060 (slice \u0027dashboard\u0027) depends on \u0060HistogramBin\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/lib/score-analytics-utils.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabb0b87eca0b5f71e2bb7fa670fe3dae439186e2b663767c674e2088539ac90"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060aggregateCategoricalScoreData\u0060 (slice \u0027dashboard\u0027) depends on \u0060CategoryCounts\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/lib/score-analytics-utils.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bf62445e9337429f29f2e59ffef672c7948d62d0886cedeae84befcde5a549"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 scores: \u0060ChartAccumulator\u0060 (slice \u0027dashboard\u0027) depends on \u0060ChartBin\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/lib/score-analytics-utils.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2c3d9f794c14e5405e9120f8ea731a029bb09f50d13269ea289edcaf8ce0de"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060prepareScoresNumericV2Params\u0060 (slice \u0027dashboard\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5caee4ac159269fa46d27d86803a22ccce66c14d5f2d242fbf4cce239ce80d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060getPolicyConfirmationCountsByState\u0060 (slice \u0027dashboard\u0027) depends on \u0060viewVersions\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"136abbcc0bf59f5029433e5277fba3049734721b9b78fcd76fbe6f3d41474566"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060getPolicyConfirmationCountsByState\u0060 (slice \u0027dashboard\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea0ccc9b9d4e0f8cf9a0703d72dc70831c8e9808c189554fd91e3a404289229"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060getPolicyConfirmationCountsByState\u0060 (slice \u0027dashboard\u0027) depends on \u0060executeQuery\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cd299a5cd4514388bb4b558b2c9895c643aa2d5d33a5313a3f8d86baf2ec9a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 query: \u0060dashboardRouter\u0060 (slice \u0027dashboard\u0027) depends on \u0060query\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"5128cb90c7157b734912aa05d30ba6cb80663c90f40ea5df30f774cf1eceb5df"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: dashboard \u2192 rbac: \u0060dashboardRouter\u0060 (slice \u0027dashboard\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8de590619b0834802d6f035c9f034602ec8366a05d5af14d15415c9ff291756"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060AnnotationPanel\u0060 (slice \u0027datasets\u0027) depends on \u0060decomposeAggregateScoreKey\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/AnnotationPanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"22536b100f101dc12b8339fb718a4dd1c8645072dec2d35ca344a1e6edc2cdc7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060AnnotationPanel\u0060 (slice \u0027datasets\u0027) depends on \u0060AnnotationForm\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/AnnotationPanel.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f50b94a0dd769f275db57966fc8b49b67e8c4ef0d45a4ed81b82935b84e94ce"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 annotation-queues: \u0060AnnotationPanel\u0060 (slice \u0027datasets\u0027) depends on \u0060CommentsSection\u0060 from slice \u0027annotation-queues\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/AnnotationPanel.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9644342c72792576e019717b37e72e9fb6d47913dccc8b0cdf2502129ef804e8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060DatasetActionButton\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetActionButton.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"de87f02224e292a46166c07cf526c8d0639e0ca3874d9263b7214247d65eda5a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060DatasetActionButton\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetActionButton.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f09ccfe10fca91f8d36240a0332df86371d3752ce3446b0a7312c731cf5af97"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetAggregateCellContent\u0060 (slice \u0027datasets\u0027) depends on \u0060ScoreColumn\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f82ec9734636fb7686991fb8e65ec57487db9b1c9fd65fa95c343f9c5e10f89"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060DatasetAggregateCellContent\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b4bb17319ad990923f114699bd9cd1fa5349e319c6b3e1b827bba793477578"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetAggregateCellContent\u0060 (slice \u0027datasets\u0027) depends on \u0060useMergeScoreColumns\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b408b652d4c4a290e9627a67fbc71097168e617095de6301158dbe01b6567a9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetAggregateCellContent\u0060 (slice \u0027datasets\u0027) depends on \u0060ScoreRow\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8405fbaa75d57e6b0050214bee42a3d021586d2d9953f215350d7f3656306c65"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetAggregateCellAgainstBaseline\u0060 (slice \u0027datasets\u0027) depends on \u0060useMergedAggregates\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1259f345ae767335c32f0d41a7b604fdfa6c71981aff46d03acccd99789f73"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060DatasetAnalytics\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAnalytics.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"651240be20fcc5de762b3dc41db664f62482d508cd95049f1779f03963aebe74"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetAnalytics\u0060 (slice \u0027datasets\u0027) depends on \u0060MultiSelectKeyValues\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAnalytics.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60d8ebafaeba65870af9b98254322a042bb795406763df18100f89aa9c91f5f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 dashboard: \u0060DatasetAnalytics\u0060 (slice \u0027datasets\u0027) depends on \u0060RESOURCE_METRICS\u0060 from slice \u0027dashboard\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetAnalytics.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb42f7cb2d42da82c7e3932d50b3546d208d6b22d0a64a727057c628f5486e1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 filters: \u0060DatasetCompareRunsTableInternal\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb180d67844520b8e5d5ce4f754950fbde58b8cd5c43b0181486e828f9f865a0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 navigate-detail-pages: \u0060DatasetCompareRunsTableInternal\u0060 (slice \u0027datasets\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3b676159e220bcc95145e7b12dfb53348f7e5f4b99fa3b2ce52cd0bf196883"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetCompareRunsTableInternal\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbe328962d8a2bfa4b4771047dd0c5bc32fc8e31dbee29236bcc868fc333a0f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060DatasetForm\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2e84c975e8ec9e01a3753bfa194afa7d3d4417445ab106462b3b9f853aa9c3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 navigation: \u0060DatasetItemDetailPage\u0060 (slice \u0027datasets\u0027) depends on \u0060DatasetItemTab\u0060 from slice \u0027navigation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemDetailPage.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc33270df5014bde8911374eee018e385bc5a317fa732e902789aee6aa0e0fd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060DatasetItemDetailPage\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemDetailPage.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bdfe37c1ed3f5001671d014dca9ad1a53884f2275ca9da044fbefbed4dd5fc"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060DatasetItemDetailPage\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemDetailPage.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6575f1daa881d4bafdf9c82f62d55294c295b4844ce328729a8e94eda88e5d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 navigation: \u0060DatasetItemDetailPage\u0060 (slice \u0027datasets\u0027) depends on \u0060getDatasetItemTabs\u0060 from slice \u0027navigation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemDetailPage.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e67222bf5a6dfe2f561495731d3ab310e38baaa8bf63f0e3506f553a627479"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 navigate-detail-pages: \u0060DatasetItemDetailPage\u0060 (slice \u0027datasets\u0027) depends on \u0060DetailPageNav\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemDetailPage.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3d5963057f2cac8576459d0108cd1934513509478cfbdc18e93998412babbe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 navigate-detail-pages: \u0060DatasetItemsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26491405b6d82da1c0cef1e44acdeb3f5e24f2d2c25f52093229228af44139b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060DatasetItemsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"245f0f2d15a57bcc5e6fd9224c766f607b0d4be8d46fd1fab2a1150ca6642fc9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 filters: \u0060DatasetItemsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useQueryFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4653aa3c4aed38986dd52104e3d1c322d7ea43ba16215f91b9d73b7ac3241ea9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060DatasetItemsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a8bfc78a0693d36e9950f49f09c95a3e757394a0d220cfc413a41d0b456db5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetItemsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f25876ba05d0ced462a061b990227f63206f31c87e5518115cce22d14f58cd6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetItemsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"6990569a018387b4fba2eb7778745c90779644572acabbcbc6d03ed3b19a83be"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetAggregateCellWithBaselineDetection\u0060 (slice \u0027datasets\u0027) depends on \u0060ScoreColumn\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunAggregateColumnHelpers.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0091620055757c4b3be3fc12adf65e3ba6d843893c51b9a2e6b7fa936691c6bf"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 filters: \u0060RunAggregateHeader\u0060 (slice \u0027datasets\u0027) depends on \u0060PopoverFilterBuilder\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunAggregateColumnHelpers.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"566d417b82a2e2868eea587698caa8d3456a7b260c4938cd327554e69568a723"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 navigate-detail-pages: \u0060DatasetRunItemsByItemTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fb69cb37ff2a1d7d635abdba583ccf36e5b3f0610de6d45bd7bfaa87a9ccbf"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunItemsByItemTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useScoreColumns\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d32b3a7cc75f7eccc7def8e0e28d8a63728f4d12c1f86d60ed17424e82928f6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunItemsByItemTable\u0060 (slice \u0027datasets\u0027) depends on \u0060scoreFilters\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d176523708ee4464043b4b1640be17e1bab7e71cecde0799c09ea33844cea1b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetRunItemsByItemTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d339752c86d4f0457afbc042416c8a0a4df87aa2824955bf45a2a7a84fb84cf8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetRunItemsByItemTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"559c89d4a444ecea52d6ea117cde1f32d78ef45df4682baa8b97618855ccf24c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 navigate-detail-pages: \u0060DatasetRunItemsByRunTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"617b9786ecba9c35af37f38d79923ceaf243f127c0b28a0578b82dc6861b093c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 filters: \u0060DatasetRunItemsByRunTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useQueryFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e735b29db08a0ab8114035eb6326b597acd9a79907402cf63cdabcf8a53a94dc"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunItemsByRunTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useScoreColumns\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d383c414c69f55a083bf0855538bd4a4048cf18bc9402f846f06d6e3168765"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunItemsByRunTable\u0060 (slice \u0027datasets\u0027) depends on \u0060scoreFilters\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1952851f07e7a84b6dae505096f7aaa0ccd68946401889469408f753ef67f064"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetRunItemsByRunTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc7dcca16780b7f317094c65187295e757d1b5d0a0b2086f9ca350bc428b67a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetRunItemsByRunTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4cdbdc63a6edc30f7730b7814593da8a1b5a2380c110f0eb79f53ecace9e92"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060DatasetRunTableMultiSelectAction\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6fd20dd40661d797c72fbbdf4318571d1bdb8c95a3e9f0f068e5ddb024b8aa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 filters: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useQueryFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86b072000ec0f262d3020f3353c7b26d0306ab167e0e28b03ab4adef43435fe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 navigate-detail-pages: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c367532dda3d2f2dacab90830a1727e479746f5bc721f16b692a026e4df43532"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useScoreColumns\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b561353d9f4fb6a8f5f44af5218ae6a1e4fdc36c8d8da6e270211abf62642a0c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060scoreFilters\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"202ebaa9801efe7e234b6a913830271839263bc8f9e7a689234b042554996b68"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 dashboard: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060transformAggregatedRunMetricsToChartData\u0060 from slice \u0027dashboard\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2ecf5e493f365befe157a9841e2be9e821ee5e280ae0d8f93b9a43a7072ba4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060convertScoreColumnsToAnalyticsData\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93ac173222e05b4fd16c13ab844acaf2c878503c7995df499121ff4cf76c389"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060addPrefixToScoreKeys\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bea168fcd22586d88bc679a3f258d17b27e0e8cbb11f1ea041c6a0e84c27d17"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b1e175e06ad9e57d1ef180706afe15e96a09c6707ca9ac2d24e9c1c744584"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5c99eebd1e03dc58b36fa7ebb6cc0a4e9717b8b2584e77b82d5359449e8a55"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 dashboard: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060RESOURCE_METRICS\u0060 from slice \u0027dashboard\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea3f0454debffc77b0194eaa842f0a38197c2c9eaf8c65998dda29ed6994077"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060getScoreLabelFromKey\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc587b6b364109384755eb698e3ea3bfcb1fbfdf71ca6a2a95c9bdc7af1ca83d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060CompareViewAdapter\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4bf5704960ecf967d438e22999b709937e1ec591d7f0609db4e7e731f70362"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 dashboard: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060compareViewChartDataToDataPoints\u0060 from slice \u0027dashboard\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61e7a3429bc5ec0e432f01525c0e49108e0d750c2ed973af092df327c68a970"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 widgets: \u0060DatasetRunsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"88227391d9ec2b39779dcde903c1b8f515e5f592bed2bd6f58521bfe2d0b6945"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 notifications: \u0060DatasetVersionHistoryPanel\u0060 (slice \u0027datasets\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e38079dbb7dd23b75f7eb24cbf07c276813bab401e3e976cd8213c8bd8e3653"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 navigate-detail-pages: \u0060DatasetsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"68693cbd6a00fa3840b582a4fddee1bd00df8e86595576ca491e13e65d807cf0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 folders: \u0060DatasetsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useFolderPagination\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6761e4b3e12485c0134ab066aad09d9126e6a37060057c85787ebd34cb53174"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 folders: \u0060DatasetsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060FolderBreadcrumbLink\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"17175959068f7f73a945e2c7f9537f412fc28c9ff9344017c5355c60b616e690"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cb9eb3d91f48ed7c212727e8d0aad65377929a3dccb5d93c44600d3f58812d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 column-visibility: \u0060DatasetsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a534683ff32e9b17a8afdfba2f7844dcabe8467a53ec4fd11a4c05e7d34048"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 folders: \u0060DatasetsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060buildFullPath\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8628ad840048131e9d269fcc622c183e13d4d911ad026bc898a9f89cdc9660"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 folders: \u0060DatasetsTable\u0060 (slice \u0027datasets\u0027) depends on \u0060FolderBreadcrumb\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce9b2697caf26827b35b4f03eae1b738e23f28abf014ffd655d6bad249989da"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060DeleteDatasetRunButton\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DeleteDatasetRunButton.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dce64236330632af0f943feeaa90991bfea87f10521b534d99b242a118425b4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060DeleteDatasetRunButton\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DeleteDatasetRunButton.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c66789b7d9d663e809618e3432daf054f8e0a90c1d854842086347ec5229d9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060DuplicateDatasetButton\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DuplicateDatasetButton.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9460ba2dc4e0bfd399e8c976c6ea7463103532b3ff13f554b78bb7da32905656"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060EditDatasetItem\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4510fbfb591d18a06a1e946bdd824cffd925170f1ae13852edffcd80f69583b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060EditDatasetItemDialog\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/EditDatasetItemDialog.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1ecff54e6b12c445cd793c498df9a57f01cc7a2fb0318fb81ff49decbcd06d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060NewDatasetItemButton\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemButton.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd32c9e6f45ff2688d6330a7cba155c9f20651f8fa22c0e3ff4c780963d766ea"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060NewDatasetItemButton\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemButton.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"93abe4025ed23244d408d4116ef71e59608e3d134f1a7ffe2de80f8725db0589"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060NewDatasetItemForm\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"15475d6fc35a1c5fbb3a41948bb20ab20451452ab46a87d6aaf816fe2fabe3be"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 auth: \u0060NewDatasetItemFromExistingObject\u0060 (slice \u0027datasets\u0027) depends on \u0060useIsAuthenticatedAndProjectMember\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemFromExistingObject.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc533535b5f155e731e6e1ccd3eacd76fa218ee8eef24014b5a34ddab1aa7ae"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060NewDatasetItemFromExistingObject\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemFromExistingObject.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9fc2feaf2cfaba21f8123590d0bf64b229f559e5daef446254fc0ab8ccca43"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060NewDatasetItemFromExistingObject\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemFromExistingObject.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24489e187902568f42784be254520f2f7805e1d0cd43ce2355769771be73785"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060PreviewCsvImport\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/PreviewCsvImport.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8163057bfa2db0ab79bace917719282c74907f1185e9c0d1f13faeecc865971b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 notifications: \u0060UploadDatasetCsv\u0060 (slice \u0027datasets\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/UploadDatasetCsv.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4cde0db084ee7d7c516739e6b0d8e001feae6a52d1a00d9811a58deaa093f0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060UploadDatasetCsvButton\u0060 (slice \u0027datasets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/UploadDatasetCsvButton.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a341047fdb82ff7f540d6383f459eb7893d4abbc7e8ab985419b705d5a51835"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 posthog-analytics: \u0060UploadDatasetCsvButton\u0060 (slice \u0027datasets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/UploadDatasetCsvButton.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45d52ad6df4f2c8aa2a3ef669d32c689c88385097914eaf44f5f26f602f03b7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 notifications: \u0060useCsvImport\u0060 (slice \u0027datasets\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvImport.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"048144e2822a1c63fa6420eecbcbcef86ab1b5e02512f154e6a9c45c21711855"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060useDatasetRunAggregateColumns\u0060 (slice \u0027datasets\u0027) depends on \u0060scoreFilters\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useDatasetRunAggregateColumns.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7106fdff08d8bf3c3093c4fb2c923ebc682f9ed4fd937f9d47c0085d55f16afe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060useDatasetRunCompareChartData\u0060 (slice \u0027datasets\u0027) depends on \u0060scoreFilters\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useDatasetRunCompareChartData.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"284a5d3e4eb038b9a049849b37d8545b82b7116a87c1c1555294b5b8d1f77469"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 dashboard: \u0060useDatasetRunCompareChartData\u0060 (slice \u0027datasets\u0027) depends on \u0060transformAggregatedRunMetricsToChartData\u0060 from slice \u0027dashboard\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useDatasetRunCompareChartData.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a00a9749f7c4573483566db8e90401b6c71592154b80114bc6265148cf2fa4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060useDatasetRunCompareChartData\u0060 (slice \u0027datasets\u0027) depends on \u0060convertScoreColumnsToAnalyticsData\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useDatasetRunCompareChartData.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50d03d3d68d9ffc93a1448fabedafe05ee1ec66e756c1f0e8120b06693bbae6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060datasetRouter\u0060 (slice \u0027datasets\u0027) depends on \u0060aggregateScores\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4c035004d52ef5a08c900972b321f3663670b9ee36515848231387b9b1af16"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 rbac: \u0060datasetRouter\u0060 (slice \u0027datasets\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a74ac3ef94038c776f04359543f5475a3a1c2971f68e204a50a5d8d93dfd74"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 audit-logs: \u0060datasetRouter\u0060 (slice \u0027datasets\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b902efecc7ad7c81ed34aa91ebe28b0c5d7ff69925bd9c5bb3d8567614688b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 scores: \u0060getRunItemsByRunIdOrItemId\u0060 (slice \u0027datasets\u0027) depends on \u0060aggregateScores\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/service.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b5374919d9e0beae710533ac4caef35a0e0fb490f9e8c0519f52ae4c54256a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: datasets \u2192 notifications: \u0060stringifyDatasetItemData\u0060 (slice \u0027datasets\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/utils/datasetItemUtils.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6595ebdd7f57cbb74be4e6a6d7d8b62a33515c3bee195ff35076b485c50b8138"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 notifications: \u0060BulkErrorAnalysisButton\u0060 (slice \u0027error-analysis\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/BulkErrorAnalysisButton.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"86acb9a208cadd4881c2f04b3fbece1ffbb7f550d204ee915e76d018ba71f349"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 notifications: \u0060BulkErrorAnalysisButton\u0060 (slice \u0027error-analysis\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/BulkErrorAnalysisButton.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6d776b961a56a995f7dce5ee6b967048386231105b3fedb4830a60ef406eac"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 i18n: \u0060ErrorAnalysisButton\u0060 (slice \u0027error-analysis\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisButton.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e57717fac33d4799cbb466ab810f5069eeb9207e61f407fb5edc42e123648b0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 i18n: \u0060ErrorAnalysisButton\u0060 (slice \u0027error-analysis\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisButton.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ddffc159b3aa2cd143709b9e267d8f8227feacc7eb1a65f3e47bcdaa3774ee"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 i18n: \u0060FormattedAnalysisView\u0060 (slice \u0027error-analysis\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6d0a6a14aca59e5b93977512df766a3d0ce70cd8b91d03435fc26e66f22182"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 i18n: \u0060FormattedAnalysisView\u0060 (slice \u0027error-analysis\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3700ecde640bf4ad07f7d3699dc9bf55d5a7ed386723732af878013248ad7ab0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 i18n: \u0060ErrorAnalysisSettings\u0060 (slice \u0027error-analysis\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3d85bc5fc152f8cfa06be043a5f526eeef9cb62872762e904d537aefd4db56"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 rbac: \u0060ErrorAnalysisSettings\u0060 (slice \u0027error-analysis\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"de994beed2366da1255b66ce99f746dc98b639e8020806daa10f05d42bf45b65"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 experience-summary: \u0060ErrorAnalysisSettings\u0060 (slice \u0027error-analysis\u0027) depends on \u0060ExperienceSummaryMarkdownOutputMode\u0060 from slice \u0027experience-summary\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5f81dcf31cec1c2d6a87bbc1aab5a4fcf571557ec717203436e1627a98ae66"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 i18n: \u0060ErrorAnalysisSettings\u0060 (slice \u0027error-analysis\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3744c2f5325e03b838dc63f4af30ffea9b6618a8775c03b8707169c26cd904ed"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 experience-summary: \u0060ErrorAnalysisSettings\u0060 (slice \u0027error-analysis\u0027) depends on \u0060ExperienceSummaryMarkdownOutputModeSchema\u0060 from slice \u0027experience-summary\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"251e2758f0690bea88012f404337133e95bcce76f0fed42a099c7125629b7f66"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 i18n: \u0060errorAnalysisRouter\u0060 (slice \u0027error-analysis\u0027) depends on \u0060getLanguageFromCookieHeader\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bc0192d66b786772491075eb0e6dbcc93e58b5ca939e5a3472a2856d46d0ad"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 rbac: \u0060errorAnalysisRouter\u0060 (slice \u0027error-analysis\u0027) depends on \u0060projectRoleAccessRights\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5e06aa4671a91a13f2487b4cf482454bcd9cd2903ef717acf06568fd2b7063"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: error-analysis \u2192 i18n: \u0060errorAnalysisRouter\u0060 (slice \u0027error-analysis\u0027) depends on \u0060applyLanguageInstructionToMessages\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2635cc2effeeadf7d53b2af3ec47b3d6ca829d6061569c3a13989f4975001eb2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060DeactivateEvalConfig\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/deactivate-config.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"616b0e577bf89038a94ed416cc0f85a9fa96b9e414647be8f57a4948ea06cbe2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 posthog-analytics: \u0060DeactivateEvalConfig\u0060 (slice \u0027evals\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/deactivate-config.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7415da2b1a9663aa0210a54db6fbbc55dbba63ce12682964c40da4074d958852"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060DefaultEvalModelSetup\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/default-eval-model-setup.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c292a5b05edd5ad33beebab5827021bebca3c321aa1627cc69e38f11ab4b852"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 playground: \u0060DefaultEvalModelSetup\u0060 (slice \u0027evals\u0027) depends on \u0060useModelParams\u0060 from slice \u0027playground\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/default-eval-model-setup.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48fbf5b3fe0164ee2846300dad6f50dd434cab9e5c0b084e18d0b3530d60c90"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 notifications: \u0060DefaultEvalModelSetup\u0060 (slice \u0027evals\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/default-eval-model-setup.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abbaaf48941e22e025c13ebad9227bd3e652c4090ad907dade53062fcd6399c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 filters: \u0060EvalLogTable\u0060 (slice \u0027evals\u0027) depends on \u0060useSidebarFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-log.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d534c0aa36c3ceb9e63a789c9baa5f3b3ed528ad1cf8428fa623461f69e39e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 filters: \u0060EvalLogTable\u0060 (slice \u0027evals\u0027) depends on \u0060evalLogFilterConfig\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-log.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf77b37faf073b294a2a3fae001a7d6177b78062708e2a6bafcf3ca29878c66a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 column-visibility: \u0060EvalLogTable\u0060 (slice \u0027evals\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-log.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8a76c642e45eed4139704b13569ab6ce2fb089638cc5cfaeb7b1f575e3c804"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 column-visibility: \u0060EvalLogTable\u0060 (slice \u0027evals\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-log.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5884450e46ad610694d804b5150887fff3198d188f42c403c12c97cd4f64a5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 posthog-analytics: \u0060EvalVersionDropdown\u0060 (slice \u0027evals\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-template-detail.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a354279a16a7e11722a689f5a9bb44ce8ed12d8810f3493ae82edaefb9461b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060UpdateTemplate\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-template-detail.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"989ee517981d579ae1746654063d19df2aac71a718caa5f88567792382efeb82"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 navigate-detail-pages: \u0060EvalsTemplateTable\u0060 (slice \u0027evals\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4807e63353ae4715b2a3237b386518c234a557ea0cd2448e5539c3a971fda30c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060EvalsTemplateTable\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b6cc9f8142ab07a922afbd479d02ef99237d9841b63ee829639348db1bcce3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 entitlements: \u0060EvalsTemplateTable\u0060 (slice \u0027evals\u0027) depends on \u0060useEntitlementLimit\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a558b44208d8f5119b2a757e520736ed6f2e7450d8a1b78feed4e70bae8b219f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 notifications: \u0060EvalsTemplateTable\u0060 (slice \u0027evals\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb03affd8c295a13a5bc31d9153bdfb80ccdfd93fdab55b0c928d3596bb4ee7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 notifications: \u0060EvalsTemplateTable\u0060 (slice \u0027evals\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ab841899d64fb799c88809be73b6d2418334d7488b1fa3be17ef558631a158"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 column-visibility: \u0060EvalsTemplateTable\u0060 (slice \u0027evals\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"299ec34089810bee8c08f925c9681c8b695cfdba02e24dd0768e1693d340df92"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 navigate-detail-pages: \u0060EvaluatorDetail\u0060 (slice \u0027evals\u0027) depends on \u0060DetailPageNav\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-detail.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"84327f8470375cee151f1639b08b823363346f569ad787d60b186b48d916f912"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 events: \u0060EvaluatorTable\u0060 (slice \u0027evals\u0027) depends on \u0060useIsObservationEvalsFullyReleased\u0060 from slice \u0027events\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"854d1c842471022c9aecc56166ef93f3c649109f7666a263ed93a2f72cae9c19"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 navigate-detail-pages: \u0060EvaluatorTable\u0060 (slice \u0027evals\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"028da8144edc1d3d3f50220415c59f1b232127406c67a9e17aee9c362cbdb6e2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 orderBy: \u0060EvaluatorTable\u0060 (slice \u0027evals\u0027) depends on \u0060useOrderByState\u0060 from slice \u0027orderBy\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34a879c3aec0e43c5729964ee3954ec10575ed569c853bf0ea7d6757284bd05"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 filters: \u0060EvaluatorTable\u0060 (slice \u0027evals\u0027) depends on \u0060useSidebarFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc100640d5fb24cc52f037d8989ae236c64bd680b437270a359778c187504dc"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 filters: \u0060EvaluatorTable\u0060 (slice \u0027evals\u0027) depends on \u0060evaluatorFilterConfig\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d3a4299c3c4d77daa8fc77826d0672be9b932371cc4c0544e55af9db71ec1e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060EvaluatorTable\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fcd44b61b76816bf443f076f441791a82c38811f4088b4e17f505415499924"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 filters: \u0060EvaluatorTable\u0060 (slice \u0027evals\u0027) depends on \u0060InlineFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3b6b252f3fda4b5f1509f23bdf439a641be246083a4c1697851d066e1986fa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 column-visibility: \u0060EvaluatorTable\u0060 (slice \u0027evals\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d560002e9b52f28d2e6e50383f2055735349452b1888da38b3074f37d9c16ca"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 notifications: \u0060EvaluatorTable\u0060 (slice \u0027evals\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e312ac7f8a5a9d7cf0ce2604b18b468888da2e97d7fe033cac7488de6b0e3e2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 filters: \u0060addPropagationWarnings\u0060 (slice \u0027evals\u0027) depends on \u0060ColumnDefinitionWithAlert\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9e5f8328c826cbc17d7c4ebbf2a85c12768c08ea7b41964e393f97ab107f8a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 events: \u0060ObservationsPreview\u0060 (slice \u0027evals\u0027) depends on \u0060useV4Beta\u0060 from slice \u0027events\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16900d17439c93813f9dd9248ed31448b8fc7c8dad7842b6d469ba2bfbe2f15"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 events: \u0060InnerEvaluatorForm\u0060 (slice \u0027evals\u0027) depends on \u0060useIsObservationEvalsFullyReleased\u0060 from slice \u0027events\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0069bde68f43ce2d5165cfd34cdff15f9d422cc235be75417b010f4214e39aaf"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 posthog-analytics: \u0060InnerEvaluatorForm\u0060 (slice \u0027evals\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac91ed30e4facdc2176a7f4d067cd76ee3febec7b82b3512c5e059056cd35a4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 filters: \u0060InnerEvaluatorForm\u0060 (slice \u0027evals\u0027) depends on \u0060InlineFilterBuilder\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7b755d6cdc5f125a12670dc4e5853293396b417d87c1e42b88d62f5946fb86"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060ManageDefaultEvalModel\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/manage-default-eval-model.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"828f89612ff0450fc9afa009ae1d23e862c80d1f63cab37a0d6233f70c3c4247"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 notifications: \u0060SelectEvaluatorList\u0060 (slice \u0027evals\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/select-evaluator-list.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c42e6ebb6e2b8741cdd25776d670862b3afcc20f58191d9a58cbbfbc15b72f9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 posthog-analytics: \u0060InnerEvalTemplateForm\u0060 (slice \u0027evals\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d999ff740adf744781474fe442c4fe30bb971052e05376c99e2a4f57832c080c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 playground: \u0060InnerEvalTemplateForm\u0060 (slice \u0027evals\u0027) depends on \u0060useModelParams\u0060 from slice \u0027playground\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c8e0ab9a2aa8292012a328cd85740104b7e573c29b27be0d8e5a67e65be2e9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 notifications: \u0060InnerEvalTemplateForm\u0060 (slice \u0027evals\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"070dbefaf972b47a0d5f2c373575c9db1f6cc3e7c500ce5d8912d2e5897ae6a4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 prompts: \u0060InnerEvalTemplateForm\u0060 (slice \u0027evals\u0027) depends on \u0060PromptVariableListPreview\u0060 from slice \u0027prompts\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84f8897ce8f27abbab9520bfac56f1154cd8b2498318d18e310b2f733d88885"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 events: \u0060TemplateSelector\u0060 (slice \u0027evals\u0027) depends on \u0060useIsObservationEvalsFullyReleased\u0060 from slice \u0027events\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-selector.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"de99c533a142c4653530d162fae2467cc9b25b1004a4b6a3be417c0ed055a6a8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 experiments: \u0060TemplateSelector\u0060 (slice \u0027evals\u0027) depends on \u0060useExperimentEvaluatorSelection\u0060 from slice \u0027experiments\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-selector.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1786bf3284ce38a28f037af69280299fffaff56bc95399f84683ad6ed7ce40"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 navigate-detail-pages: \u0060VariableMappingCard\u0060 (slice \u0027evals\u0027) depends on \u0060DetailPageNav\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c61337b600ff63e1a58e4c49c714d06333cf0d614f4fd466c1464319672c86"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 events: \u0060usePreviewData\u0060 (slice \u0027evals\u0027) depends on \u0060useV4Beta\u0060 from slice \u0027events\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/hooks/usePreviewData.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"837c84f7106f02e9ca7dcc77914c880b19e25837169bc1cb5c304b8e1bcd94ec"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060DefaultEvaluationModelPage\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/default-evaluation-model.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7a2dc490480a58d1a0fa8e007f3935536449fbb1f0b4e7aab6d97ac8e545e9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 posthog-analytics: \u0060EvaluatorsPage\u0060 (slice \u0027evals\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/evaluators.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"90faf0160722fe9696313161dce095f53682f663db7de1c5ccfb9f9eafd2187a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 entitlements: \u0060EvaluatorsPage\u0060 (slice \u0027evals\u0027) depends on \u0060useEntitlementLimit\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/evaluators.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ad18a013caca0fd53af4fbcef06d8c96d3302d949e1fc1ad80ec7bb46dd8fa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060EvaluatorsPage\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/evaluators.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1ee9a9103452c9c3677a07d30551bfe48ea6c4abb008cd2ce6ab036154ef11"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 navigation: \u0060EvaluatorsPage\u0060 (slice \u0027evals\u0027) depends on \u0060getEvalsTabs\u0060 from slice \u0027navigation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/evaluators.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e4932173792a00ebdb15d63baf33126f23be90cb377d76f99a301e5cd33edd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 navigation: \u0060EvaluatorsPage\u0060 (slice \u0027evals\u0027) depends on \u0060EVALS_TABS\u0060 from slice \u0027navigation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/evaluators.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ed2c162a7e05bcc6ab0bc4210f499797ae0354d2a6d8469cbf0856d2f7bd72"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060NewEvaluatorPage\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/new-evaluator.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae113158f28bdd5131ba266817d77caa97634b92408c7f994d8e54a128ac294d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060NewTemplatesPage\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/new-template.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dc91395678986aec001ae2d017736d2879ce9b757b331df997ed69f24a4da4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 posthog-analytics: \u0060TemplatesPage\u0060 (slice \u0027evals\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/templates.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b1cbc14de1b465c8d8db5d5633eb73f9b167f016bf67950946c55f3be2fdb8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060TemplatesPage\u0060 (slice \u0027evals\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/templates.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e11bfbc843488db0f5634102e1f64607258485d7cf5320e4fa3733ed25bcc2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 navigation: \u0060TemplatesPage\u0060 (slice \u0027evals\u0027) depends on \u0060getEvalsTabs\u0060 from slice \u0027navigation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/templates.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc23d32b2a060e14e231ef1f3d4c8eda75fad7d4b0a8c359af56db0a8c33eaaa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 navigation: \u0060TemplatesPage\u0060 (slice \u0027evals\u0027) depends on \u0060EVALS_TABS\u0060 from slice \u0027navigation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/templates.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e3774b37f65f23b954d21f2c9acdd411de2a7b8e850fa6ff01b37749dd1f5b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060defaultEvalModelRouter\u0060 (slice \u0027evals\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/defaultEvalModelRouter.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e76f0356dc544cbf2cf61b0ab99649be5eeaa3878ce220557bd47b55369f8d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 rbac: \u0060evalRouter\u0060 (slice \u0027evals\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"df106dcb478b33707267a06a1639bfb9c49fd00d31ef48ce6916f2edca280107"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evals \u2192 audit-logs: \u0060evalRouter\u0060 (slice \u0027evals\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b00573356f5510b0b40d3d912633af20adfc92f4b12bbd348b9c66181706677"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 error-analysis: \u0060isUnclassifiedErrorTypeValue\u0060 (slice \u0027events\u0027) depends on \u0060UNCLASSIFIED_ERROR_TYPE_FILTER_VALUE\u0060 from slice \u0027error-analysis\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"421160c1466fdc98dd25af2c02cbcb5d14b41420fbb2d758ec7e738aeb0ad5fb"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 error-analysis: \u0060isUnclassifiedErrorTypeValue\u0060 (slice \u0027events\u0027) depends on \u0060UNCLASSIFIED_ERROR_TYPE_FILTER_LABEL\u0060 from slice \u0027error-analysis\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4f6a44dcbe8108622fafce627dc4f980c1a7f159bc186456ad5e0f99bf4194"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 error-analysis: \u0060isUnclassifiedErrorTypeValue\u0060 (slice \u0027events\u0027) depends on \u0060UNCLASSIFIED_ERROR_TYPE_FILTER_LABEL_EN\u0060 from slice \u0027error-analysis\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b18794c728bac2402fc21db8c71b6d25a1a2e48f2478bca2305318283bbfb8b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 i18n: \u0060getUnclassifiedErrorTypeLabel\u0060 (slice \u0027events\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"487df67ddcbc7b45d4c9109484fcd6c6c779fbc4756f25727a3e3ee00bac2f89"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 i18n: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fec113af022027cced295106520cd0930c6c6191c86ddde37935bb1fa47f907"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 navigate-detail-pages: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"657a7dbd8bc45b44e3bfeb1d880c8c02852bb20ac02c8d589c92a995a0914012"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 table: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060useSelectAll\u0060 from slice \u0027table\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1fc6e7aa7a842ad789bea9f825a67fc019c02df64814a8ec133487d4e82ae9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 filters: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060useQueryFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"4918bc7b68dd70c6d3f6b0fca8bdcdd37f8ff15dd53082cdfdeb29cbdf95a064"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 orderBy: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060useOrderByState\u0060 from slice \u0027orderBy\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"107b1f9d107fdae72d578855bc0b3118ae7f9449b1ff638d2bd0ae85332fac83"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 filters: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060useSidebarFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"0084cd7993b838ebc03ddb141b328fb419fb9627712967e7b023c3fc6ee63bfd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 scores: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060useScoreColumns\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a9547165407e92ab3818da9fac82523ea7bfeac2632467df33091bd293c50d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 scores: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060scoreFilters\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9bc6ff423b89e7d6447231d705a8559abad0849c5b0b9784e0b10c5066d2d2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 table: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060TableSelectionManager\u0060 from slice \u0027table\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0425ce0ab23dd1d87c3a118983f53d89aa8db6c2091555f73a2abe1d9c7487c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 table: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060TableAction\u0060 from slice \u0027table\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb6edd0f1ea646e37824acd4e67b6558b78665fe1721a6fda7546dc1fc2a7dd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 models: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060UpsertModelFormDialog\u0060 from slice \u0027models\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b12356f11fadfe9240543578a292e9ddcad1f139ab39f8f079d6512e45b593"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 tag: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060TagList\u0060 from slice \u0027tag\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"b615476d0d8bcb83a6f0cf2b0a6b0ce969addb8b4cf1d70382453022b400bfa6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 column-visibility: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"032d127158f20942bb6e4d663bfc0b32a865db160d53bd68d12bc540f2f6cf43"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 column-visibility: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"600b6e47b888fa91a66e0b7687a3b0f192dcfcf694b3e7c236e9f2ff022440d8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 governance: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060isSessionOutputTurnObservationName\u0060 from slice \u0027governance\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e90188b8e0aa4362c35337a99fe7689d73ed1d7ae39d30446f8849a5ea01da7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 error-analysis: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060BulkErrorAnalysisButton\u0060 from slice \u0027error-analysis\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":2153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bfed13fbf40e97831027e0720aa711aca3d64dd8619a4006cdc39fedf090ef"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 table: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060TableActionMenu\u0060 from slice \u0027table\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e4d12cb52d10845743368cf2539942bfd2b21c926409e128c95ec7946e46ac"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 batch-actions: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060RunEvaluationDialog\u0060 from slice \u0027batch-actions\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a7198501e8f6e604b8816eceaa7dc24c1c154447db3783d16c2780beb4b8b9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 batch-actions: \u0060ObservationsEventsTable\u0060 (slice \u0027events\u0027) depends on \u0060AddObservationsToDatasetDialog\u0060 from slice \u0027batch-actions\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"666bf7e49e6fa01e409c6197ec1fa587769887c49ec6b63cc67e43ffaf0fffca"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 i18n: \u0060V4BetaSidebarToggle\u0060 (slice \u0027events\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/V4BetaSidebarToggle.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a376871378848859e5cb71ce110bc02e86e6899739fa14c20b94eed97581e8f8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 filters: \u0060OBSERVATION_EVENTS_COLUMN_TO_BACKEND_KEY\u0060 (slice \u0027events\u0027) depends on \u0060ColumnToBackendKeyMap\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/config/filter-config.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d98999cfa98c67b97b7ebe8e1452fa9188f22193a769151092903bbde2ca8d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 filters: \u0060observationEventsFilterConfig\u0060 (slice \u0027events\u0027) depends on \u0060FilterConfig\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/config/filter-config.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcc2cde670df2e1f4eecb2d0e9e8468a212716281a71b479e8409bca46bd165"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 notifications: \u0060useEventsTableData\u0060 (slice \u0027events\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/hooks/useEventsTableData.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e3cc29545a709ec831f0ae6f9cdea29c9815af9e8652eb1200d44707ce76ef"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 error-analysis: \u0060eventsRouter\u0060 (slice \u0027events\u0027) depends on \u0060applyErrorTypeFilters\u0060 from slice \u0027error-analysis\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"233dfe9a1c977be95f2d99a5e1cc19b5b800def5c8e3e6985874a950e4239eec"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 error-analysis: \u0060eventsRouter\u0060 (slice \u0027events\u0027) depends on \u0060getErrorTypeFilterOptions\u0060 from slice \u0027error-analysis\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7236783846347bfd51a82437ef8f21fd6207e4879e409d491981c93725dd2e94"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 trace-graph-view: \u0060eventsRouter\u0060 (slice \u0027events\u0027) depends on \u0060AgentGraphDataResponse\u0060 from slice \u0027trace-graph-view\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e66360391f6d806257c817790af276aa93c3ea504865c271f813484e37f9fe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: events \u2192 trace-graph-view: \u0060eventsRouter\u0060 (slice \u0027events\u0027) depends on \u0060AgentGraphDataSchema\u0060 from slice \u0027trace-graph-view\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb493cebca9969f230d0c49d42cd90819633eccb534a7a081adba7a1bfeb400"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experience-summary \u2192 file-paths: \u0060resolveSummaryMarkdownConfig\u0060 (slice \u0027experience-summary\u0027) depends on \u0060rewriteAbsolutePathFromPrefixMappings\u0060 from slice \u0027file-paths\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc493eb6143fcd95b549b3c3fd96e43fe1b58e96d47bd162e7cabcd463b94da"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experience-summary \u2192 i18n: \u0060experienceSummaryRouter\u0060 (slice \u0027experience-summary\u0027) depends on \u0060getLanguageFromCookieHeader\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac332e46aaba3eea21dda90bfea8c0eb2394f8a0bd867a885cc1deb9f2565b1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experience-summary \u2192 rbac: \u0060experienceSummaryRouter\u0060 (slice \u0027experience-summary\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c34d406644e4684ebd41d524c07053941c7edb81e3d08813f986d1da3d7fba"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experience-summary \u2192 i18n: \u0060experienceSummaryRouter\u0060 (slice \u0027experience-summary\u0027) depends on \u0060applyLanguageInstructionToMessages\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7751e46ebca9d03dd77f3aed66b84020bc2032663fadf0a469487f76670597"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 posthog-analytics: \u0060CreateExperimentsForm\u0060 (slice \u0027experiments\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/CreateExperimentsForm.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f79d59ba58e378268adcab1ff592c41cb5b4c9471630414cb2124978e91c3fe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 rbac: \u0060CreateExperimentsForm\u0060 (slice \u0027experiments\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/CreateExperimentsForm.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a73fadd524c733ac0b536b9ee59d5d12a25aa3a09cdd8141aab59abea8955a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 posthog-analytics: \u0060MultiStepExperimentForm\u0060 (slice \u0027experiments\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b9d6fee745ecc330762e2afb53eb1f3323815c8d0874ea55500c7e203a18d7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 rbac: \u0060MultiStepExperimentForm\u0060 (slice \u0027experiments\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7febe6a49bc508082664c15cbe29fd5a3052a951803d7ef3b3c838dc6f9e2d1a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 playground: \u0060MultiStepExperimentForm\u0060 (slice \u0027experiments\u0027) depends on \u0060useModelParams\u0060 from slice \u0027playground\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"398f402c3fd904245cef42fc3e68d2a922b9952a7e4dbeaf4371679fa37a7db0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 notifications: \u0060MultiStepExperimentForm\u0060 (slice \u0027experiments\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"141a28185cc4939abf552febd840512bddb0d2b17a1ddaee86f721a576a83a0c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 rbac: \u0060RemoteExperimentTriggerModal\u0060 (slice \u0027experiments\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a367f70de3c92ccd79c419e197cc3ff81ef84cc726682fbc7083d72083266471"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 notifications: \u0060RemoteExperimentTriggerModal\u0060 (slice \u0027experiments\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9922f61068fffe4757614faa64b4fbcf3f2a083b8c1c213161a2eb87a8b768"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 notifications: \u0060RemoteExperimentTriggerModal\u0060 (slice \u0027experiments\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fbe200a61d11ad1a326ef4a9bab688a03dd60b3b8e2d4cc7f20a3b194430b7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 rbac: \u0060RemoteExperimentUpsertForm\u0060 (slice \u0027experiments\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e303e4b565e2278fb017e87194a4d82ac30c89b0854ce6c45bbe9202f2932a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 notifications: \u0060RemoteExperimentUpsertForm\u0060 (slice \u0027experiments\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c956d4e36b28f85abda4fcafd36d1a9dd19d9bf8d8add4d1c7c707cee74f2fa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 notifications: \u0060RemoteExperimentUpsertForm\u0060 (slice \u0027experiments\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7262704b8fb5d92632abb82f0460d2be35028cd6ff9acc2d30b7d02ad8e656ba"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 evals: \u0060EvaluatorsStep\u0060 (slice \u0027experiments\u0027) depends on \u0060TemplateSelector\u0060 from slice \u0027evals\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/steps/EvaluatorsStep.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7c93af72721135f7deccc05f5854c7bc2f77a012b807a76119737c2a1fa7fd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 evals: \u0060EvaluatorsStep\u0060 (slice \u0027experiments\u0027) depends on \u0060EvaluatorForm\u0060 from slice \u0027evals\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/steps/EvaluatorsStep.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"db93bc5b8801af1e5ef5bb973de7dcb79f17dd724e7fa40999b5d56079fa8aff"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 playground: \u0060PromptModelStep\u0060 (slice \u0027experiments\u0027) depends on \u0060CreateOrEditLLMSchemaDialog\u0060 from slice \u0027playground\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/steps/PromptModelStep.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a91ca37468120955ef4d8f5460a3d6ab400a5f6f1bbc8a9eb9e0a99197594fc"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 evals: \u0060useEvaluatorDefaults\u0060 (slice \u0027experiments\u0027) depends on \u0060PartialConfig\u0060 from slice \u0027evals\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/hooks/useEvaluatorDefaults.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da12c0687e908178d2f9dcf10968d61ddda938cc58378ccc9c5f7e18110a173"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 evals: \u0060UseExperimentEvaluatorDataProps\u0060 (slice \u0027experiments\u0027) depends on \u0060PartialConfig\u0060 from slice \u0027evals\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/hooks/useExperimentEvaluatorData.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1d46a025bca1fe139624cfdc13cbd2c930eae1d6e9363876467963b777e31d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 rbac: \u0060experimentsRouter\u0060 (slice \u0027experiments\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/server/router.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c58a2e0afa7ceda597c2628568217a79d6d50b3513044f79053f1968ee15f96"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 evals: \u0060EvaluatorData\u0060 (slice \u0027experiments\u0027) depends on \u0060PartialConfig\u0060 from slice \u0027evals\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/types/stepProps.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc165e5ee0b246458626d163ede76bbef45cefd2164a27d37c440cc5bb934bc"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: feedback \u2192 slack: \u0060feedbackApiHandler\u0060 (slice \u0027feedback\u0027) depends on \u0060sendToSlack\u0060 from slice \u0027slack\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/feedback/server/feedbackHandler.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0aeb2a59a8e7617f829e1446ee53af1caeec9a8dd9ab2b06f2d6b601d10380"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: filters \u2192 i18n: \u0060PopoverFilterBuilder\u0060 (slice \u0027filters\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c39d4349b1359ac2939fad8629edc4f1688712d3e6c2053a8cb5f3151472757"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: filters \u2192 posthog-analytics: \u0060PopoverFilterBuilder\u0060 (slice \u0027filters\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6b9e20df63b689aa36d05072da347cc3523b1dd390e4854baf39650ce31d96"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: filters \u2192 organizations: \u0060FilterBuilderForm\u0060 (slice \u0027filters\u0027) depends on \u0060useLangfuseCloudRegion\u0060 from slice \u0027organizations\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3647ef6e0a5fad30aa22bf6ae180adfcba37e6ced589eff41b7c3b8a0b0609"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: filters \u2192 projects: \u0060FilterBuilderForm\u0060 (slice \u0027filters\u0027) depends on \u0060useQueryProject\u0060 from slice \u0027projects\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38accd4627ee5591f1d4b6352c263c280fcdc6ce4702b3cb19a15356f7d0e0b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: filters \u2192 widgets: \u0060MultiSelect\u0060 (slice \u0027filters\u0027) depends on \u0060PropertyHoverCard\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/multi-select.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b88c7e030796ba57c7c3a3f3d357a9ebd1ccaf8d4721fb7e4b59cd29746ef0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: governance-overview \u2192 query: \u0060GovernanceOverviewPanel\u0060 (slice \u0027governance-overview\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebdcfc50da0cc0420b65149c406dec3a0cb2b1855c5f81265974114d6ba4a2e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: governance-overview \u2192 i18n: \u0060GovernanceOverviewPanel\u0060 (slice \u0027governance-overview\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9489550533093eead27e464ea84935e0f27666dbe403681691606e14b38031"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: governance-overview \u2192 query: \u0060GovernanceOverviewPanel\u0060 (slice \u0027governance-overview\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd614c3a18bf85699c6e49d03bca91381df519a50fb0be689c206251b6dca63"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: governance-overview \u2192 query: \u0060GovernanceOverviewPanel\u0060 (slice \u0027governance-overview\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc84c1f88021d9328a5aead7adb707f81d5a38890fb7775b7b65622a184f4dca"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: governance-overview \u2192 widgets: \u0060GovernanceOverviewPanel\u0060 (slice \u0027governance-overview\u0027) depends on \u0060DataPoint\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23a06d803a60faaa8263f85b0b60725f7c8c1bec075e08d03dc8541efe269f3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: governance-overview \u2192 dashboard: \u0060GovernanceOverviewPanel\u0060 (slice \u0027governance-overview\u0027) depends on \u0060DashboardCard\u0060 from slice \u0027dashboard\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f68a1f8cb6ed29f01f15b330451f3c40cb0b1044300ef836e0825380ef054b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: governance-overview \u2192 widgets: \u0060GovernanceOverviewPanel\u0060 (slice \u0027governance-overview\u0027) depends on \u0060Chart\u0060 from slice \u0027widgets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"02805474367c37e642c64d91c8e83e60014f9ff3a1525754a64fd18a6651b207"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: llm-api-key \u2192 rbac: \u0060llmApiKeyRouter\u0060 (slice \u0027llm-api-key\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"012b33acf162db81fc45d7b2226280baf596f409be4875b3eae321658d695188"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: llm-api-key \u2192 audit-logs: \u0060llmApiKeyRouter\u0060 (slice \u0027llm-api-key\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dfb5099cd29879db57502c8764f7987ff0231b201ad02290af5fcf228b1c4b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: llm-schemas \u2192 rbac: \u0060llmSchemaRouter\u0060 (slice \u0027llm-schemas\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-schemas/server/router.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84d35e0b732a63f7349f693ba8ae5103e202891af9a64b39ffa5600125f099b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: llm-schemas \u2192 audit-logs: \u0060llmSchemaRouter\u0060 (slice \u0027llm-schemas\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-schemas/server/router.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd52a7ac3d130933fd56dfd7a72cc436b01ba9feae6f765533269f094246526"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: llm-tools \u2192 rbac: \u0060llmToolRouter\u0060 (slice \u0027llm-tools\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-tools/server/router.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dc9a027dc2e6bde6914dba1c570299d974d67ef5bc846465b80fa0436f9ca7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: llm-tools \u2192 audit-logs: \u0060llmToolRouter\u0060 (slice \u0027llm-tools\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-tools/server/router.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e042a859dafff8cb58532fdec865c9c965ba996a636c0f5d50f2d2b02ea8f8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mcp \u2192 prompts: \u0060(module)\u0060 (slice \u0027mcp\u0027) depends on \u0060createPrompt\u0060 from slice \u0027prompts\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/createChatPrompt.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93c65fbe17f614e8e2c6d63528ffb323712d44cb824779b95e39193656c8b00"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mcp \u2192 audit-logs: \u0060(module)\u0060 (slice \u0027mcp\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/createChatPrompt.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfe689397824dc2fffccba45c82395d7cfd0cf168d7b0082cb3026416ff48dc"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mcp \u2192 prompts: \u0060(module)\u0060 (slice \u0027mcp\u0027) depends on \u0060createPrompt\u0060 from slice \u0027prompts\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/createTextPrompt.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f8c150a1d10ebf12cf0ad4b0f8a74d285a05271131978f972a6c1f1e7a217c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mcp \u2192 audit-logs: \u0060(module)\u0060 (slice \u0027mcp\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/createTextPrompt.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e200a791084607787421e394a9d9d2b756c0d179e0ef519ebfbe23b0133dd55"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mcp \u2192 prompts: \u0060(module)\u0060 (slice \u0027mcp\u0027) depends on \u0060getPromptByName\u0060 from slice \u0027prompts\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/getPrompt.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8254e9931440d8b99032b833ce14722f04037f8142ff6706b938297a7c19e4c5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mcp \u2192 prompts: \u0060(module)\u0060 (slice \u0027mcp\u0027) depends on \u0060getPromptByName\u0060 from slice \u0027prompts\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/getPromptUnresolved.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f5668ab864d0dda3153ac9c7765a94474fc5a69c23190cee8264388e1fad2e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mcp \u2192 prompts: \u0060(module)\u0060 (slice \u0027mcp\u0027) depends on \u0060getPromptsMeta\u0060 from slice \u0027prompts\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/listPrompts.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"de39d2ec7791d612db58ec13784d7fb387e67e9a68cc314d850fbdeff37280bd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mcp \u2192 prompts: \u0060(module)\u0060 (slice \u0027mcp\u0027) depends on \u0060updatePrompt\u0060 from slice \u0027prompts\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/updatePromptLabels.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3394b147c6dbccc83f011b1399f8beb08a74a49f3bcadcd9a152053e50b4d5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mcp \u2192 audit-logs: \u0060(module)\u0060 (slice \u0027mcp\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/updatePromptLabels.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3335afdfe47df45cef0d0459c7c32a8e931ad046411dbffdc066e486f0041f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mixpanel-integration \u2192 rbac: \u0060mixpanelIntegrationRouter\u0060 (slice \u0027mixpanel-integration\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"365fde617481c9790224bd19ede25bafaf6172bcde1c2269341c0561b98f20ce"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: mixpanel-integration \u2192 audit-logs: \u0060mixpanelIntegrationRouter\u0060 (slice \u0027mixpanel-integration\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"115e8b6dfe9ad26c6469bbe1ca08a93fde32a324a58af03c529a941e39b2d6c5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 rbac: \u0060CloneModelButton\u0060 (slice \u0027models\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/CloneModelButton.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f09c2a9fe0c38406bd965e716021a71a3f0cb0a1cabcc40bbb12eed3e2fef1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060CloneModelButton\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/CloneModelButton.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f713d0e06201df57cb401b6c6ef24b28b25227bff922fa397b2d6eaf525b98f0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060CloneModelButton\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/CloneModelButton.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8309df648acdd4fe7aa1e6cdfbfbc05a3267144bcb0ee6354bad00049f647ce2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 posthog-analytics: \u0060DeleteModelButton\u0060 (slice \u0027models\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/DeleteModelButton.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a33379a2d3e17804388d7e295ea8d07c245afdc0aa2bd85136f07c20114c25a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060DeleteModelButton\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/DeleteModelButton.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"199be23ada56e0fd8b672a29e0677f4d92ef66d1042f256271384e05e0e1c810"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 rbac: \u0060DeleteModelButton\u0060 (slice \u0027models\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/DeleteModelButton.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"948bbba1a1e17ff1556a5fa54f2426166d5881f99e2dbd2263f8b8a77d3893c0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060DeleteModelButton\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/DeleteModelButton.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2492baacbf4b64cef8dcf824b7cd1b9acd9f947483ad56ba1ad3347d37ce596f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 rbac: \u0060EditModelButton\u0060 (slice \u0027models\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/EditModelButton.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34b95e314b4ceeb8c9053b54cb2209fc0397947847bd04606036b9a54f70308"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060EditModelButton\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/EditModelButton.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9805ee6a6d3bd49657b673b4b0103eb843bfba44ac5049318d44cd6546e488a9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060EditModelButton\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/EditModelButton.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a4d738d465aaaa8c9b1e24f978e2af2c1d834e45f6095b69731542f3bd7fb9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060ModelsSettings\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/ModelSettings.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9967590962f184c9433b12bb64f805b909908bba5680a30266a4a06d22189ffe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060ModelsSettings\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/ModelSettings.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ba3550edeaacda29d6022146ba563e64a37b61cdae2c44fc7f56d70017c603"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060PriceBreakdownTooltip\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/PriceBreakdownTooltip.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75155b4253f9c600d2866983db168fad23ede0a4d086a273ebc408262a741f7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060PriceBreakdownTooltip\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/PriceBreakdownTooltip.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"741528fda2d5c086f429b2c1df13b4ad07952e9107df7cea5ac82a4f876b0328"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060PricePreview\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/PricePreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffb24196a7c21a802eae0209df57800bb44eeb18b3947daba51ccf3ac0ae1a1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060PricePreview\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/PricePreview.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0d8ea28a881b704b6f4fea37b4d4ba5c862e98943fbb91f7063c479d961c1d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060PriceUnitSelector\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/PriceUnitSelector.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7905380294af37d3fafaa48cb59f7f263684ff5a5c5d3c3cdb1612d46a449c61"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060PriceUnitSelector\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/PriceUnitSelector.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6a61bf46ca0e7cb3573261c3572c502a9173936796fbd7f8644a5221d59ee9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 posthog-analytics: \u0060UpsertModelFormDialog\u0060 (slice \u0027models\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c3dababeeaf172b26eff7064ddd92f04ded6b9729e0f6c10df9f10567661a3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060UpsertModelFormDialog\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5fd24987af6f2e8f896badc5546a89b5b08adf36b3d74e79b7b355b911bb06"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 notifications: \u0060UpsertModelFormDialog\u0060 (slice \u0027models\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ba0e18fcf9686f516ec2a09c4bcfb6630f33841436f6a4d287c5d606602393"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060UpsertModelFormDialog\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b9357b1072b00298d02a5aa60099f4f6c9eab80a479d5f19b3a2d6a1c628b5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060PricingSection\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/PricingSection.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f465bc196b12afcbaef6e9ba99dc50690126648eb059fff7ff567d56b0f16426"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060PricingSection\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/PricingSection.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0438fb20178ad2b402f6a55be836a7f558bf5cbd82a6e18be117488e1cff2d2f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TierAccordionItem\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierAccordionItem.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79b0e672f0e8f0905e7d80c1cf0083f1742e93ef14ed3c20f5864df556d3746"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TierAccordionItem\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierAccordionItem.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe93dc8d9b7934916c12967863f4b7e75173a074c48e57b25a1e392bac87346"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TierConditionsEditor\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1521e4337b8ab99d8a129700b072bfa5645f6fc3b903734c9fb58e2b3f56e6d3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TierConditionsEditor\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e3de1681305d0dee49bdafe8ff7c2e54f168038bdadef1aa64b6a0ae8f1adf"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TierPrefillButtons\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierPrefillButtons.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a677a1fb5a14de60c2bf689f7ed8bb1c02ed594693b0cbd8915a908200dae199"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TierPrefillButtons\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierPrefillButtons.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8775b46b4cd9eaa03dd0a6dfbb57f7e29559cda27d8196d49677a29edfd5908"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TierPriceEditor\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierPriceEditor.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f52a5f372f65159a0b7a36abd30c18fa27f7cd3df67534c4bc247593aca20b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TierPriceEditor\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierPriceEditor.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7e00b09bc9b19f022fbcc7070b0d05322e34e5cde0324ca8f689212439ff5e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060MatchedModelCard\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/MatchedModelCard.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfabe56608c649bf09d022250a76aa6ddf9bc290ba050f7cc11e95b9128b457"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060MatchedModelCard\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/MatchedModelCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"604ff1eebfc41b1429ce1e863886cd4d50af064df9f447c2256434c866964cf6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060MatchedTierCard\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/MatchedTierCard.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"23316de86f55c59a4c4f50e8abc0b7cab0bb3ce477b246b3ef4a50154206da37"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060MatchedTierCard\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/MatchedTierCard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56bdfb7053b4273896c943187ed6480c8ff157bf6cc98077041f0b2ed56d021"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060NoMatchDisplay\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/NoMatchDisplay.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"72de6e4bb5cba47b5f287f171c11ac72042f60b2e8ce83f8be0e96b46978eec2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060NoMatchDisplay\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/NoMatchDisplay.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ac9d023744d29efc39f0edc123327f96bd57bbe2a66ff0a91f43f63fa7b3c6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TestModelMatchButton\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/TestModelMatchButton.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d612ebc13f29a0645a9ad63fb78202f783b3fa6e8262725e348d8f666e6a6e92"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TestModelMatchButton\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/TestModelMatchButton.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d72af4031fff8f57ed2f580c8924cf8df418f4deacaf88e4d7c47589ffa622"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TestModelMatchDialog\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/TestModelMatchDialog.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6397b603998fb31e97394523cc3513dbc1c3cd4c0ef92da16fd2c7ead4bf8125"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060TestModelMatchDialog\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/TestModelMatchDialog.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf4fe814b6f74d6d1888190da9f825cae71640a65eb420fc5c3e907b9db399f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060UsageDetailsEditor\u0060 (slice \u0027models\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/UsageDetailsEditor.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b746ef45ec886db52a5e04701eab815f22025afb6681e13b803cc4bc487ce70c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: models \u2192 i18n: \u0060UsageDetailsEditor\u0060 (slice \u0027models\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/test-match/UsageDetailsEditor.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7866add471b00691dd4c92da11d916164cf52511bc6de5e1feea44f4d767cc0f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: natural-language-filters \u2192 i18n: \u0060naturalLanguageFilterRouter\u0060 (slice \u0027natural-language-filters\u0027) depends on \u0060getLanguageFromCookieHeader\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/natural-language-filters/server/router.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30409fcc236036debe4fdddcd73da5a6a6d6435d24893a40dc9c6cb702ee127"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: natural-language-filters \u2192 rbac: \u0060naturalLanguageFilterRouter\u0060 (slice \u0027natural-language-filters\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/natural-language-filters/server/router.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"62501ce0ffa5cc87f686bc190d60f046aba8190d73c85330557477e0dba98034"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: natural-language-filters \u2192 i18n: \u0060naturalLanguageFilterRouter\u0060 (slice \u0027natural-language-filters\u0027) depends on \u0060applyLanguageInstructionToMessages\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/natural-language-filters/server/router.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6de8ae9003c2e1ba649ebcec721ab2652aac6bef94a22e704b91caf756de3a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: navigate-detail-pages \u2192 posthog-analytics: \u0060DetailPageNav\u0060 (slice \u0027navigate-detail-pages\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/navigate-detail-pages/DetailPageNav.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"424a6d49bd0993ce8972a0a452815e791bf229be6afc02fdbee1581347f6bb43"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notifications \u2192 support-chat: \u0060ErrorNotification\u0060 (slice \u0027notifications\u0027) depends on \u0060useSupportDrawer\u0060 from slice \u0027support-chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/notifications/ErrorNotification.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c935af485d8e2955c9f1920c0aada6fc38b2dd3c5e40755179bc1b53692637"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notifications \u2192 posthog-analytics: \u0060Notification\u0060 (slice \u0027notifications\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/notifications/Notification.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4c3dcc3f824bdd5c0c39adfef1c90ea62f5a53ca156f6988fbfb26b97402ed"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notifications \u2192 i18n: \u0060NotificationSettings\u0060 (slice \u0027notifications\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/notifications/components/NotificationSettings.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c586e853cec5da10f313eb825a3817fadbdb32155a864c3353bcb7783d786bdf"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notifications \u2192 rbac: \u0060NotificationSettings\u0060 (slice \u0027notifications\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/notifications/components/NotificationSettings.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ee74fb2dad9229438847d2bac323f82d4695b0c82155e13fec18ecccc9c0a2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notifications \u2192 i18n: \u0060NotificationSettings\u0060 (slice \u0027notifications\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/notifications/components/NotificationSettings.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6725b035ad532f31cca0c62e951e4a7d958ea4c66c6b62ef632fa18448f72a28"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: onboarding \u2192 i18n: \u0060OnboardingSurvey\u0060 (slice \u0027onboarding\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/components/OnboardingSurvey.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3615be633622579054515696f152c289ab6d5d24d7429a5b5c34c51af0fb244"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: onboarding \u2192 i18n: \u0060OnboardingSurvey\u0060 (slice \u0027onboarding\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/components/OnboardingSurvey.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0536faed834f5336d84b6f219c9e1f9aa0a67a91f9e7b845585022efadbbc5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: onboarding \u2192 i18n: \u0060SurveyStep\u0060 (slice \u0027onboarding\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/components/SurveyStep.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a71d6f5ce37367513d79529450756a2c0a81412a2e5283b15b37dd23569666"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: onboarding \u2192 i18n: \u0060SurveyStep\u0060 (slice \u0027onboarding\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/components/SurveyStep.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd4d7f232b2a50ef65bedbb2f9a9ca96f9d4a2481127df74845038983dbf845"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: onboarding \u2192 i18n: \u0060useSurveyForm\u0060 (slice \u0027onboarding\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/hooks/useSurveyForm.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"259a0c00743efccf5e176c6f97ce5957b7144b7e782cd8d1bb60ec71c3e762b9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: onboarding \u2192 notifications: \u0060useSurveyForm\u0060 (slice \u0027onboarding\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/hooks/useSurveyForm.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeefad6d0362dfbe625b73f5eaf6dcfe529cbea3fef587558a1a012ef35582ad"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: onboarding \u2192 i18n: \u0060useSurveyForm\u0060 (slice \u0027onboarding\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/hooks/useSurveyForm.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"91671a6bc9738c44ea41b964414e21754e392acbf21ae9b02baa68b1d7bfcabc"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: onboarding \u2192 notifications: \u0060useSurveyForm\u0060 (slice \u0027onboarding\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/hooks/useSurveyForm.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad970eef7484f4ba2495516069700db6bdc134a9421241cb7bb102ed04f308aa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 posthog-analytics: \u0060AIFeatureSwitch\u0060 (slice \u0027organizations\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/AIFeatureSwitch.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"87580d149c7e6a0d1a020b464af0079774ea7d146446fcc9c98cbf01f131f54d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 i18n: \u0060AIFeatureSwitch\u0060 (slice \u0027organizations\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/AIFeatureSwitch.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a570a6470f01d1d7915baa75c563b07ff165489fb60952c2ae117b0f6795921"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 rbac: \u0060AIFeatureSwitch\u0060 (slice \u0027organizations\u0027) depends on \u0060useHasOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/AIFeatureSwitch.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"21952454989022a2ba6a4af8e8e4bf925ca8c4763bdedc24f221807225b61499"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 i18n: \u0060AIFeatureSwitch\u0060 (slice \u0027organizations\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/AIFeatureSwitch.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8006a2f2b2ddbbf886b3a57e57be0ab5d5295fd49d0332d523ba128162c063"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 posthog-analytics: \u0060DeleteOrganizationButton\u0060 (slice \u0027organizations\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc358c0685cbdcc9b047e41b54b080695f50191d6d5f4dec44675646ddef297"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 i18n: \u0060DeleteOrganizationButton\u0060 (slice \u0027organizations\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda31775089078d1b26bfd5781ccc45d0c8fe985dc8082cc7ce3e92207a9000a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 i18n: \u0060DeleteOrganizationButton\u0060 (slice \u0027organizations\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf67560f8b4d0a45c47fcb0f7e374818f2e75c55225c102be4a84b830faecb4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 rbac: \u0060DeleteOrganizationButton\u0060 (slice \u0027organizations\u0027) depends on \u0060useHasOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7708c7f651fc115f567eb0e822d5d9db48293fa3791a285f8fc4408c034a352"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 notifications: \u0060DeleteOrganizationButton\u0060 (slice \u0027organizations\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d913ae6ddf4be21a7a1bbbca5bfb2598270ae71cf0aad6821aae2526826dd7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 i18n: \u0060NewOrganizationForm\u0060 (slice \u0027organizations\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"966d3703f6ef8f0ab7c3cfbeff14f58b5e0f1ab485ec1fd0980fa20a8e4717ef"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 posthog-analytics: \u0060NewOrganizationForm\u0060 (slice \u0027organizations\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4df49fe90260974a1886c9edf25fac1cac27d940a8d73713e77fd996b919e49"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 i18n: \u0060OrganizationProjectTiles\u0060 (slice \u0027organizations\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/ProjectOverview.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"132f5aec1995e0bcd36f770ae72080a4ad5c92850911c6ff4ce6b129a6812d3d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 rbac: \u0060OrganizationActionButtons\u0060 (slice \u0027organizations\u0027) depends on \u0060useHasOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/ProjectOverview.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0bf2ec22251311376e193c751a8dbeac169c06b38ff54a27762f229ab9f73d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 setup: \u0060OrganizationActionButtons\u0060 (slice \u0027organizations\u0027) depends on \u0060createProjectRoute\u0060 from slice \u0027setup\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/ProjectOverview.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b039632413a2bcb2935eabe13eac191a159f15f523e611f543c9ecf9318f62b1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 setup: \u0060OrganizationProjectOverview\u0060 (slice \u0027organizations\u0027) depends on \u0060createOrganizationRoute\u0060 from slice \u0027setup\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/ProjectOverview.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"934758e02403dfe8931e76b05c615d8c3a95f8e93e1a7db46f9c3aba3da60236"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 posthog-analytics: \u0060RenameOrganization\u0060 (slice \u0027organizations\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa98213c20c12a9d2c277da519552135f2d53276282b067280053cd7a5c2d196"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 i18n: \u0060RenameOrganization\u0060 (slice \u0027organizations\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"557bdb18a7d7053e6917c745b354dffe36c8eccda479baab1d190d4989bd9721"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 rbac: \u0060RenameOrganization\u0060 (slice \u0027organizations\u0027) depends on \u0060useHasOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a2c1f96fd4990d74677a69d6b9a3b2323af97a2c26de49fddc8f7e0df012d4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 auth: \u0060RenameOrganization\u0060 (slice \u0027organizations\u0027) depends on \u0060projectNameSchema\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee84b82d9f932995e481a4e986a54a131491f0bad7c97f6f1a83d9f65419c47e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 i18n: \u0060RenameOrganization\u0060 (slice \u0027organizations\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"260009ec44cbd226e4fa4838b843576d25483997b35770ccc0f70f83a1670cba"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 audit-logs: \u0060organizationsRouter\u0060 (slice \u0027organizations\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/server/organizationRouter.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f17cc4fa8277fdc0659bd7e062bc77cf8021817ba6e99198681436ebad23fd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 rbac: \u0060organizationsRouter\u0060 (slice \u0027organizations\u0027) depends on \u0060throwIfNoOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/server/organizationRouter.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e101942c15fd6795dd975a916e87041a5b4eee0891eecd7f558d65d9e12c5d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: organizations \u2192 public-api: \u0060organizationsRouter\u0060 (slice \u0027organizations\u0027) depends on \u0060ApiAuthService\u0060 from slice \u0027public-api\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/server/organizationRouter.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb9fba34d9540f2579fa1599294e5b14deab7f88aaed786dd469a8a14f71165"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: payment-banner \u2192 projects: \u0060PaymentBanner\u0060 (slice \u0027payment-banner\u0027) depends on \u0060useQueryProjectOrOrganization\u0060 from slice \u0027projects\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/payment-banner/PaymentBanner.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c16bfc3060f91f77ab5612fe85eeb92b43c103a48e724fcd9641faaec5bfa88"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: payment-banner \u2192 rbac: \u0060PaymentBanner\u0060 (slice \u0027payment-banner\u0027) depends on \u0060hasOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/payment-banner/PaymentBanner.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b704e66c6cb0d90cdf1bfa0ebea97461b415f705adcf53e5bc033cd77e0a8555"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 llm-schemas: \u0060formSchema\u0060 (slice \u0027playground\u0027) depends on \u0060LLMSchemaNameSchema\u0060 from slice \u0027llm-schemas\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3caa734e263d73fc8f09a158c2a1c4ef40a6794fd3d8b460ed824ca72da82f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 notifications: \u0060CreateOrEditLLMSchemaDialog\u0060 (slice \u0027playground\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"20915d05671825b82d2873480e64916a7e0561cea279a07439b4cf1f8a8508b3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 llm-tools: \u0060formSchema\u0060 (slice \u0027playground\u0027) depends on \u0060LLMToolNameSchema\u0060 from slice \u0027llm-tools\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c8bf6baa6ef8a3f68a06b7dc445ef6f9dda6ef48502fa831df8458d7de3d7b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 notifications: \u0060CreateOrEditLLMToolDialog\u0060 (slice \u0027playground\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efb11294136973ab949d3f6ded12c4c10d80aa486edd3d643245b7f6091a3f1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 posthog-analytics: \u0060JumpToPlaygroundButton\u0060 (slice \u0027playground\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60139fd52e26bbf43b395e4875dab63a5b33c1fb70f6829d5a46cb7e344cbed"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 posthog-analytics: \u0060SaveToPromptButton\u0060 (slice \u0027playground\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/SaveToPromptButton.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d813623653ba5fad617ed70d09c9ae735c265d2e82a6e1873a50844919ae2fe"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 posthog-analytics: \u0060PlaygroundProvider\u0060 (slice \u0027playground\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"552c0e07b07ef329c1a7f384be937ae446d9e71d1614d7ae5dff9d515c169e07"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 notifications: \u0060PlaygroundProvider\u0060 (slice \u0027playground\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d2166e8e5c28a59b31aee407fe643a46160b078386f16b4c14dfbd385ea4d0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 notifications: \u0060useWindowCoordination\u0060 (slice \u0027playground\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/hooks/useWindowCoordination.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2277be1aa159bae244e5e0516a9518e80f7b94c4a86aedb2a2a4819af8b79a0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 posthog-analytics: \u0060PosthogCallbackHandler\u0060 (slice \u0027playground\u0027) depends on \u0060ServerPosthog\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/server/analytics/posthogCallback.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f457032b4e80758ecf9588cc0051db063b3305c3f7d07806e781017281cc90ec"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 i18n: \u0060chatCompletionHandler\u0060 (slice \u0027playground\u0027) depends on \u0060getLanguageFromRequest\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/server/chatCompletionHandler.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a93ae7558d15af564843ea2957b60486218eb2bb171dd7009beccee8342e94"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: playground \u2192 i18n: \u0060chatCompletionHandler\u0060 (slice \u0027playground\u0027) depends on \u0060applyLanguageInstructionToMessages\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/server/chatCompletionHandler.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e336da54d5e92093c8ad79c4fab999e9093da1febdd44e698f9a564737b85b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 i18n: \u0060PolicyGuideCard\u0060 (slice \u0027policy-governance\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"752b7ab7b24fd1834337773f3f465c51a49bf7af74d9c5afd6324c37a9a4a171"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 query: \u0060PolicyGuideInsightsInputSchema\u0060 (slice \u0027policy-governance\u0027) depends on \u0060viewVersions\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea37604e60531aedbede0b6172153f65b8d81131ced7b9a622562d43105bbcc"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 file-paths: \u0060resolvePolicyPaths\u0060 (slice \u0027policy-governance\u0027) depends on \u0060trimTrailingPathSeparators\u0060 from slice \u0027file-paths\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"271704d5988f4c1b4c60cdf4942bb126da7673566053e54af25ea92655f0a469"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 file-paths: \u0060resolvePolicyPaths\u0060 (slice \u0027policy-governance\u0027) depends on \u0060rewriteAbsolutePathFromPrefixMappings\u0060 from slice \u0027file-paths\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa7abb486df09792923a3ffff625cf9cb46bf163dd17c35239501fb9431c038"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 query: \u0060getPolicyViolationCounts\u0060 (slice \u0027policy-governance\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"1857188acdf726298ab24a2034fda0ee5accd8c7a1f734f4b132d23c968f6618"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 query: \u0060getPolicyViolationCounts\u0060 (slice \u0027policy-governance\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa1a524c1ec2af09389af663fee0c6155ae402921410867fdb7072bd70cc83a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 query: \u0060getPolicyViolationCounts\u0060 (slice \u0027policy-governance\u0027) depends on \u0060executeQuery\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"591cb4ced6efa399b2e28810f235f0ac228ee23644dbc3215ea85534c763031d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 policy-suggestions: \u0060getTurnBlockedAction\u0060 (slice \u0027policy-governance\u0027) depends on \u0060buildSampledTurnContext\u0060 from slice \u0027policy-suggestions\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69febb7af30a4881135f9438770678d65b7b356621ad6012dcc40bc98834f55"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 rbac: \u0060policyGovernanceRouter\u0060 (slice \u0027policy-governance\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"b314e359fd4141766cd19e1b395a6d171d37f1bfbf7564f5984b753efc25261b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 policy-suggestions: \u0060policyGovernanceRouter\u0060 (slice \u0027policy-governance\u0027) depends on \u0060getRejectedTurnDetails\u0060 from slice \u0027policy-suggestions\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c272d4000c95dee57811916339befd0b13a96e9e07382798d84b41acaf646d3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 i18n: \u0060policyGovernanceRouter\u0060 (slice \u0027policy-governance\u0027) depends on \u0060getLanguageFromCookieHeader\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c21494a1481c0231b7214e6a8935bf3d74cf20bcc811b587c862b9b576bec47"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 rbac: \u0060policyGovernanceRouter\u0060 (slice \u0027policy-governance\u0027) depends on \u0060projectRoleAccessRights\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe9511e3ab23dfcb5982f3e75b8018c25ca0537566cc4861d285159d8f62eea"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 error-analysis: \u0060policyGovernanceRouter\u0060 (slice \u0027policy-governance\u0027) depends on \u0060resolveDemoOpenAIModel\u0060 from slice \u0027error-analysis\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f774a0d8b0a51afc68d6342b04b65ad4d50a8a458c1f2d716b881ea8c0d74f2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-governance \u2192 i18n: \u0060policyGovernanceRouter\u0060 (slice \u0027policy-governance\u0027) depends on \u0060applyLanguageInstructionToMessages\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33809aadff69126f2247089cabe595dc05a512a734d376d49d0356f1bdc3efb"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 query: \u0060mockedExecuteQuery\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060executeQuery\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.servertest.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc657e0568dfab70b579cd4990e5520ed73e73f77237d7df0b127b7393f357d6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 query: \u0060GeneratePolicySuggestionInputSchema\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060viewVersions\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4000caa0ce46d66ba45bc945248298c8145c1446e673c18435403d96253ffdca"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 governance: \u0060getObservationHumanConfirmationState\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060mergeRelevantPolicyMetadata\u0060 from slice \u0027governance\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bfd6cb76dd30abbe01cba83aad591416902164a28fa0b85381cb7eba8dc8b6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 governance: \u0060getObservationHumanConfirmationState\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060getHumanPolicyConfirmationState\u0060 from slice \u0027governance\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c4b7d6070931de5f09078d0eb55d42a0617d0b46303c7a81c254a239711fb2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 governance: \u0060isPolicyViolationObservation\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060getObservationTurnIndex\u0060 from slice \u0027governance\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf50ac2c0f239c112f4b5154fa0b6aa03764448ff50ad580db08da9e4c8ea08"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 governance: \u0060isPolicyViolationObservation\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060derivePolicyNamesFromMetadata\u0060 from slice \u0027governance\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"058e2c41d4f0e6675a95b15c09598264d098b5bb52c82d32097d09ad07df2d03"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 governance: \u0060isPolicyViolationObservation\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060getBooleanFlag\u0060 from slice \u0027governance\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f80bb4e5bbe916b06a1c2da9eab33635def2a3e470d669332351e9e53dcb0a8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 governance: \u0060getInactivateErrorTypeFromObservation\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060parseStringArray\u0060 from slice \u0027governance\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9641807dfb5a59b5731d1fb913228e6129c51a17c0ae908a3eb57ba143d1e8c5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 query: \u0060getRejectedTurnDetails\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"727a921d0f8e68e0360637517922c8aee6b8f1a0e89bb8dd1b3ebfa4ee90099d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 query: \u0060getRejectedTurnDetails\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a7c2adeb9f740bb2eb947a50a4ace73ed236e23dc5a3bafb626c8c5ec68c00"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 query: \u0060getRejectedTurnDetails\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060executeQuery\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"70472dd9cb08c8920d340edc1c7f9c1d9a34f586ba108e4bd7b26e10abe6f4f4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 governance: \u0060buildSampledTurnContext\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060getMetadataRecord\u0060 from slice \u0027governance\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"db74021bcb975604eff25187c23f95b53785a8c706e6da9ace3091475dfe90b3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 governance: \u0060buildSampledTurnContext\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060parseStringRecord\u0060 from slice \u0027governance\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e57fcb9279bb55b7340117575b21782edc33694ac457867c9d944d4b3b3268"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 i18n: \u0060policySuggestionRouter\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060getLanguageFromCookieHeader\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"108beb5c585d48f30cece7dd65796061c7bb5a0e4b44174e74d75682ece30397"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 rbac: \u0060policySuggestionRouter\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060projectRoleAccessRights\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0f827fd4fdcff8d17ccbbc505c32d158ef0169cd51cdad91164ff01aeb8ce4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 error-analysis: \u0060policySuggestionRouter\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060resolveDemoOpenAIModel\u0060 from slice \u0027error-analysis\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"3378b645a6a85f2032b02d872e84323bd6e5b932cc2e6951d400a10cf2e5bd4c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 i18n: \u0060policySuggestionRouter\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060applyLanguageInstructionToMessages\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"213ef82d53d46743789a560ebb39461aea2a6a996230398043a440a0d85c9dc1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: policy-suggestions \u2192 error-analysis: \u0060PolicySuggestionModelSchema\u0060 (slice \u0027policy-suggestions\u0027) depends on \u0060ErrorAnalysisModelSchema\u0060 from slice \u0027error-analysis\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/types.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed91b92eaf08b45ac242033bb307902468a23a70366d89fdee1286b631a5b56e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: posthog-integration \u2192 rbac: \u0060posthogIntegrationRouter\u0060 (slice \u0027posthog-integration\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/posthog-integration/posthog-integration-router.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba02dd9338fe7bde599b54989598153fd72caf30de5ecce9688ffbab988214a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: posthog-integration \u2192 audit-logs: \u0060posthogIntegrationRouter\u0060 (slice \u0027posthog-integration\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/posthog-integration/posthog-integration-router.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"735c2bcd4269589056845fddc14bbfdbcb9e87b74aea315acb7363189719c728"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 posthog-analytics: \u0060ConfigureRetention\u0060 (slice \u0027projects\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f2008ed5638da66649efdaa5db66800311cc6c1627b8c2de589523ac9b65c5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060ConfigureRetention\u0060 (slice \u0027projects\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ba4eea10a10d850162d07d28a386cccdc58194d23394bb95caeef22ee519d2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 rbac: \u0060ConfigureRetention\u0060 (slice \u0027projects\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a073c7663c50daafbc275ca6afbd2e69faf5f0cd0494924a60c73f2e721550"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 entitlements: \u0060ConfigureRetention\u0060 (slice \u0027projects\u0027) depends on \u0060useHasEntitlement\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dcc1ebac3bbbe28b96f16f59d18d98695341a2549cf957421b6f9260e9f901"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 auth: \u0060ConfigureRetention\u0060 (slice \u0027projects\u0027) depends on \u0060projectRetentionSchema\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e3511c392b06acac1ed8af788670af4659485b1e23661123cfe166e846c241"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060ConfigureRetention\u0060 (slice \u0027projects\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7527fcb838ec3dd4b9701e7608bdc6e799e2d394a909218218f9daf609b70926"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 posthog-analytics: \u0060DeleteProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/DeleteProjectButton.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c814b5812c1366e74253a928b58b05940b84c120a419aa55ece37fcfd960a5ad"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060DeleteProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/DeleteProjectButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eaf452d37265bb4a1a1d40d3142cc41cbd8f5d702e1790027b300bcbaba5f6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060DeleteProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/DeleteProjectButton.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b00d5f1bdf54e352bc8af936059162966a3dc1c5953ca582fa7e8ef8a9fa08b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 rbac: \u0060DeleteProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/DeleteProjectButton.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6078daced79f53ac2e6b5bb185ee79cdfc3830b25752f89a99c879263a31ef9f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060HostNameProject\u0060 (slice \u0027projects\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/HostNameProject.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec040cb0f2f6b427f6b63944e5115f86d487473f8a288c73b50397203b52798b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060HostNameProject\u0060 (slice \u0027projects\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/HostNameProject.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3439e582841472b377bff2b43dbf325071cc605368f52cea8b8399d9a308b3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 posthog-analytics: \u0060NewProjectForm\u0060 (slice \u0027projects\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/NewProjectForm.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a2d7a21912a743420daa67541de606d9f475db3ebf304336f9940912fc1f44"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060NewProjectForm\u0060 (slice \u0027projects\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/NewProjectForm.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fe886fb58718e8fb3e3fb4c301a630b5106f63d4a85d66e6e9ca7f9643149c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 auth: \u0060NewProjectForm\u0060 (slice \u0027projects\u0027) depends on \u0060projectNameSchema\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/NewProjectForm.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd4a42b67aecdb97aff44b77cc139691cf06f90d40f5d09ddff43b9499cb447"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060NewProjectForm\u0060 (slice \u0027projects\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/NewProjectForm.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b326f1077115ab893437b15686b58cd79b5435c5f8b5f1c6002575cb43bd36a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 posthog-analytics: \u0060RenameProject\u0060 (slice \u0027projects\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/RenameProject.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8c4a999e08371882ec56cd761ee8264879645fd0e983d1cf1be9ee6373c56f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060RenameProject\u0060 (slice \u0027projects\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/RenameProject.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"71091719d53969030baca52f1bbf1e7af3a7589b7b886ec6a844e8d2f633d167"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 rbac: \u0060RenameProject\u0060 (slice \u0027projects\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/RenameProject.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7857590f6b2b8dc7d219c05baa8d13b3dea6167b64e58f2ededa2f88caaa5825"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 auth: \u0060RenameProject\u0060 (slice \u0027projects\u0027) depends on \u0060projectNameSchema\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/RenameProject.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c443fc1bf7c8a4601b06461cc09143815ba33e1462c3726dc49314028c820a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060RenameProject\u0060 (slice \u0027projects\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/RenameProject.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad0631f663c4f2fb9cf7a2686497d626db4dccf88044a4c7827020a9716895a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 posthog-analytics: \u0060TransferProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/TransferProjectButton.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0868bc56c3e6e60b1eb878f37d67d65075c361de047094e1b00d53ca7cd2062e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060TransferProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/TransferProjectButton.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce070234602c17efa7132805449eb8f6f910366affd1440a562f3bc5d358393"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 rbac: \u0060TransferProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060useHasOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/TransferProjectButton.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf43c401f45cc3b527b269d871b46bd9d436876871c41bef8f64eaa8da355507"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 rbac: \u0060TransferProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060hasOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/TransferProjectButton.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"717798923ad858f89a00d7ed5a0177fe7901b05ee1d60535c5bd1485e55d3753"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 i18n: \u0060TransferProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/TransferProjectButton.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"163ecca5c0a3a00f30630e3c93cd8025197bf740051194388f1695d8ba735e4d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 notifications: \u0060TransferProjectButton\u0060 (slice \u0027projects\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/TransferProjectButton.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2c92215c3aee28283c4b9544ff169144aa5335f58db2b66082f9e55acf466d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 organizations: \u0060useQueryProjectOrOrganization\u0060 (slice \u0027projects\u0027) depends on \u0060useQueryOrganization\u0060 from slice \u0027organizations\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/hooks.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af36b15b2c4e9f0ac4a935002952397bf9eada8ae49fe783aff0d3ccebb8553"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 experience-summary: \u0060ProjectAutoErrorAnalysisSettingsSchema\u0060 (slice \u0027projects\u0027) depends on \u0060ExperienceSummaryMarkdownOutputModeSchema\u0060 from slice \u0027experience-summary\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebb9ba867c2d41207ee8b69abbc28a1197a68f68e7cd2967c2b651017fbacbd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 rbac: \u0060projectsRouter\u0060 (slice \u0027projects\u0027) depends on \u0060throwIfNoOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"93854a39bf2cf3e7d7014c590be0f758d742e8a9d8f97d4bcfa6415e90e3c18d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 audit-logs: \u0060projectsRouter\u0060 (slice \u0027projects\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9643dca5cdc849ca574382c0153f083fe7f0d9b23d189b03a5ae9cba58a7c2a5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 auth: \u0060projectsRouter\u0060 (slice \u0027projects\u0027) depends on \u0060projectNameSchema\u0060 from slice \u0027auth\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3f0e623618401757fb5bfcc684ec6adcad2022b9a9977f74350bc26e8d23bf"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 rbac: \u0060projectsRouter\u0060 (slice \u0027projects\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"672d6aed5bfaafd4ee32ff26c5498f1500e7b5671aa20ec38481b24501eff61c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 file-paths: \u0060projectsRouter\u0060 (slice \u0027projects\u0027) depends on \u0060rewriteAbsolutePathFromPrefixMappings\u0060 from slice \u0027file-paths\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a57f80b48b3a993c9f1a89f2e1e1e28ab8f4e1e72715be46faa01e3ee2e15a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 experience-summary: \u0060projectsRouter\u0060 (slice \u0027projects\u0027) depends on \u0060ExperienceSummaryJsonSchema\u0060 from slice \u0027experience-summary\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dd7028a9d52b506c7f44416ca7513abcb6053b3f0ed27dce8602014714dfd3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: projects \u2192 public-api: \u0060projectsRouter\u0060 (slice \u0027projects\u0027) depends on \u0060ApiAuthService\u0060 from slice \u0027public-api\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f3008d0bd49c455cceb5a05d3452e286f0940637acb07a35902c99ad2c36af"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 playground: \u0060NewPromptForm\u0060 (slice \u0027prompts\u0027) depends on \u0060usePlaygroundCache\u0060 from slice \u0027playground\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2f91de6049d7442ed4067df5de5defed3f9d3882f2bd1752778fda8d05310d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 posthog-analytics: \u0060NewPromptForm\u0060 (slice \u0027prompts\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b6bd84c42ad74bb278e3fae64910e2dcedfcf0972a2d99b5f9579ebe36c907"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 i18n: \u0060ProtectedLabelsSettings\u0060 (slice \u0027prompts\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/ProtectedLabelsSettings.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d361c326da5609b4cbbe7102c792e53da9fa8b5503fce3c356b34ccaaf73194"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 rbac: \u0060ProtectedLabelsSettings\u0060 (slice \u0027prompts\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/ProtectedLabelsSettings.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e9a6d8d8d80c4caddcb579e2861d903248f40f6e12bb971d2dd5c5d7e6b6bb"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 entitlements: \u0060ProtectedLabelsSettings\u0060 (slice \u0027prompts\u0027) depends on \u0060useHasEntitlement\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/ProtectedLabelsSettings.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4845bab6a6975036d4b80e37b7bb2d87b1b04a4a930574cb08d047fca1fd06"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 i18n: \u0060ProtectedLabelsSettings\u0060 (slice \u0027prompts\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/ProtectedLabelsSettings.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47295a8da9fa03a6f31b8cb95ac44ca9015651b4cf7c101a83194da0e223710"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 posthog-analytics: \u0060AddLabelForm\u0060 (slice \u0027prompts\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/AddLabelForm.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4bd8b696f9ac65b84ad7463ede84ebc25d74947b76eac151ff0c6932361bf6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 posthog-analytics: \u0060SetPromptVersionLabels\u0060 (slice \u0027prompts\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b582fee7e66fde65d7c1d525134ea74c9a030f356a21f497751f40e1c322c33"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 rbac: \u0060SetPromptVersionLabels\u0060 (slice \u0027prompts\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c924a9f19bcb0c5f427b94cc0ec20dbf876e72b9e5665a30a760a3324308e0de"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 rbac: \u0060DeleteFolder\u0060 (slice \u0027prompts\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/delete-folder.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"98703cb1fc407a70700691efbe9989527bc9463e585c036d55498e10c0358378"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 posthog-analytics: \u0060DeletePromptVersion\u0060 (slice \u0027prompts\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/delete-prompt-version.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b58a127ede033cc2dabe5ee4ba6c97b6a9ce5f3c8a455ff6f94b009a1d5cff"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 rbac: \u0060DeletePromptVersion\u0060 (slice \u0027prompts\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/delete-prompt-version.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b75207d50176992e31582b5b0f41321efd2638f395f838f8df45a6f39d0eac"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 rbac: \u0060DeletePrompt\u0060 (slice \u0027prompts\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/delete-prompt.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1806cfe6198db7a7966572ba4f1b7b2c8e211257428165dca19e713c6eed06a0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 posthog-analytics: \u0060DuplicatePromptForm\u0060 (slice \u0027prompts\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/duplicate-prompt.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6cb94c74f392d564016e2f2f079fedc332fdb07623d487eb3109a96917414d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 rbac: \u0060DuplicatePromptButton\u0060 (slice \u0027prompts\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/duplicate-prompt.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2682ad2d9ea7368714cbfbfe706afa8a76d25015a4347b017e09fbd3ea87de7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 entitlements: \u0060DuplicatePromptButton\u0060 (slice \u0027prompts\u0027) depends on \u0060useEntitlementLimit\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/duplicate-prompt.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe3d074e42afeda27b89dbd258ad4123b15726fa450e2298c9937990b91f305"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 posthog-analytics: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ffdc281e40f167ad7e0ed33e4a8a4bbc7909a362d993630d1ee4d09cb01238"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 rbac: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eacb88c7a2aef137d4d249b4c3ca35c26171f3813b3285562b478d897acd60"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 notifications: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bf6c9d665eee86ba6ba29f1937f0d287c9f4226e14dfbd36f6bae91a746839"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 folders: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060createBreadcrumbItems\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"960555a9cbac959704808d6103e25d832ddc117f003fb2d5bae0f991210f8404"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 navigation: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060getPromptTabs\u0060 from slice \u0027navigation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"383165edf7b91b031e0530b569b8de07284aba885f4e68be8d460cc863cef2da"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 navigation: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060PROMPT_TABS\u0060 from slice \u0027navigation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a8f6023591afb6a7b3bd3ab48e3ca44d8167b8a1eef3c459ec8454c028f1db"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 tag: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060TagPromptDetailsPopover\u0060 from slice \u0027tag\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b1e0c8ec0ed80e1b25cc0418e63fd249ee6b34238a17475baf9abea7c36682"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 navigate-detail-pages: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060DetailPageNav\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6120c7e530f5ab85bf92f908bb6b3885f8802e80c9a11c7070af06bd71de2f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 playground: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060JumpToPlaygroundButton\u0060 from slice \u0027playground\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c109fa6a6d043c188541d8ac03f1572e978e578c5613f04082b45b14eee34270"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 experiments: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060CreateExperimentsForm\u0060 from slice \u0027experiments\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d2b83a0e9a1f9d0f03c41ddca23f31c29ec9d8878de801fdc49c2d5fae6fae"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 comments: \u0060PromptDetail\u0060 (slice \u0027prompts\u0027) depends on \u0060CommentDrawerButton\u0060 from slice \u0027comments\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaac92e3f88f08cecd680436d6680cba81c73049085ef7e5b8bff099ee6a0166"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 comments: \u0060PromptHistoryTraceNode\u0060 (slice \u0027prompts\u0027) depends on \u0060CommentCountIcon\u0060 from slice \u0027comments\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-history.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5866ad149861b8164edec8676867e38c774379453edf7d8a07420c9f9b7e1190"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 navigate-detail-pages: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0490add747f07aeb8a137e1bb6c24811b8710a18c93260e4bcd449e576b8d2d7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 filters: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060useQueryFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a6a506bcf316fbd8083bfd12129d77e3895158847242ff73f95fbb7687d34d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 orderBy: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060useOrderByState\u0060 from slice \u0027orderBy\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"be16b000679bc06270cc2acd6ed9fa9bb7c797308085b6ee9369e265e1bbd8a5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 folders: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060useFolderPagination\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"670cf0c02f483c2019ea83ae2e4bb928d69a78a87f831798cde0cc830a5bb31c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 folders: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060buildFullPath\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"700c39538600e219d33de813177016f1079fe4b3c9127e11bfe9434877c709a9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 filters: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060useSidebarFilterState\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e9d4f347caafd75fd346c1685394489ea898dfa9ff75193ec313b9e6a48d38"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 filters: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060promptFilterConfig\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"211e3518b1f971013e95e9ed8af09490b5b74debb82f512921abe76f687c6c37"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 folders: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060FolderBreadcrumbLink\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"532aaae90b18162df33b920e7a4dad2ece62730c4fc0abaead3b05dad8516111"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 tag: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060TagPromptPopover\u0060 from slice \u0027tag\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fa41543aedb6c960396703ef88902207ce6d24e8a1446f174a9af9a55baf00"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 folders: \u0060PromptTable\u0060 (slice \u0027prompts\u0027) depends on \u0060FolderBreadcrumb\u0060 from slice \u0027folders\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cf76ade12a5a2299436608c0b03834992ac0a17408bb9d2f7ea92ca2e75695"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 public-api: \u0060getPromptNameHandler\u0060 (slice \u0027prompts\u0027) depends on \u0060RateLimitService\u0060 from slice \u0027public-api\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptNameHandler.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc7a563a20e01df9002e9bfbd0a46370f4b0c604a99da2cb5927a2f7495ac54"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 audit-logs: \u0060deletePromptNameHandler\u0060 (slice \u0027prompts\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptNameHandler.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65adc6f9f439a20308a693544d3777dd346784cca73efb8eb1f969017fae88c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 public-api: \u0060promptNameHandler\u0060 (slice \u0027prompts\u0027) depends on \u0060withMiddlewares\u0060 from slice \u0027public-api\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptNameHandler.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"130addbd2aecd3d2663cb4405af709884e36712565cf9dbed47b4b4fcb377eb3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 public-api: \u0060promptVersionHandler\u0060 (slice \u0027prompts\u0027) depends on \u0060withMiddlewares\u0060 from slice \u0027public-api\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptVersionHandler.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea4fd6a05260bb0ae4fd4cc3634be958f7b7f0618791464beaf7e2d0fe2901a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 public-api: \u0060promptVersionHandler\u0060 (slice \u0027prompts\u0027) depends on \u0060createAuthedProjectAPIRoute\u0060 from slice \u0027public-api\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptVersionHandler.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"facad4b8ad1b25201c16902598aba829eccfa82afc95ff0b14044502b29cd70f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 audit-logs: \u0060promptVersionHandler\u0060 (slice \u0027prompts\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptVersionHandler.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b07d70904c02c09f33c22efcefce4fe6736f2186cda86f1efda2d184b87d220"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 public-api: \u0060getPromptsHandler\u0060 (slice \u0027prompts\u0027) depends on \u0060RateLimitService\u0060 from slice \u0027public-api\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptsHandler.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e08ac4097e112932e5fb761340e1a7cc51b175ea13d9a4377d507a78c164ab"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 audit-logs: \u0060postPromptsHandler\u0060 (slice \u0027prompts\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptsHandler.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2ad24f1d0fdc5adb40070ba589a1a8e3810a12c5a0927fd06aada238493624"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 public-api: \u0060promptsHandler\u0060 (slice \u0027prompts\u0027) depends on \u0060withMiddlewares\u0060 from slice \u0027public-api\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptsHandler.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6aca065dc3b429485e091e93eecaac13f598b0af916171f5a5029f45fd17cd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 rbac: \u0060promptRouter\u0060 (slice \u0027prompts\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4e9f042443c08710cf301185a5c632d6b08b029bf70e56f2c977b0c6e98c2f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 audit-logs: \u0060promptRouter\u0060 (slice \u0027prompts\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff66909499b798a0e27501320366e35d1d8ea042867b417ef25fb4c4b720402f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 scores: \u0060promptRouter\u0060 (slice \u0027prompts\u0027) depends on \u0060aggregateScores\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcf6b0c3845d8bad93f007770733faf368ae60ee9fec3f75f1882dc43aa2680"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 entitlements: \u0060promptRouter\u0060 (slice \u0027prompts\u0027) depends on \u0060throwIfNoEntitlement\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f75df9849d38de61f26dea02ce035d84d0674e4b2e8ff889a2f2cbc09e6d713"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: prompts \u2192 public-api: \u0060authorizePromptRequestOrThrow\u0060 (slice \u0027prompts\u0027) depends on \u0060ApiAuthService\u0060 from slice \u0027public-api\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/utils/authorizePromptRequest.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b545b3ca64e071a76c257442acee2aceb21c3f9fd2daf815888dc3c20ba34da"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060ApiKeyList\u0060 (slice \u0027public-api\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8080cdf91bb1037553038b7c72e1ad3e83b414f3d33472c04f59da586aaf696a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 rbac: \u0060ApiKeyList\u0060 (slice \u0027public-api\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f01c392bc1c0b9de6e929644caf2bbc0c70a2ad7cc14ebe713f031a314c935"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 rbac: \u0060ApiKeyList\u0060 (slice \u0027public-api\u0027) depends on \u0060useHasOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c966be8cb883094dabacbf667d6d6dbe8abe476230e6306ebaaa39a6c1da9778"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060ApiKeyList\u0060 (slice \u0027public-api\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"44495eda32d6ab526da9dfebadba23131803b8632087ac410c11748d759706d8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 posthog-analytics: \u0060DeleteApiKeyButton\u0060 (slice \u0027public-api\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b50aedad0d573fa8e2ee05398042cec2fab25e2fb37f9dfe8fd35ba6b807285"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 posthog-analytics: \u0060CreateApiKeyButton\u0060 (slice \u0027public-api\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4e583a96cb89eb0ae98ef51d36ae0a65edfa57b1d9e7a427e71f800fcac8ff"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060CreateApiKeyButton\u0060 (slice \u0027public-api\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bc978b04e02c91fffc0cab4e37af1811f9bfe82c5dcad8fc984e7d3129105a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 rbac: \u0060CreateApiKeyButton\u0060 (slice \u0027public-api\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b86529f2942a086460af14f9d7622818be2310222f120a9ef0561438a5a15e9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 rbac: \u0060CreateApiKeyButton\u0060 (slice \u0027public-api\u0027) depends on \u0060useHasOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01d57b982d72ec6dad90bc146a44f63c773a8ba287d3c0b50bff3c6c46bde98"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060CreateApiKeyButton\u0060 (slice \u0027public-api\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c3a2d18260b44b1263400c4da44b55622b1ca8d2ea1eb4c41acdfdf826948a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 rbac: \u0060CreateLLMApiKeyDialog\u0060 (slice \u0027public-api\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba01c4fd9671d2174681b004c559d55329fbdb525ae79862f631cd1b0d53817d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060CreateLLMApiKeyDialog\u0060 (slice \u0027public-api\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyDialog.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32cc6f75ce5f9f4b81f22a2a95250fdbfb8a8c3b779ea8e8ed4912e893a727f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060CreateLLMApiKeyDialog\u0060 (slice \u0027public-api\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyDialog.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5b63a5a6448f291b50109e62d769d63212fe4f83c96422f79e41d34a1f643a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060createFormSchema\u0060 (slice \u0027public-api\u0027) depends on \u0060AppLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1062127e8f538e0cde88de9141e5e6bb98eaee6581437adbe2c24e0a1dff6cd7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060createFormSchema\u0060 (slice \u0027public-api\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f62148f82c0f7e10f8814428adfb77bfb8805169dea730dea8a4e33680215c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 posthog-analytics: \u0060CreateLLMApiKeyForm\u0060 (slice \u0027public-api\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"98942844aa014d0e7ade31ac86a9b5e3405aa674610507276d579941f2bdcea2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060CreateLLMApiKeyForm\u0060 (slice \u0027public-api\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00a663b86ac550d0fad9acdd6e24eaf0be5998920ac447af40c2c8b4521a323"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060LlmApiKeyList\u0060 (slice \u0027public-api\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"48324b9dfecda917f738802a5eeccb387de0e18abd6e87c33d22fc013d24e858"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 rbac: \u0060LlmApiKeyList\u0060 (slice \u0027public-api\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62a64af7f6035fda70071b6436775c240ef816c6c48dfa8d39ea6b426b95047"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060LlmApiKeyList\u0060 (slice \u0027public-api\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa70a525d746c3698c1ab5091783e5e1223f35667a70bb3b1e176265be3ab86"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 posthog-analytics: \u0060DeleteApiKeyButton\u0060 (slice \u0027public-api\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"67491e969338d40e70c812d6df890cec181a1c005008f8d13f331a37a22f2103"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060UpdateLLMApiKeyDialog\u0060 (slice \u0027public-api\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/UpdateLLMApiKeyDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bde30208732201dea2eb8cf7856239dbe2365c1b5ce7c4a1e88ad81ac9f913a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 rbac: \u0060UpdateLLMApiKeyDialog\u0060 (slice \u0027public-api\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/UpdateLLMApiKeyDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9350ec73ffc6fb625a961bb15075e2c5b1a86aee7afb3b0d0436d13f4be4e0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 i18n: \u0060UpdateLLMApiKeyDialog\u0060 (slice \u0027public-api\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/UpdateLLMApiKeyDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbe6d02ed8f68fe60b84fc056e25189a0095f6998eaef22f786dbf951b02a87"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 entitlements: \u0060ApiAuthService\u0060 (slice \u0027public-api\u0027) depends on \u0060getOrganizationPlanServerSide\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/apiAuth.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"717d2f5ef10c22a32790d73c8a61f6597412219381e04b6b0d5d4586559e2863"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 rbac: \u0060organizationApiKeysRouter\u0060 (slice \u0027public-api\u0027) depends on \u0060throwIfNoOrganizationAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/organizationApiKeyRouter.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6838fa3c453cf9defb6196c225519e6d2451f59c3397995059c080a622505e83"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 audit-logs: \u0060organizationApiKeysRouter\u0060 (slice \u0027public-api\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/organizationApiKeyRouter.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcbe84810c99d3a2bd495f9aaf69937bf97d738d17aa4a1d5b5382d7e55fd85"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 rbac: \u0060projectApiKeysRouter\u0060 (slice \u0027public-api\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/projectApiKeyRouter.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c7349c53d55cae0eddaf8e02ee365f97497177e3e43905fa556379004f061b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 audit-logs: \u0060projectApiKeysRouter\u0060 (slice \u0027public-api\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/projectApiKeyRouter.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb46e442fb675744457619133e082a0e31a6ac25741c452283d96aacb6bf3b7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 query: \u0060MetricsQueryObject\u0060 (slice \u0027public-api\u0027) depends on \u0060views\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/metrics.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2f8dfa0dce1a9e98616b1f0337a66f9d28c5f80e900d64796c934f9e5815a3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 query: \u0060MetricsQueryObject\u0060 (slice \u0027public-api\u0027) depends on \u0060dimension\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/metrics.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8b3e10a9c586672105742fea6d99fb791bec8f0fdeb73807968363022740c8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 query: \u0060MetricsQueryObject\u0060 (slice \u0027public-api\u0027) depends on \u0060metric\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/metrics.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0767dc03d98e73dbc5dbcb710e580c4a37b517013479b0317cd3460d39ac51"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 query: \u0060MetricsQueryObject\u0060 (slice \u0027public-api\u0027) depends on \u0060granularities\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/metrics.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4e9c9e9ca865b768ade4074a72a1d33b33eeec52e5707d024206a7605e0fd3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 query: \u0060MetricsQueryObjectV2\u0060 (slice \u0027public-api\u0027) depends on \u0060viewsV2\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/metrics.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0aa0d5b322a9e0ff4210577c8dd942d47c24164b77869e5b060a7656a6b8e6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 query: \u0060GetObservationsV1Query\u0060 (slice \u0027public-api\u0027) depends on \u0060useEventsTableSchema\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/observations.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c88b7c554a718792cb1dd6a5ec2cbd46b570be6d6ce6cbf1089dd9f3b3c4e62"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: public-api \u2192 query: \u0060GetTracesV1Query\u0060 (slice \u0027public-api\u0027) depends on \u0060useEventsTableSchema\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/traces.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7615a670dc94889cbf32ec7eec516bf8c9b5fa31f34016badb22d87c173efcbf"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 posthog-analytics: \u0060CreateProjectMemberButton\u0060 (slice \u0027rbac\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"55114483b56f41ee032153c34f8b7d2ae7e986b6f1b524afbce52c1339e8674f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 i18n: \u0060CreateProjectMemberButton\u0060 (slice \u0027rbac\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3f00efb19431b4142137b8f227f67607610c6646464aa67733135c2a6d2b0f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 entitlements: \u0060CreateProjectMemberButton\u0060 (slice \u0027rbac\u0027) depends on \u0060useEntitlementLimit\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99ec7d43edd739900456e96289814bd626100583e9a699d85acfae85962c7fa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 entitlements: \u0060CreateProjectMemberButton\u0060 (slice \u0027rbac\u0027) depends on \u0060useHasEntitlement\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce5a74b5303a2539cc9595ce3ad5931b5408942f36c152b47539a235acb77ae"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 i18n: \u0060CreateProjectMemberButton\u0060 (slice \u0027rbac\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"48206796c4488fc4ebe3757262cbd8df2aa2449df8ff10b58873ccd077935cc7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 i18n: \u0060MembersTable\u0060 (slice \u0027rbac\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66a103cfd72e1ce9b1b51e324738e375bb1b50093a5bc64f97c1797b7d3a250"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 entitlements: \u0060MembersTable\u0060 (slice \u0027rbac\u0027) depends on \u0060useHasEntitlement\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a792a821d74efef462c250603fbce50ae2fb63abe92bc7e4ecea3799e9c7a85a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 i18n: \u0060MembersTable\u0060 (slice \u0027rbac\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4effe8711854f753e0b09eaa9cfa254d4db6da441b649910f0dc39af284436b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 column-visibility: \u0060MembersTable\u0060 (slice \u0027rbac\u0027) depends on \u0060useColumnVisibility\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a22b345e9067eccd2ce1ddf085489a2999adf0ba2bf97db03c6fcffa13193e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 column-visibility: \u0060MembersTable\u0060 (slice \u0027rbac\u0027) depends on \u0060useColumnOrder\u0060 from slice \u0027column-visibility\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"220e3507cbbc32e5b931836d38b51a17be73b6da6de0d94c7504959326ad80ad"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 notifications: \u0060OrgRoleDropdown\u0060 (slice \u0027rbac\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5854b575a176dfce5ac738cd6135e36925048a4715135e5383dc297711ffb90"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 i18n: \u0060MembershipInvitesPage\u0060 (slice \u0027rbac\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9982a754047fd7cd74858cf1a577f3f848568c52f0e8ec696c70ad1f400418"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 i18n: \u0060MembershipInvitesPage\u0060 (slice \u0027rbac\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbbefb6e8a8ab5701377fe405413fac3f1c512eafea0467e36b2f4283d2e20a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 i18n: \u0060RoleSelectItem\u0060 (slice \u0027rbac\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/RoleSelectItem.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfffdc04f4e729b7eb3124e33c11814b35345478fcce983df87aecb4f6f37825"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 i18n: \u0060RoleSelectItem\u0060 (slice \u0027rbac\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/RoleSelectItem.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"879f55ede2d886fcbbc5f4633207aca148f5e01d44c15b16b4abaf6c31ac85c7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 entitlements: \u0060membersRouter\u0060 (slice \u0027rbac\u0027) depends on \u0060hasEntitlement\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a080e94a2b29d3c90f2c1e278f06743e216c23b884f098e3a788a5387a42042"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 audit-logs: \u0060membersRouter\u0060 (slice \u0027rbac\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"524eed9347de519a7d32d784e355cb1da2df1a00ae572e1f1248b08adf849e7f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: rbac \u2192 entitlements: \u0060membersRouter\u0060 (slice \u0027rbac\u0027) depends on \u0060throwIfExceedsLimit\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"982e483eac4e2b8dca190e20a04754089190ea6c659d1e66c895acccc2fee84f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 posthog-analytics: \u0060ArchiveScoreConfigButton\u0060 (slice \u0027score-configs\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b9556fd889549c16588f7bde54c1d97650d4d4059e0af90116a6f765cfd4b2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 scores: \u0060ArchiveScoreConfigButton\u0060 (slice \u0027score-configs\u0027) depends on \u0060useEmptyScoreConfigs\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"46128cb42b87466391fc6fe4f5c9330dfb4cd6520be1200d11a3d626f7bc0f2e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 rbac: \u0060ArchiveScoreConfigButton\u0060 (slice \u0027score-configs\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea1a86fdc118b55c409b4661a747f196d0c14c7f141c0321a347b29a2da751c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 scores: \u0060ScoreConfigDetails\u0060 (slice \u0027score-configs\u0027) depends on \u0060isNumericDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/ScoreConfigDetails.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9a86a7a473f35d33e4eaa67651e28cb89d7c1b1a313c30dbd93ceb00e3c379"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 i18n: \u0060ScoreConfigSettings\u0060 (slice \u0027score-configs\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/ScoreConfigSettings.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe4d7c78a56d69eee9b5b2c8965e251ad8fed2b44fd8d0024f9f39131e63587"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 rbac: \u0060ScoreConfigSettings\u0060 (slice \u0027score-configs\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/ScoreConfigSettings.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9ddd13f0a216f9a95e002bc20654d59a0e6df39f935849f41b1cbfce2d705d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 i18n: \u0060ScoreConfigSettings\u0060 (slice \u0027score-configs\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/ScoreConfigSettings.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"716a53d23e51cc095be915910edd8e576f61ba71930805051ee712dc25af545e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 posthog-analytics: \u0060UpsertScoreConfigDialog\u0060 (slice \u0027score-configs\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4927ac2e40b17ec03f647a625d3add228e013a0a942f429bdb27d5b97ce443dd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 rbac: \u0060UpsertScoreConfigDialog\u0060 (slice \u0027score-configs\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7619862f54c0f57c4507b200010dcd76e82b05014b931ca87b5eb08c8094ea"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 scores: \u0060UpsertScoreConfigDialog\u0060 (slice \u0027score-configs\u0027) depends on \u0060isNumericDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f16ee1682282a164774fef9a0b63330f9a8a6327490619839e62b82ba9fd3a9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 scores: \u0060UpsertScoreConfigDialog\u0060 (slice \u0027score-configs\u0027) depends on \u0060isBooleanDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"17492a8b6fe3a371ff6b3e08fcd40b64416d7edb7dcb1136047c9493e05ebc0b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: score-configs \u2192 scores: \u0060UpsertScoreConfigDialog\u0060 (slice \u0027score-configs\u0027) depends on \u0060isCategoricalDataType\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b9fbbcab0923747f1e39ad74f3743630466dabd116c06fbc49ef884b165679"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 dashboard: \u0060DashboardCategoricalScoreAdapter\u0060 (slice \u0027scores\u0027) depends on \u0060transformCategoricalScoresToChartData\u0060 from slice \u0027dashboard\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/adapters/index.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2afdf224f9e5b56a1d54c97948e9fc43f4e7ea857c8c49d06ede3657b6fa41"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 dashboard: \u0060DashboardCategoricalScoreAdapter\u0060 (slice \u0027scores\u0027) depends on \u0060uniqueAndSort\u0060 from slice \u0027dashboard\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/adapters/index.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f4638fd0a53a04c33803528b832463d66e7592143b710bd668a09bc1507c2b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 posthog-analytics: \u0060AnnotateDrawer\u0060 (slice \u0027scores\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/AnnotateDrawer.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e004d381c827ef699333a7076be5faabf0f31425d59c1c8605daa10db7b5be1d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 rbac: \u0060AnnotateDrawer\u0060 (slice \u0027scores\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/AnnotateDrawer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd7b258a82a1ccac7ce7c9d6df50fe48ebbaad580827b6d26b66ef2d79fc707"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 posthog-analytics: \u0060InnerAnnotationForm\u0060 (slice \u0027scores\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e22419d067e9006796c342c45d942e02e839b5f641bde7e89745a4b725a5929"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 score-configs: \u0060InnerAnnotationForm\u0060 (slice \u0027scores\u0027) depends on \u0060ScoreConfigDetails\u0060 from slice \u0027score-configs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fcd00d24b76cfa8b579a05468de219c660a045bb703b407bafeb9ae5037fa3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 datasets: \u0060ScoreValueSection\u0060 (slice \u0027scores\u0027) depends on \u0060BaselineDiff\u0060 from slice \u0027datasets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/ScoreRow.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd704645ab25f3095676a010d0a66d3c0a3059e9fa900cd11428665bb81ecbda"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 datasets: \u0060ScoreValueSection\u0060 (slice \u0027scores\u0027) depends on \u0060DiffLabel\u0060 from slice \u0027datasets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/ScoreRow.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ceda148f5a37c65afbfdf46d4a68d2873eb5381f6b46ce748b33a63a2a3c3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 notifications: \u0060useScoreMutations\u0060 (slice \u0027scores\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/hooks/useScoreMutations.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a261be60fb3a37f27e28d0ffcbb3355013fceb33c1e1c85f31497a8d7dcb699"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 datasets: \u0060TableRowTypesWithIndividualScoreColumns\u0060 (slice \u0027scores\u0027) depends on \u0060DatasetRunItemByItemRowData\u0060 from slice \u0027datasets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/lib/types.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"df395d2502a56d1a01e37bf5a19f5e1a1fd28df65cea08c1c15e0358e338af29"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 datasets: \u0060TableRowTypesWithIndividualScoreColumns\u0060 (slice \u0027scores\u0027) depends on \u0060DatasetRunItemByRunRowData\u0060 from slice \u0027datasets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/lib/types.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36ba61a880f88e697ba99420130384bdba94ed9540f69ee9b56b085a84c068b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: scores \u2192 datasets: \u0060TableRowTypesWithIndividualScoreColumns\u0060 (slice \u0027scores\u0027) depends on \u0060DatasetRunRowData\u0060 from slice \u0027datasets\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/lib/types.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5330db12aa68f436ab7c3723a038c7cf9da18cfa18efc5ee9521477868bc05"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 i18n: \u0060SetupPage\u0060 (slice \u0027setup\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5313e2c0d16dc5eef805902a1fed10f499a416357b7a0a21d79f66799e3421"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 projects: \u0060SetupPage\u0060 (slice \u0027setup\u0027) depends on \u0060useQueryProjectOrOrganization\u0060 from slice \u0027projects\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"145813a6023568a9070ee9aa4b48bd579b4e476fe33dd38a5e3964384fcf393c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 organizations: \u0060SetupPage\u0060 (slice \u0027setup\u0027) depends on \u0060NewOrganizationForm\u0060 from slice \u0027organizations\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f513f27c7f123a440c5e9bc99350759905583565a3be2e69b844c664085eab3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 rbac: \u0060SetupPage\u0060 (slice \u0027setup\u0027) depends on \u0060MembersTable\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74e781d817d21a9802e39bbbf5433ba3c9a68ff973e68a44fe42246f25cbd0b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 rbac: \u0060SetupPage\u0060 (slice \u0027setup\u0027) depends on \u0060MembershipInvitesPage\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34095bc5e4fd36a60a76988415ad08fad3caa4b618592ee13570019b723230b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 projects: \u0060SetupPage\u0060 (slice \u0027setup\u0027) depends on \u0060NewProjectForm\u0060 from slice \u0027projects\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d82d7fe1e6a82dbb203735d245b8ed733841a1e89dbfdcd4ab93080d52203e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 i18n: \u0060SetupTracingButton\u0060 (slice \u0027setup\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupTracingButton.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d811b1f8b31898eb06dfaf605b806a490e5f423bbca243cba78c77faea96d357"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 projects: \u0060SetupTracingButton\u0060 (slice \u0027setup\u0027) depends on \u0060useQueryProjectOrOrganization\u0060 from slice \u0027projects\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupTracingButton.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cabdc5d61b396e5e09eda353ef186b1ed7105051d957e21e49d5aebc1f0080"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 posthog-analytics: \u0060SetupTracingButton\u0060 (slice \u0027setup\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupTracingButton.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e4df86f0aef392e94287379e7ca4f45cfd4434edd29bfdcd4096758f195c80"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: setup \u2192 rbac: \u0060SetupTracingButton\u0060 (slice \u0027setup\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupTracingButton.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47492a375092ffcd1de7d17499fb2d57125710c436be03097d7fe40795d6b1b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060ChannelSelector\u0060 (slice \u0027slack\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fc1e99245839df77b446a65188536fca8ac6a1247c661ea71297eaabd0f7d2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060ChannelSelector\u0060 (slice \u0027slack\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e2c42c33bcf7a31838401fea411695497e0e2f35c1fd2a865a54ad38a39e14"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060SlackConnectButton\u0060 (slice \u0027slack\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectButton.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e0641dcb785ce4a28f5d99e7cb23094b5b9caa8264d3ccf0897120500ff3b5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060SlackConnectButton\u0060 (slice \u0027slack\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectButton.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffcb618d30103d9015b730c78ccb4f5928037a33549bda2df381b46b50d59e2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 notifications: \u0060SlackConnectButton\u0060 (slice \u0027slack\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectButton.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5571675c4f96b1738b02c7c233a6b315c7e11864836be9f1b6836583e1cd033"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 notifications: \u0060SlackConnectButton\u0060 (slice \u0027slack\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectButton.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9308403744b909e683b8d0bf3b4b508e8ad064eab9bca8e2d40da1a12c845c0d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060SlackConnectionCard\u0060 (slice \u0027slack\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectionCard.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8dda247216e7faf78153d740e1db965d8d74c58264e0eb162987607ab3ad10"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060SlackConnectionCard\u0060 (slice \u0027slack\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectionCard.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33e929302064a106dbcbfb33c7e55f2e009eb428c86e4bda9f3bfc54da269cb"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060SlackDisconnectButton\u0060 (slice \u0027slack\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5ea360acb091c98f7bb98117e2de1f7d5a1e7eb5404385f508ac573666059d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 notifications: \u0060SlackDisconnectButton\u0060 (slice \u0027slack\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"75466a025229368211d6c12194fd70880688e4fda58b9eef1d4da8b7dd902132"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060SlackDisconnectButton\u0060 (slice \u0027slack\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"846668d7254b2da268536e3d3b89998909343a88c4af0e87ba4c230935056095"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 notifications: \u0060SlackDisconnectButton\u0060 (slice \u0027slack\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f703a7b8d82b9e8cb71c66f9823acb03611aecc4b29381c9a64e3e2961df174"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060SlackTestMessageButton\u0060 (slice \u0027slack\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackTestMessageButton.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfad8b31b7e5742abb1fa12ea393ad0be048bc1ddefba86391634acf7412ccbd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 notifications: \u0060SlackTestMessageButton\u0060 (slice \u0027slack\u0027) depends on \u0060showSuccessToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackTestMessageButton.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2edb21bca62dfa2b6fea479a3659fdc2285b3251eb4baedd7ef46ad8225ab5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 i18n: \u0060SlackTestMessageButton\u0060 (slice \u0027slack\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackTestMessageButton.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3118a9cae4da051acdf79c0a36c3d4ca8b8a62283a356a76b1312f88875b2b05"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 notifications: \u0060SlackTestMessageButton\u0060 (slice \u0027slack\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackTestMessageButton.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"771e8e502219e87dddd8430fbcc0073d7526a8368a4132fe76e0e0530bdae782"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 audit-logs: \u0060handleCallback\u0060 (slice \u0027slack\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/server/oauth-handlers.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"97729913c1ec60617d1a5ce8c4e1f86b5bbb2eba2c9c4f0aeafc4470c2cfdd2f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 rbac: \u0060slackRouter\u0060 (slice \u0027slack\u0027) depends on \u0060throwIfNoProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/server/router.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80918a5ad2c36f5eda78fa26fb749b97de5ad484c3015756d7a18533bb7e2a7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: slack \u2192 audit-logs: \u0060slackRouter\u0060 (slice \u0027slack\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/server/router.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ad84b7bc9e60ec95eba730ed5b22a38ae3316ed651c27716c2585bb1f88f5d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: support-chat \u2192 organizations: \u0060IntroSection\u0060 (slice \u0027support-chat\u0027) depends on \u0060useLangfuseCloudRegion\u0060 from slice \u0027organizations\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/IntroSection.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe0bc01f360f89cb7ff2fb4c4f1f54717695a5c4af70425cd1ed7db63ad1b66"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: support-chat \u2192 posthog-analytics: \u0060IntroSection\u0060 (slice \u0027support-chat\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/IntroSection.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e811ff1bb1bf7e2389b0899d7d3b82e0c8f6a598a5d07dd0738af2f69a76f9ea"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: support-chat \u2192 entitlements: \u0060IntroSection\u0060 (slice \u0027support-chat\u0027) depends on \u0060usePlan\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/IntroSection.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b69c94fbe51ef4a686170497204569673c0d091d2f76a891179948bdb6b2a72"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: support-chat \u2192 projects: \u0060SupportFormSection\u0060 (slice \u0027support-chat\u0027) depends on \u0060useQueryProjectOrOrganization\u0060 from slice \u0027projects\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2b1c1b46e18a992ad1a6a609f7062dc06232c96d4010fdfc6298338268877b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: support-chat \u2192 notifications: \u0060SupportFormSection\u0060 (slice \u0027support-chat\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fae77ca46bf02b00a24bfbfddb60b8de3943bb7ca5dc8d2ca1cf56c3393c256"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: table \u2192 rbac: \u0060TableActionDialog\u0060 (slice \u0027table\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/table/components/TableActionDialog.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85edf71b11ea9d6796a4c31539dfd83f21a2cbfc543b1603a94d4922646a9c3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: table \u2192 entitlements: \u0060TableActionDialog\u0060 (slice \u0027table\u0027) depends on \u0060useOptionalEntitlement\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/table/components/TableActionDialog.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dda7ecff0eaa0a49682f25bf1819889f0914962c2e051c6aff7da14e9dfcbc2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: table \u2192 entitlements: \u0060TableActionTargetOptions\u0060 (slice \u0027table\u0027) depends on \u0060useOptionalEntitlement\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/table/components/TableActionTargetOptions.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4d24ee849065d6a32928ed1d72a09513b727e886a7fe6b8c79e65d9a0aac2f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: table \u2192 audit-logs: \u0060createBatchActionJob\u0060 (slice \u0027table\u0027) depends on \u0060auditLog\u0060 from slice \u0027audit-logs\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/table/server/createBatchActionJob.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b7cef18ed7b40a80bda0ec2253114c1dffe9816779f20bc41d568af52e30f5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: table \u2192 rbac: \u0060BaseTableAction\u0060 (slice \u0027table\u0027) depends on \u0060ProjectScope\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/table/types.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d998258f0fe7400cdf6a998ba736ac90e3e1723422613eb95ac0f0303e395a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: table \u2192 entitlements: \u0060BaseTableAction\u0060 (slice \u0027table\u0027) depends on \u0060Entitlement\u0060 from slice \u0027entitlements\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/table/types.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c960f633c903b1b38213464f502210769621f1d0e5f1ea3010949721512de572"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tag \u2192 posthog-analytics: \u0060TagCommandItem\u0060 (slice \u0027tag\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/tag/components/TagCommandItem.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af3ab4ce0e36f16f65c7bed19fa5a6b2f63fb57292a60f5ffca4549a7c4f046"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tag \u2192 posthog-analytics: \u0060TagInput\u0060 (slice \u0027tag\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/tag/components/TagInput.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3efb108deed5d074d62f9b0b91f51fb4a5a56d8639883e6c4f4fd4873ebdf46"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tag \u2192 posthog-analytics: \u0060TagManager\u0060 (slice \u0027tag\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/tag/components/TagManager.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"527b0887052d02d19989ade6c34ee3805d90402016a4b4689fff9290d576f3a2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tag \u2192 rbac: \u0060TagPromptDetailsPopover\u0060 (slice \u0027tag\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/tag/components/TagPromptDetailsPopover.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"885e096d45a7e2a422b158e1b26b9cb96e86564a36a463b7293d25a67d93ed55"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tag \u2192 rbac: \u0060TagPromptPopover\u0060 (slice \u0027tag\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/tag/components/TagPromptPopover.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf87613cd6a7a47bf1439f7e78c54d2df67c7b3c5e28805a12e9c59a763c1e38"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tag \u2192 posthog-analytics: \u0060useTagManager\u0060 (slice \u0027tag\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/tag/hooks/useTagManager.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c95d64876d041115e37c26268a97db80ed7641a4425cc7119ef829cf552cd7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: telemetry \u2192 posthog-analytics: \u0060posthogTelemetry\u0060 (slice \u0027telemetry\u0027) depends on \u0060ServerPosthog\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/telemetry/index.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43a194b5fda30780271972e9fdab14a48fd2d19f8bd19b879b83347610c2f6b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: theming \u2192 posthog-analytics: \u0060ThemeToggle\u0060 (slice \u0027theming\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/theming/ThemeToggle.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"649bfda88d07d1ae75d016079fec227ec6f51a333aa61db917919ef1ad430b16"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: trace-graph-view \u2192 i18n: \u0060TraceGraphCanvas\u0060 (slice \u0027trace-graph-view\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64076c44a79e1cda4f4b078b4f1f88d8072d36f97e691422f6cacfa2a7355ce"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: trace-graph-view \u2192 i18n: \u0060TraceGraphCanvas\u0060 (slice \u0027trace-graph-view\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce32410fc6fa3c8e7db37fed760c80edeed30c2fda04bdee3f6940899f9ede44"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 i18n: \u0060HistogramChart\u0060 (slice \u0027widgets\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/HistogramChart.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4547f696cff6cdd366a5ce67074b217de3009dc1c25f716f3fac070feb45d1d7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 i18n: \u0060HistogramChart\u0060 (slice \u0027widgets\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/HistogramChart.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de0ca813d6af2b945c76dc688eaf1d5f53708731edf4abca2f9684957491e09"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 i18n: \u0060PivotTable\u0060 (slice \u0027widgets\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/PivotTable.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9498a7b849b5133c5f122242e612b8127dde400f81674ecdcee8c9212e15e5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 i18n: \u0060PivotTable\u0060 (slice \u0027widgets\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/PivotTable.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc64c8fbaf86fdbf62528ccfdd302a9763b458b357771ed3e5b2e1e22ed69d73"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 i18n: \u0060DashboardWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060useLanguage\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7e0af575169a46e8780ed764ceb2fcd167d4d95503654c08459e7da9e0c393"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 events: \u0060DashboardWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060useV4Beta\u0060 from slice \u0027events\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"536435fbbfbf8b07acd7d1a43e9e877024778024f942c9cd0b9ab2330450aae0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 query: \u0060DashboardWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060ViewVersion\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cc0d6f734307eb8f109ea672990b5795c66411bc213ce719efd137ef52cece"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 rbac: \u0060DashboardWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94494da295cc9cd8d0fd497fcca3f1325fa130c8dab2f23abbbc8c8312f9af5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 query: \u0060DashboardWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060views\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"42541ec1c258a1307fe7cca425c67b436df942cd687fea7d3f8434acf993f042"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 query: \u0060DashboardWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060metricAggregations\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8635feed394963fa2113e620e83444aaef8432fb8d0a4351d087ee74921e4046"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 query: \u0060DashboardWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8a15140317ba3cececae1e70a32c420132dbf293291e49d1ff167362529b6a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 notifications: \u0060DashboardWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bdb37e77eb3da216cd58c9a11878b31120c8b6aba0201843178369c170c9f5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 i18n: \u0060DashboardWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060localize\u0060 from slice \u0027i18n\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2be9e19275a5b6b60cfd150cff47844d92ea5d7ea8a1ee6df88a81766bf4a9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 query: \u0060SelectedMetric\u0060 (slice \u0027widgets\u0027) depends on \u0060metricAggregations\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2a296f23e1cb6e4dc26cf8b22e73008eb909d7e718d3e44705b806ec1203b9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 query: \u0060WidgetForm\u0060 (slice \u0027widgets\u0027) depends on \u0060views\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9ea7060ac9e1dac90ecfe78e01256149158e96d5923a9ef9495b6bf8935a9b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 query: \u0060WidgetForm\u0060 (slice \u0027widgets\u0027) depends on \u0060viewDeclarations\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabca57063bdc98394dbe9e760f5fb18cd6193f39591ddf73207e3c02e72f3c1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 query: \u0060WidgetForm\u0060 (slice \u0027widgets\u0027) depends on \u0060QueryType\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"917d0a415fb8eeedf1dd0615b123041edae867d76634be49cd02c649de32a3ba"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 query: \u0060WidgetForm\u0060 (slice \u0027widgets\u0027) depends on \u0060mapLegacyUiTableFilterToView\u0060 from slice \u0027query\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c04cda222009aa0ba94b85dc791696b5edd56613cbaa201abc9aff823fc51b1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 notifications: \u0060WidgetForm\u0060 (slice \u0027widgets\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"8329222682e73080a2e65d7fed82046cc9ae417f4a9a5d038e4a8508cf7c521a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 filters: \u0060WidgetForm\u0060 (slice \u0027widgets\u0027) depends on \u0060InlineFilterBuilder\u0060 from slice \u0027filters\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e902907e47e3ba0ee5a1b30b8033d18b95ef1f8c3683202d5029778b6009523"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 rbac: \u0060DeleteWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060useHasProjectAccess\u0060 from slice \u0027rbac\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetTable.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2710c22116a8444958a8e48019b847ef9137a4aa043328b6bc499713873aa5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 posthog-analytics: \u0060DeleteWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060usePostHogClientCapture\u0060 from slice \u0027posthog-analytics\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetTable.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf81b7407f323bb61731f0b837ade75363b27be11fc8d5ff325ed8981bda167"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 notifications: \u0060DeleteWidget\u0060 (slice \u0027widgets\u0027) depends on \u0060showErrorToast\u0060 from slice \u0027notifications\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetTable.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c23da18376c29547a5e1fc1d656c2e99be8b8dbe69b3ad3a12d39b0bca8f8f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 navigate-detail-pages: \u0060DashboardWidgetTable\u0060 (slice \u0027widgets\u0027) depends on \u0060useDetailPageLists\u0060 from slice \u0027navigate-detail-pages\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetTable.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"473f3ea1ec78ea699a4cc06906047459f405dc4fa8ed4b6e29978249859de938"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: widgets \u2192 orderBy: \u0060DashboardWidgetTable\u0060 (slice \u0027widgets\u0027) depends on \u0060useOrderByState\u0060 from slice \u0027orderBy\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetTable.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8952127f0cdb28f87f197613dff5122d34b11d9ebf6bdf1cb90c0ab167cfcac"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-data-retention-cleaner \u2192 utils: \u0060BatchDataRetentionCleaner\u0060 (slice \u0027batch-data-retention-cleaner\u0027) depends on \u0060getRetentionCutoffDate\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batch-data-retention-cleaner/index.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe66a5d645345ac67ef6d04864d84160603cf6c76c1abb7224b5d01c1049ce4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-trace-deletion-cleaner \u2192 traces: \u0060BatchTraceDeletionCleaner\u0060 (slice \u0027batch-trace-deletion-cleaner\u0027) depends on \u0060processPostgresTraceDelete\u0060 from slice \u0027traces\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batch-trace-deletion-cleaner/index.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d64749a5a9f19af2a335850676b160d65a1a5c978e8f77c244680705c90bf0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batch-trace-deletion-cleaner \u2192 traces: \u0060BatchTraceDeletionCleaner\u0060 (slice \u0027batch-trace-deletion-cleaner\u0027) depends on \u0060processClickhouseTraceDelete\u0060 from slice \u0027traces\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batch-trace-deletion-cleaner/index.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3edcc70f542acd87b9716b0596b1f6d53c814c2c0d09e002ce2d0655fdfe81"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchAction \u2192 scores: \u0060processActionChunk\u0060 (slice \u0027batchAction\u0027) depends on \u0060processClickhouseScoreDelete\u0060 from slice \u0027scores\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab3e0bbb6999d5180721a9fa5d018bbf8b0422bb4021c0576718bbf8231756a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchAction \u2192 database-read-stream: \u0060handleBatchActionJob\u0060 (slice \u0027batchAction\u0027) depends on \u0060getTraceIdentifierStream\u0060 from slice \u0027database-read-stream\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f5232fa048666985355a9b4e60904072878044f9decaf1bc74537dafd9a73a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchAction \u2192 database-read-stream: \u0060handleBatchActionJob\u0060 (slice \u0027batchAction\u0027) depends on \u0060getObservationStream\u0060 from slice \u0027database-read-stream\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0875d20b3e106257ce586ed788667bd7b4251a227a69a1b9b9ad1fa15909ce"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchAction \u2192 database-read-stream: \u0060handleBatchActionJob\u0060 (slice \u0027batchAction\u0027) depends on \u0060getDatabaseReadStreamPaginated\u0060 from slice \u0027database-read-stream\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba0f3e74f61c5565aea2a83f8c7b2bfddac5e203b01d55cd26eeffc7d3cd349"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchAction \u2192 database-read-stream: \u0060handleBatchActionJob\u0060 (slice \u0027batchAction\u0027) depends on \u0060getEventsStreamForDataset\u0060 from slice \u0027database-read-stream\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d8239ce088888d7f0c9bb858f5717cb25556b52bcfc4075095376b304ac172"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchAction \u2192 database-read-stream: \u0060handleBatchActionJob\u0060 (slice \u0027batchAction\u0027) depends on \u0060getEventsStreamForEval\u0060 from slice \u0027database-read-stream\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4621e49807bca69c69388acf8dbc878275c13506b7f98af68232cce74dbc2d98"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchAction \u2192 evaluation: \u0060processBatchedObservationEval\u0060 (slice \u0027batchAction\u0027) depends on \u0060ObservationEvalConfig\u0060 from slice \u0027evaluation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/processBatchedObservationEval.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"100f587a794716c6d684ff17fc251e84dcf99d60c6f76f62e39d9605a9068b13"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchAction \u2192 evaluation: \u0060processBatchedObservationEval\u0060 (slice \u0027batchAction\u0027) depends on \u0060createObservationEvalSchedulerDeps\u0060 from slice \u0027evaluation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/processBatchedObservationEval.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e295115edaa9816da19fe546a054a7e81c0adfb87f20fa3680718a6f42b84d23"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchAction \u2192 evaluation: \u0060processBatchedObservationEval\u0060 (slice \u0027batchAction\u0027) depends on \u0060scheduleObservationEvals\u0060 from slice \u0027evaluation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/processBatchedObservationEval.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"922e76814ddecf327ac4145df4a7a85cc13e30c756b99a8243447bbc3bbaa44f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchExport \u2192 database-read-stream: \u0060handleBatchExportJob\u0060 (slice \u0027batchExport\u0027) depends on \u0060getObservationStream\u0060 from slice \u0027database-read-stream\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e6a67ab1a104a61c83b9feb17c52ebf4df09252258f938528dec78b7da1320"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchExport \u2192 database-read-stream: \u0060handleBatchExportJob\u0060 (slice \u0027batchExport\u0027) depends on \u0060getTraceStream\u0060 from slice \u0027database-read-stream\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb9b19cd31a03c90636fdb18036df579e8ee8670f5a44038cc12a75f72bf1e4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchExport \u2192 database-read-stream: \u0060handleBatchExportJob\u0060 (slice \u0027batchExport\u0027) depends on \u0060getEventsStream\u0060 from slice \u0027database-read-stream\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeeb4962f53a426379320ae11c0678f026a55cc6e4b393ef7a0664f47e49d870"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: batchExport \u2192 database-read-stream: \u0060handleBatchExportJob\u0060 (slice \u0027batchExport\u0027) depends on \u0060getDatabaseReadStreamPaginated\u0060 from slice \u0027database-read-stream\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4154171129741fe2329cedef654dd7422c842a71e9de5bc2a10fff770b86f81"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evaluation \u2192 utils: \u0060compileEvalPrompt\u0060 (slice \u0027evaluation\u0027) depends on \u0060compileTemplateString\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalExecutionUtils.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33a9b80866f12d6b05c3654d8618fdf9870e3c361c4ec655fbf18c0cc0f1f02"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evaluation \u2192 utils: \u0060executeLLMAsJudgeEvaluation\u0060 (slice \u0027evaluation\u0027) depends on \u0060createW3CTraceId\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0d93953414e67cc2ad41d3a14fb472fbae09f407fe174d82be0f6176e43aa7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: evaluation \u2192 utils: \u0060processMatchingConfig\u0060 (slice \u0027evaluation\u0027) depends on \u0060createW3CTraceId\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/observationEval/scheduleObservationEvals.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcb80e5291bd8099597a9e90342e14f3b43dd0fc0d74612b467a32cf8e0a512"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 utils: \u0060processItem\u0060 (slice \u0027experiments\u0027) depends on \u0060createW3CTraceId\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/experimentServiceClickhouse.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcac5715b8d8c42530ff1b4dda6a93e349220b9271267ff3044e58010a254ff"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 evaluation: \u0060scheduleExperimentObservationEvals\u0060 (slice \u0027experiments\u0027) depends on \u0060fetchObservationEvalConfigs\u0060 from slice \u0027evaluation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/scheduleExperimentEvals.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9029516b38ebe214ff1ef1a67e7293adf814402362cc451dab987a782c7902f8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 evaluation: \u0060scheduleExperimentObservationEvals\u0060 (slice \u0027experiments\u0027) depends on \u0060ObservationForEval\u0060 from slice \u0027evaluation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/scheduleExperimentEvals.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f71119768380e3628e8f827ec963464aa5c22c86e3416a0e5f27004089ce1af"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 evaluation: \u0060scheduleExperimentObservationEvals\u0060 (slice \u0027experiments\u0027) depends on \u0060createObservationEvalSchedulerDeps\u0060 from slice \u0027evaluation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/scheduleExperimentEvals.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7cb260cdc32141b905917bcd506a65d46bb739434a40f69d2dcd0380a71c2f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 evaluation: \u0060scheduleExperimentObservationEvals\u0060 (slice \u0027experiments\u0027) depends on \u0060scheduleObservationEvals\u0060 from slice \u0027evaluation\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/scheduleExperimentEvals.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3488d5dd815ba08fe181f6bbd38816aa6cd1d347d0281bb2bcc1122a491ca33f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: experiments \u2192 utils: \u0060replaceVariablesInPrompt\u0060 (slice \u0027experiments\u0027) depends on \u0060compileTemplateString\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/utils.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b776751bc205fc73d6d347cf1e8b48c124d0895bb2280c01c4a3ec6d0f5f64e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: media-retention-cleaner \u2192 utils: \u0060MediaRetentionCleaner\u0060 (slice \u0027media-retention-cleaner\u0027) depends on \u0060getRetentionCutoffDate\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/media-retention-cleaner/index.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"adde56bdf423afe5226154d21d1f5317cfcd2d9d84416153cf9e1c0f7d03aba8"}},{"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":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/processEventBatch.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"26015de0b7fda80d0ad1b08b305d5fc24a8c676ae806ea99230d52a76cbd7878"}},{"ruleId":"C3","level":"note","message":{"text":"Partial audit-trail evidence: An audit mechanism is present, but the trail is not yet complete \u2014 missing: an ORM write hook every change flows through (a TypeORM/MikroORM subscriber, a Sequelize or Mongoose hook, Prisma middleware or a query extension, or an event-store append), per-model coverage (@Audited, or a change-history plugin such as mongoose-history or sequelize-paper-trail applied to each model)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"274a04e524f3228d241c99316455563739cb06cfd10a01e446d00b8a14956083"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: automations: \u0060langfuse/packages/shared/src/domain/automations.ts\u0060 (domain layer) depends on \u0060@prisma/client\u0060 (import) \u2014 a persistence module; the domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/domain/automations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"095b8713ee050d592d2d0e3aa304220c49993f7315ba914f7f9635007c987087"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: dataset-items: \u0060langfuse/packages/shared/src/domain/dataset-items.ts\u0060 (domain layer) depends on \u0060../db\u0060 (import of \u0060langfuse/packages/shared/src/db.ts\u0060) \u2014 a persistence module; the domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/domain/dataset-items.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fe556b9bb5574b630885d9b00241e06660ed0397ac00cbd74da630973ef576"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: dataset-run-items: \u0060langfuse/packages/shared/src/domain/dataset-run-items.ts\u0060 (domain layer) depends on \u0060../utils/zod\u0060 (import of \u0060langfuse/packages/shared/src/utils/zod.ts\u0060) \u2014 a persistence module; the domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/domain/dataset-run-items.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"742566b28873d1cda441a9e52afb20461235a5d2f7b3c0b99e32310f3679a00e"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: observations: \u0060langfuse/packages/shared/src/domain/observations.ts\u0060 (domain layer) depends on \u0060../utils/zod\u0060 (import of \u0060langfuse/packages/shared/src/utils/zod.ts\u0060) \u2014 a persistence module; the domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/domain/observations.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8074032a06991c683020afd2368d7fda90748de21c535cb8dc272efcc5df1d"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: prompts: \u0060langfuse/packages/shared/src/domain/prompts.ts\u0060 (domain layer) depends on \u0060../utils/zod\u0060 (import of \u0060langfuse/packages/shared/src/utils/zod.ts\u0060) \u2014 a persistence module; the domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/domain/prompts.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef64f54b91169233fc163870ff862bd134e70334f4c98856f127a8074003e0c"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: traces: \u0060langfuse/packages/shared/src/domain/traces.ts\u0060 (domain layer) depends on \u0060../utils/zod\u0060 (import of \u0060langfuse/packages/shared/src/utils/zod.ts\u0060) \u2014 a persistence module; the domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/domain/traces.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c9d1f47403f9b2b11e26f2a83ebf46bc46962bced4a9ee1552273d76297303"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: webhooks: \u0060langfuse/packages/shared/src/domain/webhooks.ts\u0060 (domain layer) depends on \u0060../utils/zod\u0060 (import of \u0060langfuse/packages/shared/src/utils/zod.ts\u0060) \u2014 a persistence module; the domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/domain/webhooks.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b90c4909db946275a1d6376201e920e8a2b49c741cf80937888d8d6bcfa670a"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [kind, raw_message_index] decided in 2 places: ArbiterOS-Kernel.redteam._automation.toolemu_v1.build_from_trajectories.ConvertedStep\u0027s [kind, raw_message_index] are judged in ArbiterOS-Kernel.redteam._automation.toolemu_v1.apply_review_results, ArbiterOS-Kernel.redteam._automation.toolemu_v1.build_from_trajectories \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3baea368098c992df1fc9995d4f01933b26770ca8810ffc9baa626821c4466d0"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [field, operator] decided in 6 places: langfuse.packages.shared.src.server.queries.clickhouse-sql.clickhouse-filter.Filter\u0027s [field, operator] are judged in langfuse.packages.shared.src.server.queries.clickhouse-sql.event-query-builder.EventsQueryBuilder, langfuse.packages.shared.src.server.repositories.dashboards, langfuse.packages.shared.src.server.repositories.traces, langfuse.packages.shared.src.server.services.sessions-ui-table-events-service, langfuse.packages.shared.src.server.services.sessions-ui-table-service, langfuse.packages.shared.src.server.services.traces-ui-table-service \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3b9605e8ff74228c41c2c05b3c48f2f60560b2434f68d0fc17f17ebc4cdc05a4"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bb33a82299b20f03f55704bf25675c817261ace6bedf50bcccfaa38116e7c6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-pagination.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f633f1a37e04bc125ac4ba7963a14991d857ba63040bce7c33a42ab0cba8340"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/utils/stripeCatalogue.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a921b6fac987f811ea18d1dfb1b3212d234b83e5bbeea270bff93d275d6d69"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/utils/stripeCatalogue.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a376317d21c60c35ab310bf075efecc6925505bba2a48b02240c1e7bd118ba45"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/utils/stripeCatalogue.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6700b57402ed26e32b9fa3ca75367458b2b2aa678cf08f5012cb234b0d43090"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/utils/stripeCatalogue.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d85ce48866963e770c8fe8d44ff5335fc0ec366bfd7dbbe423a18666aa1771"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetSchemaHoverCard.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d278b5792de90efb7a3d50b621c4fc44da74a8ce53dace3dc03247d7ae3986"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e40c2320df7244447251a3c6a78f9e9995835e971a9729c1ae638c1a711bf67"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/i18n/LanguageSwitcher.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0093893c7073fc45e384b384ff814c10e500713a34fb42644580a73b9f2a2210"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/MetricCard.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d0338e5e99608edb05aebff1ffee1f3a955461ebe2ef0177ca91f026da313b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/ScoreChartTooltip.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b138063f1925f6f3c645d0929e1e216c251d670adf26c2823b23a68516fceb8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/models/[modelId].tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e6ed57f56591ee5ec5adc9f9398d1befd04f556c0534ec9c92156ed7a4e836"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060convertFile\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/convertDefaultModelPricesToTiers.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8def3e32647074a4189a6b1a6db5aa282f3139be1c265494d78a539f942c65"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/otel-api.servertest.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9e059bdacb6b76c0534cb65712cf6b3526cfe105fc089ea859c1c01fd02a45"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/score-comparison-analytics.servertest.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"234d607458ff20f03cedc6bd1de00943a8da812a942675029ea7a0bc7ab23513"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/score-comparison-analytics.servertest.ts"},"region":{"startLine":3162}}}],"partialFingerprints":{"codehealthFindingId/v1":"818a924df91e017f5992e8b55d09316c05a55270498ecbae90bb3f9ac86e4931"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/traces-api.servertest.ts"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b822871f8e132df3566dc9206c04cb086c6aaf9d6054df17f31058819d4a69"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/server/api/otel/otelMapping.servertest.ts"},"region":{"startLine":4909}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d4c8fa33aa718062b498782e3315ed4bbe0aa9c6733e02b93fedfc4c9bc297"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/otel/otlp-proto/generated/root.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"648439a1d8e77e06428f960b309b1e5639dc1b6bbc73d0700d6d2187b18dfd1b"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/extractToolsBackend.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c935732d8dc2b01c46b8f5e32ee6a7e33bf7fd8cac06af0cdc17803b4c81d0"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/extractToolsBackend.test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f2d3b83380710a1b09c14bbebfaab4cf3b741c7aa4cd660f081023239e60d9"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/extractToolsBackend.test.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1deacb5ea76fa35273459c20009d02584c3f4e4493bd3c1cf55ef46ac3fc70"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060langfuse/CONTRIBUTING.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060@langfuse/ee\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/CONTRIBUTING.md"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"da172d605a0cd2120bc39b93d1d422dbc8232fc38436a2b3b521110cbaf736d4"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 4/5 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060langfuse/ee\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/packages/shared/src/server/webhooks/redirectHandler.ts\u0060 reports through \u0060console.*\u0060 at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/webhooks/redirectHandler.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"557b204a1949a2fcebbaa84b55ecbdf8a464a833a28b92f7fa041f70e3a13f7d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/packages/shared/src/server/webhooks/redirectHandler.ts\u0060 reports through \u0060console.*\u0060 at line 87 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/webhooks/redirectHandler.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95867c2f28eb1b73b95ab9b148ef7ebfab810be5ef3e94a17d37f3c6e36b7d9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/packages/shared/src/server/utils/headerUtils.ts\u0060 reports through \u0060console.*\u0060 at line 77 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/utils/headerUtils.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f522b0e772fa25ffd37abc4d7d8000188cb4d93a7bfb3dc41b688eb2f36e89"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts\u0060 reports through \u0060console.*\u0060 at line 334 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40d37efe5bf0ff333020eca4bb161be381c19956d585efdd96095fa6dbbf8ca"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/packages/shared/src/features/scores/interfaces/application/validation.ts\u0060 reports through \u0060console.*\u0060 at line 69 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/scores/interfaces/application/validation.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d737fa0b7f99b28247cc1ea19777c0fd9ff639b2f657e1f6d56ce57b567278b6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/packages/shared/src/features/scores/interfaces/application/validation.ts\u0060 reports through \u0060console.*\u0060 at line 111 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/scores/interfaces/application/validation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e41aefad3f076d6cc48d6b195bab47cc371bd288f367307785c745d1be2820f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/packages/shared/src/features/scores/interfaces/api/v2/validation.ts\u0060 reports through \u0060console.*\u0060 at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/scores/interfaces/api/v2/validation.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c716a051ecb55dba185cf6b88efd0e521324dd5332796535c98274f91c2f659"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/packages/shared/src/features/scores/interfaces/api/v1/validation.ts\u0060 reports through \u0060console.*\u0060 at line 23 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/scores/interfaces/api/v1/validation.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"473e6078193b56d45208352b3368376780db7d689a7fcb49f2b2a1db2d8b5772"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 11 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/instrumentation.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0947ba9510dfa9d276e90287a972a1cbc1a235af142e808796220f2beef087d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/workers/json-parser.worker.ts\u0060 reports through \u0060console.*\u0060 at line 59 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/workers/json-parser.worker.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ada69ae934f618c47ecf045a94fcab4b72e21b5a5b6835ed61971d775e23a7e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/utils/shutdown.ts\u0060 reports through \u0060console.*\u0060 at line 24 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/shutdown.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff39e5b693c44bf35c94cbd0f7a6aa48baa576e02591a64970bf932d742b5f7e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/utils/shutdown.ts\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/shutdown.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba18eaa156e7ba5fc1c29d7bb26e4b0855654278d591644a2d684ea75ba08604"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/pages/_app.tsx\u0060 reports through \u0060console.*\u0060 at line 241 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/_app.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"133178ad74106ab72e71e08747c0ce0322678500d87978e59b611726f616ec9c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/pages/project/[projectId]/traces/setup.tsx\u0060 reports through \u0060console.*\u0060 at line 36 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/traces/setup.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec987b3d1b99e731870b85c504f9c005512dbb1e9db4a4c95bb0a25a7f91db0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/pages/auth/sso-initiate.tsx\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sso-initiate.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99dde713a9f51d4e1ff0c44eda9fb089c64f58e7d4fb145196b77f392d7638a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/pages/account/settings/index.tsx\u0060 reports through \u0060console.*\u0060 at line 158 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/account/settings/index.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f438234aa2162230a9da5c826cd7cd0792df11e37200dedf98361b319aa540a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/hooks/useParsedObservation.ts\u0060 reports through \u0060console.*\u0060 at line 78 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedObservation.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bf7b73aef07762bff1bbab521008061d84063b9fc558c40f6a8aa0c91e548b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/hooks/useParsedObservation.ts\u0060 reports through \u0060console.*\u0060 at line 81 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedObservation.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac38faa0c6309f76c16dffbc4820e56a25ef1a54754600dc8ff0069cb297111"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/hooks/useParsedObservation.ts\u0060 reports through \u0060console.*\u0060 at line 168 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedObservation.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"292b98715721f0700cc00f2d4a1af509d5f2ff54c9f55185e418425cbde2266d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/hooks/useParsedObservation.ts\u0060 reports through \u0060console.*\u0060 at line 265 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedObservation.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"89187269ab1763beb64e74c5e49020f46ffae55cf4cb886a1a6ab49bf2c13165"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/hooks/useParsedTrace.ts\u0060 reports through \u0060console.*\u0060 at line 75 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedTrace.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4482f17e41e6503fc64ea6cde94b05cd200ae398bb4fbb5b9fdc021e50e33d2c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/hooks/useParsedTrace.ts\u0060 reports through \u0060console.*\u0060 at line 78 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedTrace.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f62bb28446ec2adcb04df306a02c5c62a7765027dcd02600a431c76243a35d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/hooks/useParsedTrace.ts\u0060 reports through \u0060console.*\u0060 at line 161 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedTrace.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"336cb98be71854add32d499df113d6df07324751d986c17ebce1056e8a17e521"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/widgets/components/WidgetTable.tsx\u0060 reports through \u0060console.*\u0060 at line 92 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetTable.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b426a5cd6060686af0eddab5da607ca34fc387d365ee4690e774ee9b48da1272"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/widgets/chart-library/PivotTable.tsx\u0060 reports through \u0060console.*\u0060 at line 302 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/PivotTable.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca656c0564efbced0b43804aef81b1ab4c16474ad068191e2935dfbb0b499d6c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/widgets/chart-library/PivotTable.tsx\u0060 reports through \u0060console.*\u0060 at line 318 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/PivotTable.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b7e4a86614f2524eacceba9523e82780cc7bac057aee4f07557fd80ccc1df5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/trace-graph-view/buildStepData.ts\u0060 reports through \u0060console.*\u0060 at line 127 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildStepData.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df49f07c78c1f25a93737726ef58ed7016eb39e892d03de148dd2379d7d0e6c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/slack/components/SlackConnectionCard.tsx\u0060 reports through \u0060console.*\u0060 at line 174 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectionCard.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8abd2e809a178e421780f55480d04266fc25740ead406e81b499b345c72460"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/slack/components/SlackConnectionCard.tsx\u0060 reports through \u0060console.*\u0060 at line 247 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackConnectionCard.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce55a327f9054cc25e305b7bf097acd88d85ccb2e3d755de65bbc6a24a0cf9fd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx\u0060 reports through \u0060console.*\u0060 at line 136 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b915ed5c940f5e4545de167ff2d2be1e0b09b2f1b44a158125be54cccf8ab4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx\u0060 reports through \u0060console.*\u0060 at line 136 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3975429ac2192d024d83463a1467106763ee89f001524b6a4c35be6f1705461"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/public-api/components/ApiKeyList.tsx\u0060 reports through \u0060console.*\u0060 at line 237 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c567a10cfb065c0ba711980347bd84ff97c777ca6ad07cc76137c24d132e65"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/public-api/components/ApiKeyList.tsx\u0060 reports through \u0060console.*\u0060 at line 250 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b29c39b8a96c1af951ed072fe85c5eab36058ce5982aa482ac8d7e1826b2505"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx\u0060 reports through \u0060console.*\u0060 at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fda227276022bf5dc50ce3f0f5c985743823e17ad0af286409a3f641c93b948"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx\u0060 reports through \u0060console.*\u0060 at line 102 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"889270ed07c93b8ecfac6ea9560bdd02b21f429da074015daf6c47f9bbc3dc8a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx\u0060 reports through \u0060console.*\u0060 at line 482 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c752365195a0f14c30a98cbeef11ba913841680e1ac7a037d0c9927f2fdced29"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx\u0060 reports through \u0060console.*\u0060 at line 628 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7446722fa1cd3fec3b36aeea5dc97e906653b5ad6a40bae4f6e1f8697901817"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx\u0060 reports through \u0060console.*\u0060 at line 225 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9df653f6eede240e6029c56be8fc7f0988415681faeda4637e52cb9cc7be51d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/prompts/server/actions/createPrompt.ts\u0060 reports through \u0060console.*\u0060 at line 119 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/actions/createPrompt.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"74169be925893014496e943e1b4b1bd201db85bc2ccb10fe52b106634ba30a56"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/prompts/components/delete-prompt-version.tsx\u0060 reports through \u0060console.*\u0060 at line 101 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/delete-prompt-version.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e1a3ef083c20d244106e88fd533fc3ec34cf636c8c29dd249f859a2beb0068"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/prompts/components/delete-prompt.tsx\u0060 reports through \u0060console.*\u0060 at line 61 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/delete-prompt.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa938657c50f606e5650ce5ffd7d72fbb3d425c9b2b39f4d4541d8ec389f5a93"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/prompts/components/duplicate-prompt.tsx\u0060 reports through \u0060console.*\u0060 at line 88 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/duplicate-prompt.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e65e8b98a4de03574a25a9160272a8ed2199107e541f7f2bf94736254a042b2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/prompts/components/prompt-detail.tsx\u0060 reports through \u0060console.*\u0060 at line 181 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"254ee7b4af53758384a611252b418cd663e3023c17633bc36c8acd86c40dd2f0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx\u0060 reports through \u0060console.*\u0060 at line 103 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8890754a62de76170921875f8f10ab73b8afb325a30db04a3fd0743c19017f39"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx\u0060 reports through \u0060console.*\u0060 at line 179 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbd57e0094d06580b2dd39743edda08c71eab609d44e0c6f2154f6b0e068f0f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/projects/components/ConfigureRetention.tsx\u0060 reports through \u0060console.*\u0060 at line 62 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b32a3b701fea1fa902e90e7415ea513949626109e40e439d5ae6be09a8ef5d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/projects/components/NewProjectForm.tsx\u0060 reports through \u0060console.*\u0060 at line 60 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/NewProjectForm.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fe29febf1ae01d7897c04279cfd4c7745f93f7e925836b937118ad315f03e2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/projects/components/RenameProject.tsx\u0060 reports through \u0060console.*\u0060 at line 60 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/RenameProject.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e962c5ea40d1957d9d52ea5207034e685ff03b02e3d13ae37356a73464b3b11"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/posthog-integration/posthog-integration-router.ts\u0060 reports through \u0060console.*\u0060 at line 43 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/posthog-integration/posthog-integration-router.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"90339bd0a353cd85d962455884a5b7235d206aeaced39815e546b312078da58b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/posthog-integration/posthog-integration-router.ts\u0060 reports through \u0060console.*\u0060 at line 137 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/posthog-integration/posthog-integration-router.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9924f8e6129cf8b5d4e8e9ad22ba5006a89226d7edf1838f1ec8a7e0f2756f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/index.tsx\u0060 reports through \u0060console.*\u0060 at line 56 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/index.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d52def91ad82cdc8e567f0ebf3e550c8aac4931d188ab34e700b07c91d49f3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/index.tsx\u0060 reports through \u0060console.*\u0060 at line 58 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/index.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9cecae73496211151d964b5dd8b6fc1684f8a87886b21bcfbb99fe884f3d18"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/storage/windowStorage.ts\u0060 reports through \u0060console.*\u0060 at line 22 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/storage/windowStorage.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"691d06ad9a332bd733732b95430a38b573f3cc5015466f20a998a47e3f1c0567"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/storage/windowStorage.ts\u0060 reports through \u0060console.*\u0060 at line 49 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/storage/windowStorage.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2254e4b2744cde552897967afe1d35fe74562f428a708da864c514bb940e9ef7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/storage/windowStorage.ts\u0060 reports through \u0060console.*\u0060 at line 91 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/storage/windowStorage.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7f646dc4842bfaf207fcd123c7e1c517bc80fb87068e5e4bfe8255f2c6968e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/context/index.tsx\u0060 reports through \u0060console.*\u0060 at line 582 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"1175f6ed6bd48e6883ad41a1209867c885e330292d8c4a94d0b2b952a3ca8325"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/context/index.tsx\u0060 reports through \u0060console.*\u0060 at line 790 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a215d8184782fe7db87c81cfcd50c7d9898723c8458bf6e33c53b0c339b01a5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx\u0060 reports through \u0060console.*\u0060 at line 151 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13b51e8d628a7ea2848f39cc241e8e4e770669bcf1682e96f455bb75ab355a3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx\u0060 reports through \u0060console.*\u0060 at line 163 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c894e3b2adb85b0fef5b60f5c24b7e83e626e47229d205d73900a0ad56709d6b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx\u0060 reports through \u0060console.*\u0060 at line 174 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73e20d1db054129e369cab3922c3b5a242e507718d93178c5ddf370f4fd1522"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx\u0060 reports through \u0060console.*\u0060 at line 181 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9693a053f7d97e23f4787da134f919b5b1898b3ed645ee41ee934998c0bb476e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/playground/page/components/Messages.tsx\u0060 reports through \u0060console.*\u0060 at line 58 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/Messages.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac804cdf2466ad918711ade1ff4aa995081d4191bc30218aa410f4e85788ea1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx\u0060 reports through \u0060console.*\u0060 at line 95 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99a32b6f0302e9165515bc1e290e01f39a8c46a0d29f3354448ce3d50591f93"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx\u0060 reports through \u0060console.*\u0060 at line 105 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ff19d31e628f9556845a957f6cbefcce47c37bbfa0dedb6e623a07df1ce409"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/organizations/components/RenameOrganization.tsx\u0060 reports through \u0060console.*\u0060 at line 63 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cef84baeb7023d68713edefdf7578cabeaa98e37ff230097933c1eee5f7bef8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts\u0060 reports through \u0060console.*\u0060 at line 43 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4e3e51e8222941a974b3095a47568363d9a504b8585a2cba7cd672bea03670"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts\u0060 reports through \u0060console.*\u0060 at line 123 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1ad596d3c328577f6e8514412602cd0ed308e2a3b3a809cf43d71cee823dc4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/filters/lib/filter-query-encoding.ts\u0060 reports through \u0060console.*\u0060 at line 188 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/lib/filter-query-encoding.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7e95669b00c62f51d1fcba30f9415a85e06909cb8c7130a6f565bab7a95e49"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/filters/hooks/useFilterState.ts\u0060 reports through \u0060console.*\u0060 at line 68 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4379567e0191bb1d4f6d6462604191114efc9d219a7a7fbb9bd908d97f1342"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/filters/hooks/useFilterState.ts\u0060 reports through \u0060console.*\u0060 at line 82 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"511210064691bb2eeb8f33c57d9f5a241948d513f3d28b0188db1abc4689439e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/filters/hooks/useFilterState.ts\u0060 reports through \u0060console.*\u0060 at line 105 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ed36a496d5dec709ee1618d5227253e7f5157ee14b828aed36507a4cc0719f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx\u0060 reports through \u0060console.*\u0060 at line 48 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"467959e91109d73c73fbb3a5d47621a902d1bfffb8da11003992e62f9ef020b2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx\u0060 reports through \u0060console.*\u0060 at line 53 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7ba157df710ca945f79e1d75f60614bd006e3b54c3a8aa52d4b29d1c08db24"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/filters/components/filter-builder.tsx\u0060 reports through \u0060console.*\u0060 at line 490 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fef774a8d62ceafe51626eff026d6f461ea0be289028efeea2051bf99bfaf3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/filters/components/filter-builder.tsx\u0060 reports through \u0060console.*\u0060 at line 494 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"6450bebc3955d3e69b464ef95ee656e51182f0bb21554eff9b68ff63783a4780"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/experiments/hooks/useExperimentEvaluatorData.ts\u0060 reports through \u0060console.*\u0060 at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/hooks/useExperimentEvaluatorData.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"12099864cf89b68983f8240bd5fb98e3e3d1749efe8b1f06e984d1ad44135ccd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx\u0060 reports through \u0060console.*\u0060 at line 61 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad986fff91382c1481c13251593f64d47367399f8731c4d5f94ff298a6d211d3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/events/hooks/useEventsTraceData.ts\u0060 reports through \u0060console.*\u0060 at line 137 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/hooks/useEventsTraceData.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc86623f2ed274a76e5bbf2f47fe78d8ad9cafae73658be62dfdfa2fe273559"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/evals/server/router.ts\u0060 reports through \u0060console.*\u0060 at line 108 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3c18440bcddb73daf36d40adc16eda3e88cdda8dd62a757bb4c78aa030e649"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/evals/pages/remap-evaluator.tsx\u0060 reports through \u0060console.*\u0060 at line 134 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/remap-evaluator.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e790e8315efa185c10ee90afe03db8f1479201b4bf0a058d2fdfb6feef63ed"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/evals/hooks/useExtractVariables.ts\u0060 reports through \u0060console.*\u0060 at line 143 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/hooks/useExtractVariables.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee3ed7677082d157b964191cc7ba96fa2c46a0992fbb5522cf5a90f5260acd6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/evals/hooks/useExtractVariables.ts\u0060 reports through \u0060console.*\u0060 at line 175 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/hooks/useExtractVariables.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ad1b12e4b1be6af5bdc2d6ec6b6872a40556513e72de6fa90c2f0c23c7fba3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/evals/components/deactivate-config.tsx\u0060 reports through \u0060console.*\u0060 at line 35 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/deactivate-config.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39e40078cb9a381030889de5294153ed0e480ca5304a6fbef9456cbc738f9fa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/evals/components/template-form.tsx\u0060 reports through \u0060console.*\u0060 at line 345 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5785a1ad1b156414723bdcb6f40672744559f23b7e65e0d7e7657e3f6788e2a1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/datasets/lib/generateSchemaExample.ts\u0060 reports through \u0060console.*\u0060 at line 12 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/lib/generateSchemaExample.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f88a3141a80d5484c18209a5ffe5bc818eaddf0b1f42e014e4b6673dd7c052"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/datasets/lib/generateSchemaExample.ts\u0060 reports through \u0060console.*\u0060 at line 26 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/lib/generateSchemaExample.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b34c60d579f95b3f85f36613649e8a6e90cc9702c4817a9642fb60641283841"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/datasets/components/DatasetForm.tsx\u0060 reports through \u0060console.*\u0060 at line 305 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94c3415d213d3cc2a8f37f14c56fccc545925a382ed13feae7bc1cda1128008"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/datasets/components/DatasetForm.tsx\u0060 reports through \u0060console.*\u0060 at line 331 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"217f2a9676356fa9264b7e92f69594bb47bc3257c49def8934b839900d89364a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/datasets/components/DatasetForm.tsx\u0060 reports through \u0060console.*\u0060 at line 361 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"549bed3ead972deea8237b6ca394453da28e244ac48808bb7a8e17eaab48435b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx\u0060 reports through \u0060console.*\u0060 at line 260 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a614ecf6d4125b5bc6c06f2bf9e4d303d2711b8306c0596bd8ccbd37c55a4c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx\u0060 reports through \u0060console.*\u0060 at line 263 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"171cf8670cb0522b163311e5e226a027e1c4b2aa9ade2b76b89d1f2f554fe9a2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/dashboard/components/DashboardTable.tsx\u0060 reports through \u0060console.*\u0060 at line 67 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79f516b1d2a4542d0944de8cff5743e302cd0e5ae81632ec217cbaaea47adc9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/column-visibility/hooks/useColumnOrder.ts\u0060 reports through \u0060console.*\u0060 at line 14 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/column-visibility/hooks/useColumnOrder.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e785adb5b5130c09479b80037753bf7025ed94cdd5b9be9b695b11a89493c5fb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/column-visibility/hooks/useColumnVisibility.ts\u0060 reports through \u0060console.*\u0060 at line 18 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/column-visibility/hooks/useColumnVisibility.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf16e8b90d26b2978b910089fdd54db58fda9983e33231c2dc06f2d153828ea"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/automations/server/webhookHelpers.ts\u0060 reports through \u0060console.*\u0060 at line 186 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/webhookHelpers.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7349d9648054af153acc2ae84ab1bf547eb15acd96d6e2ecfc72858a6b9515"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/automations/components/automationForm.tsx\u0060 reports through \u0060console.*\u0060 at line 350 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7a1148d83a6f2431080b6091a0ce7e20e0c28a591c75204e98273746274aba"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx\u0060 reports through \u0060console.*\u0060 at line 389 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8de5e94cb17f6a04ee1f93a1b01c1f44f516cb1072bf4bbd82e6cec810aff3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/automations/components/actions/WebhookActionHandler.tsx\u0060 reports through \u0060console.*\u0060 at line 70 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/WebhookActionHandler.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8497e9a0f9a0c676fb5ef9ae100c236507151526261bd603c98128a0e3bcdd4a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx\u0060 reports through \u0060console.*\u0060 at line 84 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d54166592593c9b8b20bdd2dae38297e0a32f3250d57d53bb249cbe0472bc1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx\u0060 reports through \u0060console.*\u0060 at line 91 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"79630e267cfad4d71186e88cf1d2a362d6cb6e917611c076c9af7d388bd386fb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx\u0060 reports through \u0060console.*\u0060 at line 80 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f76deb40667aace27813e129bc53a00ac3fd0fa99fac3d4ec865c26eefa3e12"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/ee/features/ui-customization/productModuleSchema.ts\u0060 reports through \u0060console.*\u0060 at line 41 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/ui-customization/productModuleSchema.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da24bdca3e86040cdd28682a9c2f13e9518f5994999bf2836b1a1124770b689"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/ee/features/billing/components/SpendAlerts/DeleteSpendAlertDialog.tsx\u0060 reports through \u0060console.*\u0060 at line 49 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/SpendAlerts/DeleteSpendAlertDialog.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58116f7a762d73ac0a27f382554e212b91729f9b388c015b5993267d6e0fe9b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx\u0060 reports through \u0060console.*\u0060 at line 105 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa00d96fde160b5e959c55f705f8bb8233ac82175af3b78fb8f4d9f34e01fc7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/useSessionStorage.tsx\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/useSessionStorage.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0672aa076ff8656aafeb5a3d5ee42f0d557d90094015b2ecdbc575efedcfefd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/useSessionStorage.tsx\u0060 reports through \u0060console.*\u0060 at line 43 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/useSessionStorage.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d154d638e0aba98c16adcd47a6ea7bdcccbdf3ae8732c022e8540d3bf9c4c113"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/useSessionStorage.tsx\u0060 reports through \u0060console.*\u0060 at line 52 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/useSessionStorage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"178119e88960d3b44df20843d94038ea2496257d922175418987f88355bdbbd3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/CodeJsonViewer.tsx\u0060 reports through \u0060console.*\u0060 at line 372 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dbda1d01ad4280ffc2e89d2c6f62db781a398420b4bc617761be74e47ac61d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/PrettyJsonView.tsx\u0060 reports through \u0060console.*\u0060 at line 906 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f37b92793fe1b69725ef3e6b7d0a4c654fb1591e1bbd426705da99b047efc34"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/PrettyJsonView.tsx\u0060 reports through \u0060console.*\u0060 at line 1402 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa941d52ae014a24fbf972a08ede8ee51521d4a74786a795ee5c4ee3e63cf41"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/workers/tree-builder.worker.ts\u0060 reports through \u0060console.*\u0060 at line 61 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/workers/tree-builder.worker.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad8610d673ff0d6b678cc93eb07bc91e61297be1e5ae321b5accb6905053e88"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/utils/debug.ts\u0060 reports through \u0060console.*\u0060 at line 14 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/debug.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"596fddfd11aaef8c4431f16666e723716569333f32ec01baabe479c726c3e65a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/utils/debug.ts\u0060 reports through \u0060console.*\u0060 at line 35 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/debug.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d455d20e4dfad091e3ce4a346e2ac381d727db4ada99ac38fd158662955e5720"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/utils/debug.ts\u0060 reports through \u0060console.*\u0060 at line 42 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/debug.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d61a7f6b13c3bc742bffdc7e34e7d0e459ff2292964450388e79ebdd7b8d899"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts\u0060 reports through \u0060console.*\u0060 at line 45 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce8dcf62e2e74e83b5f1acbd652e1ce703e40662fb44b0cd238c2b91ef63348"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts\u0060 reports through \u0060console.*\u0060 at line 442 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea99f8899a3daae755470b27cee2363759c83bd328e66cc3690ef59ea3ebf20"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts\u0060 reports through \u0060console.*\u0060 at line 46 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"04628256199ef9623a4a7873083b05bd0a6dbe06c1ed248fc27f3f889ed3011d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts\u0060 reports through \u0060console.*\u0060 at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a27f2b43f3d1a64d4184a9d54f0858a641a161bc025c5652df1152e1c937138"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts\u0060 reports through \u0060console.*\u0060 at line 394 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"674242e9291064f62c23df16cf74991f92864e0c6988d4ba315ddfc03fd7aba6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts\u0060 reports through \u0060console.*\u0060 at line 420 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf9d828e506a9be0692145b4a45914fe2e5080c955813140a846f0c27e92034"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewPreferences.ts\u0060 reports through \u0060console.*\u0060 at line 48 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewPreferences.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c87d673915a17c95cc822df6993b477df1c8ecfa9e361acea9deb259c2f871"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewPreferences.ts\u0060 reports through \u0060console.*\u0060 at line 64 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewPreferences.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1ff18c30b920766ee994ba78e1663a9a60ba9b909698506b6c696a91741ece"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/contexts/SectionContext.tsx\u0060 reports through \u0060console.*\u0060 at line 74 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/contexts/SectionContext.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dafaa05e25a07745e54efc63ace8848a55a48a0f87a25ca80049841739a43a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ui/AdvancedJsonViewer/components/CopyButton.tsx\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/CopyButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"afefe1cd35aad56269eb24c9d7d1c151904f3e97df2c4aee515dc7e8ce6582b3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts\u0060 reports through \u0060console.*\u0060 at line 1189 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b44528aaff4fef247acc313cadd13b8aed6a6996a47a460aea7f84452665a83"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts\u0060 reports through \u0060console.*\u0060 at line 297 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"35862eb5f2db7f11f3027801c2291e4d94304c237f232fcd5322a670fdd59c72"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts\u0060 reports through \u0060console.*\u0060 at line 316 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f02f2ee8ec3c732ac0d6fd37384c4a77fe99727bb8f7476f1c939eac212ef3d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts\u0060 reports through \u0060console.*\u0060 at line 341 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"86673f8079f09a961494b0681121dbf3a46b03325d4b5a4fd66a857698d0e01f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts\u0060 reports through \u0060console.*\u0060 at line 764 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70ff04a4afc1a0255656510c74f55b890b8d9ab43aa76b7db3f9595fafd0023"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/table/data-table-ai-filters.tsx\u0060 reports through \u0060console.*\u0060 at line 56 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"508a4bca938bf9cb3a478a37297cf22b3a52004a1e9f5cfba81512daadbbdc37"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/table/data-table-ai-filters.tsx\u0060 reports through \u0060console.*\u0060 at line 60 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d609c7b5b94cc741d5713e0f327db010cbbf7b678f5b24c2fc8c76f3462926"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/layouts/app-layout/hooks/useAuthSession.ts\u0060 reports through \u0060console.*\u0060 at line 31 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/app-layout/hooks/useAuthSession.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97b6aa24be1ed17296feb3a3251d779fd35679440060af723db7061e2748cea"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx\u0060 reports through \u0060console.*\u0060 at line 165 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28ddb06a3afa7b3349723d5549f5293a9760e287132062b575909966d527425"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/__e2e__/api.servertest.ts\u0060 reports through \u0060console.*\u0060 at line 125 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__e2e__/api.servertest.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7174a68f50a9e415ad1cbe9deaaf5cb5f55dca43270079aa977aba3c301dad44"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060langfuse/web/src/__e2e__/api.servertest.ts\u0060 reports through \u0060console.*\u0060 at line 151 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__e2e__/api.servertest.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d870c6b328f2302e644f50371098ad12e225e279af9a108d7849ca7c14bdb1"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch uv: \u0060langfuse/.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060uv\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 entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/.github/dependabot.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eed6ed24a87f590dcebc9e1427be85d17dd477ac25cecb527f30323e647719"}},{"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: \u0060fetch(\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":"langfuse/worker/src/features/mixpanel/mixpanelClient.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42c8b8bb94c93b58664d6e8e1cdb21a9d6f313800cdc2e16ace9a2e76b603a5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060uploadAndCreateMediaRecord\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec7d66860399a168cdae72cdc39ad8f353b28f113fe639a1809100ba9e6f5e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060uploadAndCreateMediaRecord\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c868775419424c12cca32119ed7226e27536723928097ec938341565bb0c5e1b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060gzipSync\u0060 in \u0060sendBatch\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/mixpanel/mixpanelClient.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3286ac33493e344e176f14d00aabc8b5b6b563e8edc9a2fa83eaac1d2a40244a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 47 sibling directories (150 clone groups): 150 duplicated blocks under langfuse/web/src/features/ have copies in at least two of the sibling directories annotation-queues, automations, background-migrations, batch-actions, batch-exports, blobstorage-integration (\u002B41 more sibling(s) not listed) \u2014 84 of them are reported below, and 66 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 150 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 150 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 150 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":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eea8d2dcbefcc988f14adc556462eff655526093cdbbbb876e7289ccef5b10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (149 clone groups): 149 duplicated blocks under langfuse/web/src/ have copies in at least two of the sibling directories components, ee, features, hooks, pages, server (\u002B1 more sibling(s) not listed) \u2014 87 of them are reported below, and 62 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 149 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 149 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 149 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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd521641cb073a4bea53f87bbd8a8301dd6f4de9cff7633c6e48ee23187f082d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (81 clone groups): 81 duplicated blocks under langfuse/ have copies in at least two of the sibling directories packages, web, worker \u2014 46 of them are reported below, and 35 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 81 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 81 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 81 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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d13b836c5384030759166dc55e51ee101945e5ef99827ef0c046a7bdf4ba1f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 13 sibling directories (16 clone groups): 16 duplicated blocks under langfuse/web/src/pages/api/public/ have copies in at least two of the sibling directories annotation-queues, comments, datasets, metrics, models, observations (\u002B7 more sibling(s) not listed) \u2014 12 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 16 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 16 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 16 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":"langfuse/web/src/pages/api/public/projects/[projectId]/memberships/index.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c982de3970ac5431dfeb310573a2bfc810e1924f7a89d00eada69728b6e3981"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (13 clone groups): 13 duplicated blocks under langfuse/packages/shared/src/ have copies in at least two of the sibling directories domain, features, interfaces, server, tableDefinitions, utils \u2014 5 of them are reported below, and 8 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 13 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 13 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 13 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":"langfuse/packages/shared/src/features/evals/observationForEval.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a6fa4b331fc8f64a177505f99ef483253802023e93c558ef2655d36cc3219"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (9 clone groups): 9 of the duplicated blocks reported below have copies in at least two of the sibling directories session, table, trace2, ui under langfuse/web/src/components/. That concentration is one structural fact, not 9 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 9 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":"langfuse/web/src/components/table/utils/jsonExpansionUtils.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"764d04153c63c4fa0f918e6a7aea2a954efec0d762ffef5660db737de579d7b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (9 clone groups): 9 duplicated blocks under langfuse/worker/src/ have copies in at least two of the sibling directories backgroundMigrations, ee, features, queues, utils \u2014 4 of them are reported below, and 5 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 9 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 9 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 9 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":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f487776815d2e27e9959baddc5fd70043f7bea8a2e5b1a8587ab7d1847ebbd5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (8 clone groups): 8 duplicated blocks under langfuse/packages/shared/src/server/services/email/ have copies in at least two of the sibling directories batchExportSuccess, cloudSpendAlert, commentMention, organizationInvitation, passwordReset, usageThresholdSuspension (\u002B1 more sibling(s) not listed) \u2014 7 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 8 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 8 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 8 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/sendUsageThresholdSuspensionEmail.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e35d35ff2cf6bb46584a0ec4a1e6001a529d31edd53cb79a61fd81e477b8f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (6 clone groups): 6 of the duplicated blocks reported below have copies in at least two of the sibling directories ObservationDetailView, TraceDetailView, TraceLogView, TraceTimeline, _shared under langfuse/web/src/components/trace2/components/. That concentration is one structural fact, not 6 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 6 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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailViewHeader.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1731f1f2251557a23b46aebd10b3f0c05c033ca66f46fba1ef1a521ff18b4e37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (6 clone groups): 6 of the duplicated blocks reported below have copies in at least two of the sibling directories batch-data-retention-cleaner, batch-project-cleaner, batch-trace-deletion-cleaner, blobstorage, media-retention-cleaner, mixpanel (\u002B1 more sibling(s) not listed) under langfuse/worker/src/features/. That concentration is one structural fact, not 6 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 6 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":"langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"255114671a9cc62e3c23d362b48907bc98426e4bc18d61303ac03654bd58ec36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (5 clone groups): 5 duplicated blocks under langfuse/packages/shared/src/server/ have copies in at least two of the sibling directories llm, otel, queries, repositories, services \u2014 1 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 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 5 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":"langfuse/packages/shared/src/server/repositories/traces.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2d52facf8b06550f555aff55a4a28aaef01dd48b6012f4d4188eef5ae6d2c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (569 matched lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:757 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:653 \u2014 the two spans are one implementation copied and then locally edited \u2014 2630 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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b16d46b8271583f76240576ec4bb3f304fe51f53f027d0b8eeb287490f67ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (253 matched lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:2025 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1995 \u2014 the two spans are one implementation copied and then locally edited \u2014 1183 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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cb464ecf875c61a9606fdee97b6d1347bd9a076902a148fd3f2886dfab9c9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (201 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/ObservationPreview.tsx:68 \u00B7 langfuse/web/src/components/trace2/TracePreview.tsx:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 844 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":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9e46db9799f2dca1e162743accfe502345ca3f0da7755b10f7731563aad244"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (190 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx:34 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 882 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b94da4148dbbf638bd33bcf1c9e8a618abbccd6478700a2bfc9cf0ba3cf15f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (157 matched lines \u00D7 2 locations): langfuse/web/src/features/playground/page/components/PlaygroundTools/index.tsx:144 \u00B7 langfuse/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 692 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":"langfuse/web/src/features/playground/page/components/PlaygroundTools/index.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede5434457869fd2fb3e791e36f49819596525215f7cd5ab073cc669bbddf0a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (149 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleJsonViewer.tsx:19 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 625 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleJsonViewer.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cc86088d38a1ef843eb2a1362c19c6e6cb90ccd87e9593f3a17c9f33baa7c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (144 matched lines \u00D7 2 locations): langfuse/web/src/components/session/TraceEventsRow.tsx:17 \u00B7 langfuse/web/src/components/session/TraceRow.tsx:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 807 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":"langfuse/web/src/components/session/TraceEventsRow.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfc2b9a51a11b7f7888feb36e401cae3292018ac5de464cc8b417072f4ccd55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (143 matched lines \u00D7 2 locations): langfuse/web/src/features/evals/components/eval-templates-table.tsx:56 \u00B7 langfuse/web/src/features/evals/components/evaluator-table.tsx:139 \u2014 the two spans are one implementation copied and then locally edited \u2014 675 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":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d64247ce9cf6f8e41cd462fe5951c3adfcf06654980e56da92c3ca97e21a81c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (141 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts:607 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:458 \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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"607b9ff1a38933d6f745ae2eb92384c9d2c263cab21a136a5207923c628ae4d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (132 matched lines \u00D7 2 locations): langfuse/web/src/components/session/index.tsx:227 \u00B7 langfuse/web/src/components/session/index.tsx:544 \u2014 the two spans are one implementation copied and then locally edited \u2014 626 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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7401823358a83740783e797bdc5cb530ea183b663d0a40e7185807780f5891dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (126 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/command.tsx:18 \u00B7 langfuse/web/src/components/ui/input-command.tsx:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 644 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":"langfuse/web/src/components/ui/command.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"90336cc15b56e7698da12850942d81216f4cf5aca6660998bf9a17fc4bdce64a"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (119 identical lines \u00D7 2 files): langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesBooleanChart.tsx:1 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesCategoricalChart.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 119 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesBooleanChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9ee29df4a0f4163a59ecf91575f50c09b49067ace66e069961ee57813d80b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (116 matched lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx:43 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 594 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":"langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3382342a93b73a45a8fbc3698cfa262d0f1d708cd0677dde47d1f20b1e41febb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (114 matched lines \u00D7 2 locations): langfuse/web/src/pages/auth/sign-in.tsx:548 \u00B7 langfuse/web/src/pages/auth/sign-up.tsx:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 523 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":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b22868afcd564484c4bafe22f4d3fa0de40c3d4a811582aca1e2e6757207cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (111 matched lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:183 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:156 \u2014 the two spans are one implementation copied and then locally edited \u2014 440 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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ba250db4241210268076a95242153e330b89da64fc30d0437aca452c29c7d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (108 matched lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts:213 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/openai.ts:141 \u2014 the two spans are one implementation copied and then locally edited \u2014 677 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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdba41686b7d66e9cb5e2af9d47de5b6e53d92a200ad4897cb852dadf87ea36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (108 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/dropdown-menu.tsx:15 \u00B7 langfuse/web/src/components/ui/select.tsx:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 613 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":"langfuse/web/src/components/ui/dropdown-menu.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b4db67ad75d36096b4d71ffbbdc0a1606954348399aca2407d92fef25670a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (105 matched lines \u00D7 2 locations): langfuse/worker/src/features/database-read-stream/event-stream.ts:37 \u00B7 langfuse/worker/src/features/database-read-stream/trace-stream.ts:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 543 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":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"986724ad160279bd5e8660b273b5adae1bb84dac3accd5acb62a4be7c30f67b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (102 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx:36 \u00B7 langfuse/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx:36 \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":"langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2983b90a8389bcb09232ad077473f7ee913bfa8f76d8822c74578206b071dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (102 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx:106 \u00B7 langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx:136 \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":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc969aee9b6a3e01e237fda78723dc62feb6b97d7c8fa27194c47efb7547455c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (98 matched lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/EditDatasetItem.tsx:22 \u00B7 langfuse/web/src/features/datasets/components/EditDatasetItemDialog.tsx:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 436 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":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99e994b1d45c9ada00c1e6687361814ea15b0267d8678efdfbf8eed37f7ea0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (98 matched lines \u00D7 2 locations): langfuse/web/src/features/organizations/components/RenameOrganization.tsx:45 \u00B7 langfuse/web/src/features/projects/components/RenameProject.tsx:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 476 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":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1738a716a7e3b1dd25e007edda0eead6ccee5fb33bbc5a7d27c6cd7697d76206"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (97 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/dashboards.ts:104 \u00B7 langfuse/packages/shared/src/server/repositories/dashboards.ts:202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dashboards.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"844ccb528c351fa268f3e2c41fd2b4825911ae26f42c06b15d74711ab3436235"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (96 matched lines \u00D7 2 locations): langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:44 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:271 \u2014 the two spans are one implementation copied and then locally edited \u2014 559 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":"langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1ababa066f6854939ddb96ecd966d7fc368bca17baab9009de7e3e2d882e06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (92 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx:209 \u00B7 langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx:148 \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":"langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7138f237db1c96284d736eda896a4b65cfa4f01b8537e83163c31cd01efedbf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (92 identical lines \u00D7 2 files): langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts:1 \u00B7 langfuse/worker/src/backgroundMigrations/migrateTracesFromPostgresToClickhouse.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 92 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb436a4a96c0875cd667ec779d1f04fb6271c09ce2c4ce60a3488c237e91d1b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (92 identical lines \u00D7 2 files): langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts:1 \u00B7 langfuse/worker/src/backgroundMigrations/migrateTracesFromPostgresToClickhouse.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 92 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07f8cdc2a7a324076f1d6e7d7e8d3b30ff60406db932aa11cf3327943d03703"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx:362 \u00B7 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9765fad5ffb6e77576750110480bf30137abf1a0460a0d35b4b97669a32eb76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:178 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:403 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3875ca85a53e1ddaf0b7ec79268b6a3db19a71b9c63acc56cf6d37145a47830"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (88 matched lines \u00D7 2 locations): langfuse/web/src/features/public-api/components/ApiKeyList.tsx:72 \u00B7 langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 457 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":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcca4e71c049ea53132db5d903d8ffccc4a5aa19ec159dd204e2ebdfe4b15efd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:332 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:269 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b741a52d5a8e337e7f00d2638f4b35d59d771a8d8b3412279487c4b2649d390"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/users.ts:37 \u00B7 langfuse/web/src/server/api/routers/users.ts:133 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/users.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7af5c99c8b71641dced162d270a0b2a976aedf9a2b586d5dd39b6dc2137f03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (82 matched lines \u00D7 2 locations): langfuse/worker/src/features/database-read-stream/observation-stream.ts:95 \u00B7 langfuse/worker/src/features/database-read-stream/trace-stream.ts:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 398 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":"langfuse/worker/src/features/database-read-stream/observation-stream.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c30aaa247857c54f9f5e91734ba2c40d8ba2b15a4e05171da59564857f0ecb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2 locations): langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts:52 \u00B7 langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts:158 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"11885dad092a8ecf5b51f2e2ad5be9281b9dadc75c810fe95c35805e14f73fc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (78 matched lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts:29 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/openai.ts:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 452 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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47c731d71f9709310b2aaed28b4ad8d6f8347cdd19115733f67b469d9dfe1be"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (78 identical lines \u00D7 2 files): langfuse/web/src/features/mcp/features/prompts/tools/createChatPrompt.ts:8 \u00B7 langfuse/web/src/features/mcp/features/prompts/tools/createTextPrompt.ts:8 \u2014 these 2 files are line-for-line copies of one another \u2014 78 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/createChatPrompt.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfa36a64f933a3e24426811f3933a0858a29d88cd43b54c435153e21a9100ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (78 matched lines \u00D7 2 locations): langfuse/web/src/features/projects/components/DeleteProjectButton.tsx:36 \u00B7 langfuse/web/src/features/projects/components/TransferProjectButton.tsx:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 357 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":"langfuse/web/src/features/projects/components/DeleteProjectButton.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"99664323946fc85c7541bfd6a411d8987bf376f6569ec42052e4aa86f0f2962a"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (77 identical lines \u00D7 2 files): langfuse/web/src/features/widgets/chart-library/AreaChartTimeSeries.tsx:1 \u00B7 langfuse/web/src/features/widgets/chart-library/LineChartTimeSeries.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 77 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/AreaChartTimeSeries.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c2864bd658bf5f824b755856a5a17308eac1c63cdbcddf2da5ba41dbd30e52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (76 matched lines \u00D7 2 locations): langfuse/web/src/features/experience-summary/server/router.ts:47 \u00B7 langfuse/worker/src/queues/autoExperienceSummaryQueue.ts:150 \u2014 the two spans are one implementation copied and then locally edited \u2014 475 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":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"014a2f63836f682d5b41f42bac9f0cb254cd80eec43d080b3549dd121031a232"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 3 locations): langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts:12 \u00B7 langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts:12 \u00B7 langfuse/worker/src/backgroundMigrations/migrateTracesFromPostgresToClickhouse.ts:12 \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":"langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9996d22faef2519340d7178ae2603c52b8fb97be649112b404c38f7aec84c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (73 matched lines \u00D7 2 locations): langfuse/web/src/features/evals/components/evaluator-selector.tsx:113 \u00B7 langfuse/web/src/features/evals/components/evaluator-selector.tsx:191 \u2014 the two spans are one implementation copied and then locally edited \u2014 346 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":"langfuse/web/src/features/evals/components/evaluator-selector.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bea63c99efd4b73bd4057237ee5b8759d2f2a791a3b0116e2b58fb2cb4ff6b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 3 locations): langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts:151 \u00B7 langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts:109 \u00B7 langfuse/worker/src/backgroundMigrations/migrateTracesFromPostgresToClickhouse.ts:109 \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":"langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79675c25c62809ffa24c97ba7b68cb4f5d4e75a8e449cf1774ed597fbe8a6c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:175 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:203 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e49f6f94b89f89bc4a9d292af05456c4ae724ca295c9735b6a4e9575859d35c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/sendUsageThresholdSuspensionEmail.ts:9 \u00B7 langfuse/packages/shared/src/server/services/email/usageThresholdWarning/sendUsageThresholdWarningEmail.ts:8 \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":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/sendUsageThresholdSuspensionEmail.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4312cd80a37c2d7a56b6a1a974b2df361622fb17146747b1b74d4432d04af61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/traces.ts:675 \u00B7 langfuse/packages/shared/src/server/repositories/traces.ts:746 \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":"langfuse/packages/shared/src/server/repositories/traces.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e814622cc600c1974025290be841504fe1d958b0528d1b3a4cdd1360cf84645"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (70 matched lines \u00D7 2 locations): langfuse/web/src/features/corrections/contexts/CorrectionCacheContext.tsx:107 \u00B7 langfuse/web/src/features/scores/contexts/ScoreCacheContext.tsx:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 358 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":"langfuse/web/src/features/corrections/contexts/CorrectionCacheContext.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a45138c8c1da69e9ca9c2f071532aeddc858a37bfcb929ddfa6304cfb58751"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2 locations): langfuse/web/src/utils/fill-time-series-gaps.ts:172 \u00B7 langfuse/web/src/utils/fill-time-series-gaps.ts:479 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d2088cbfb9b488a8840b302cda00e33cd73041169a55955c150a104cb3d05d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:1866 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1833 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bab2aca16e561274744178c879468cf27a970c43127b9ca0440a8cb16beff6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:421 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:363 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a8bbdc9fc23206bf8769d68d4ce4351da15e04f94d16345cb2063d0dd20d3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2 locations): langfuse/worker/src/queues/evalQueue.ts:111 \u00B7 langfuse/worker/src/queues/evalQueue.ts:218 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/evalQueue.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"767690fcddaed8f53c91bef6a75b3df66990614dec0ddfe8d06d73c8cb912d14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:381 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:776 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"841cb0512bc6769641773dc3ddaca97c2bb34cff9e26e6a22f24af08dc2d0e19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (68 matched lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/dailyMetrics.ts:101 \u00B7 langfuse/web/src/features/public-api/server/scores.ts:149 \u2014 the two spans are one implementation copied and then locally edited \u2014 345 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":"langfuse/web/src/features/public-api/server/dailyMetrics.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"020f6650ef385bd6c528f05f40166cc1740a74ff296cba8dd04d71b200b3d938"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts:175 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:60 \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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0b61c4c5c48945eb03f75d3cfa817871330f47f5a249df7a30854ef2900a12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:812 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:354 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"569ee5e6494b5a737e52ec0e02f9b3b88760122fb1bffeb8fbd6a0f7dac6ca5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts:156 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts:115 \u2014 the two spans are one implementation copied and then locally edited \u2014 387 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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c93bb31dd9d7873a26e16ec52b0c58c860dec985a9214541e5d363245665c52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/projects/createProject.ts:10 \u00B7 langfuse/web/src/ee/features/admin-api/server/projects/projectById/index.ts:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 320 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":"langfuse/web/src/ee/features/admin-api/server/projects/createProject.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fd545c185c108975b1e7955ba4d37d6a234ad5d2ecb89f0ac3e2abaf0f53d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2 locations): langfuse/worker/src/features/database-read-stream/event-stream.ts:336 \u00B7 langfuse/worker/src/features/database-read-stream/event-stream.ts:478 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8934581de913259af529aa180490e48ff4980c20d86484c6db0347f2063ff5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx:196 \u00B7 langfuse/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx:200 \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":"langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f269e333a6caf8fb03645cd226d0f5d94fc286db51fc3c81ec0ce89598ecbac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/alert-dialog.tsx:9 \u00B7 langfuse/web/src/components/ui/sheet.tsx:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 310 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":"langfuse/web/src/components/ui/alert-dialog.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf45b74cf19cd634f0324bfaf1d9f58b645353b9f0295c08466362e051bc88d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/DashboardTable.tsx:129 \u00B7 langfuse/web/src/features/widgets/components/WidgetTable.tsx:112 \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":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afc4abbf88e9622958691f20aa55a50ed5828abdc85cc335aa9065cd9bdc39f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/sessions.tsx:22 \u00B7 langfuse/web/src/pages/project/[projectId]/users.tsx:57 \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":"langfuse/web/src/pages/project/[projectId]/sessions.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"967545c76a2113a359167b01beeb60706ea8a03325359f4087b9731b7c16e42d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (60 matched lines \u00D7 2 locations): langfuse/web/src/features/evals/components/template-selector.tsx:197 \u00B7 langfuse/web/src/features/evals/components/template-selector.tsx:288 \u2014 the two spans are one implementation copied and then locally edited \u2014 269 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":"langfuse/web/src/features/evals/components/template-selector.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8c894fbfad9a8cd7304334f9583c0b33636d4c728cb0283dfb07e4318f2c66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (60 matched lines \u00D7 2 locations): langfuse/worker/src/ee/usageThresholds/bulkUpdates.ts:40 \u00B7 langfuse/worker/src/ee/usageThresholds/bulkUpdates.ts:146 \u2014 the two spans are one implementation copied and then locally edited \u2014 334 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":"langfuse/worker/src/ee/usageThresholds/bulkUpdates.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec44891121ce52191ab162e69242dd99512a21d043026afc51d509b04953a7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): langfuse/web/src/features/events/server/eventsRouter.ts:294 \u00B7 langfuse/web/src/server/api/routers/traces.ts:738 \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":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f34a4797b784c0dd85f7dbc48de7d971261bf77940950cfe9bec49d799871c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): langfuse/web/src/features/widgets/components/WidgetForm.tsx:411 \u00B7 langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx:189 \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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2bcf267582540ff42a42fdc223cd307668c74019c3e19e0e45314865bd5a5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts:818 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:688 \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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2824af81963ac264939e89940c37909306a74c27aafe1ecc1aeee9dac656aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:67 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:222 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43db6627c7fa5344aafdc36607defe8af5f24e9f923a4d2b462d78c69333467"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/lib/statistics-utils.ts:489 \u00B7 langfuse/web/src/features/score-analytics/lib/statistics-utils.ts:557 \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":"langfuse/web/src/features/score-analytics/lib/statistics-utils.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"026a0ca9bf4d82cf2597a0332479f1d468ceca36430cc28778aca186d4a684cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx:104 \u00B7 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/index.tsx:107 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b841a29d5e6296e6f9f2cb013b514a368d3e1a88b19c24d2776c95774803f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2 locations): langfuse/web/src/features/batch-actions/server/batchActionRouter.ts:52 \u00B7 langfuse/web/src/features/batch-exports/server/batchExport.ts:96 \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":"langfuse/web/src/features/batch-actions/server/batchActionRouter.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6f2454e903e57b39ad794070cc059e24152de7a5f88f50f42c779394519082"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2 locations): langfuse/web/src/features/filters/config/sessions-config.ts:61 \u00B7 langfuse/web/src/features/filters/config/traces-config.ts:83 \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":"langfuse/web/src/features/filters/config/sessions-config.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a7b0144ad2e801f8caa3bc82d139c21bd29a8748ddbc29937ad7ea633d25ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts:26 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts:424 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d523ea6bee6411a958c973c70d380bb3a57f6b8d62e2f49103895c7637bc41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): langfuse/web/src/features/events/server/eventsService.ts:118 \u00B7 langfuse/web/src/server/api/routers/generations/filterOptionsQuery.ts:35 \u2014 the two spans are one implementation copied and then locally edited \u2014 388 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":"langfuse/web/src/features/events/server/eventsService.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab35e82dfc93661a9f46f8da6095e6554bb31b4d80a0528f245ff436f4f4722a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:105 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:102 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5366fbb7e043f4de483ef5a256a0ec23ad12d920d05db9a06fe0079144c42544"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2 locations): langfuse/web/src/features/llm-schemas/server/router.ts:20 \u00B7 langfuse/web/src/features/llm-tools/server/router.ts:20 \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":"langfuse/web/src/features/llm-schemas/server/router.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a9b7e811b7fc6c6cbb8d51d3f2b3633794096d831a7bd2549ccaeca65cf0b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:193 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:183 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:156 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"21afc8b9c3b52e4bcef1f098e47404388dddf92b2a4e6ce45589e80352f2ea30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/MappingCard.tsx:188 \u00B7 langfuse/web/src/features/datasets/components/MappingCard.tsx:244 \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":"langfuse/web/src/features/datasets/components/MappingCard.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9347bfddf0f4921830da1a06c6242b13303a413d82977cc756baba2db2c394"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2 locations): langfuse/web/src/features/events/config/filter-config.ts:209 \u00B7 langfuse/web/src/features/filters/config/observations-config.ts:139 \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":"langfuse/web/src/features/events/config/filter-config.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"89909e70d96970020aa5678090aceac9235a5df74350a31926e9a55e6ca9f4e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2 locations): langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts:14 \u00B7 langfuse/web/src/features/posthog-integration/posthog-integration-router.ts:15 \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":"langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"73245f4a2675858618e36295fab7c7c0efb29fb0003ee70fcb552c2f74c6c542"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/metrics.ts:20 \u00B7 langfuse/web/src/features/public-api/types/metrics.ts: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":"langfuse/web/src/features/public-api/types/metrics.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a91e8397d087e9fdb5d04d3be6b55c0e89886d576e6fa357171a2207bacc82a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/organizations/apiKeys/index.ts:10 \u00B7 langfuse/web/src/pages/api/public/organizations/projects/index.ts:10 \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":"langfuse/web/src/pages/api/public/organizations/apiKeys/index.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec28d85508fe107d2ad83a36daefabf6add26313823500918997b4c44f38a45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/sessions.ts:369 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:438 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ee88fdd8fe3de9c1031886e50d5145da9ee8baa1cfa1acaca0dfc5dc0c6aa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2 locations): langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:460 \u00B7 langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:569 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"d837741afb780212ac7b3b43f6d68cf36f0238c3ad4a070c351d228e2ed86f85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (52 matched lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/observations.ts:1886 \u00B7 langfuse/packages/shared/src/server/repositories/traces.ts:1460 \u2014 the two spans are one implementation copied and then locally edited \u2014 272 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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b24321c1644e94cb2dbc128bd4d60cf76359c27acea30afb1d2b3a2d0e3bb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): langfuse/web/src/features/filters/config/observations-config.ts:94 \u00B7 langfuse/web/src/features/filters/config/traces-config.ts:80 \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":"langfuse/web/src/features/filters/config/observations-config.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7522718f4e5d212927968cfec75351ac80d02179ae9ce07c2ce821cc787d5006"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): langfuse/web/src/hooks/useParsedObservation.ts:139 \u00B7 langfuse/web/src/hooks/useParsedTrace.ts:132 \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":"langfuse/web/src/hooks/useParsedObservation.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e0e723ecf68fd3dcb6d72cb9334ef32a4182bb37ba15f3e4983c63b937a662"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (52 matched lines \u00D7 2 locations): langfuse/worker/src/scripts/send-test-spend-alert-emails.ts:20 \u00B7 langfuse/worker/src/scripts/send-test-threshold-emails.ts:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 245 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":"langfuse/worker/src/scripts/send-test-spend-alert-emails.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e83412000346e9548c1da3d3a50eb3b09b8caf67c59ef03ab0d2933c09e73da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:635 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:556 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"601ce659648576db4d107abfee8ed9fd9c13ce4a7746d20fb3db89a7efcaf342"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): langfuse/web/src/features/llm-api-key/server/router.ts:140 \u00B7 langfuse/web/src/features/llm-api-key/server/router.ts:447 \u2014 the two spans are one implementation copied and then locally edited \u2014 229 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":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"636ada1a8a4325c401d5154da7c4c7f274d72558764b9e93e660e77d287173a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): langfuse/web/src/features/mcp/features/prompts/tools/getPrompt.ts:53 \u00B7 langfuse/web/src/features/mcp/features/prompts/tools/getPromptUnresolved.ts:59 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/getPrompt.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8a15352e7688c0312b38035448885f6bc701d8111fba8aa3a4bca24a602aa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:28 \u00B7 langfuse/worker/src/queues/autoExperienceSummaryQueue.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 390 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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"559bfe98cb410057299970165db63ba243ff1a001fe4eaeb2b3cd8ac4a811835"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): langfuse/web/src/components/date-picker.tsx:122 \u00B7 langfuse/web/src/components/date-picker.tsx:336 \u2014 the two spans are one implementation copied and then locally edited \u2014 264 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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcd67dcbb162498e5eaa8b9f9cdda8d68137d012d8345306757a8d1d89978ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceTimeline/TimelineBar.tsx:74 \u00B7 langfuse/web/src/components/trace2/components/TraceTimeline/TimelineBar.tsx:148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineBar.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7412a95b81f5359267752c1f8089217714dc8ffef70e72cadc5e2536d636f592"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetItemFieldSchemaErrors.tsx:3 \u00B7 langfuse/web/src/features/datasets/components/DatasetItemSchemaErrors.tsx:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 254 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":"langfuse/web/src/features/datasets/components/DatasetItemFieldSchemaErrors.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e21a9a115c4b0ce2de919d0ca848225754d16db1b8775adec2085549e3bbf57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts:443 \u00B7 langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts:800 \u2014 the two spans are one implementation copied and then locally edited \u2014 348 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":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4c0507983786e89fcfc267de6f57372165e72c8e44c3aca3c8162b5fadd5b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): langfuse/web/src/components/ui/sidebar.tsx:351 \u00B7 langfuse/web/src/components/ui/sidebar.tsx:403 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/sidebar.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"82be84c54556ff44b41b1db7d171f1aaeb61b2308c528c2e6d0e3a204a21ca91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx:179 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:337 \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9472d3d88373d1e61d4897bd784b8733b599f5435b011596faf39dcd70a927f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/CsvImportValidationError.tsx:33 \u00B7 langfuse/web/src/features/datasets/components/DatasetSchemaValidationError.tsx:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 238 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/CsvImportValidationError.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe496a6cdf53112f0ae1db2ff859f49fb5004ca722fb58688c4cf7482c413ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): langfuse/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx:50 \u00B7 langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 208 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e089878b36f26a4d1104ed2a287ec479d28074e1656cba6c820dd40dab1a4f2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx:104 \u00B7 langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx:155 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1fc42fdb0d57ab1ff158b1c5e894ea0f15f1aad933b0245e3a1809a9eadd9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx:1150 \u00B7 langfuse/web/src/features/filters/hooks/useSidebarFilterState.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":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6bad56914bb2fe3c63f8c0f7f6ce0b3d791e6c1596690f7a3bb3a7a4271653"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/RateLimitService.ts:277 \u00B7 langfuse/web/src/features/public-api/server/RateLimitService.ts:341 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/RateLimitService.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1405aff855de0b2e9923b0f511f4e3e562fe25def702fa3df68705d24f882e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts:214 \u00B7 langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts:274 \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":"langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f624700a83f801f8eedb94f09d7e95b96454218ed5af54488f60003247523b67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): langfuse/packages/shared/src/server/redis/mixpanelIntegrationQueue.ts:15 \u00B7 langfuse/packages/shared/src/server/redis/postHogIntegrationQueue.ts:15 \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":"langfuse/packages/shared/src/server/redis/mixpanelIntegrationQueue.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"290fe2511f8e257e77ac765c7d4a66f418b2d68ee97c254ae4dc7fe9e6a6e453"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): langfuse/web/src/components/layouts/breadcrumb.tsx:136 \u00B7 langfuse/web/src/components/layouts/breadcrumb.tsx:223 \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":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb918b4540b954e09f113a7300918e90f82a233693a3a7a2898f8d3a109f6a4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:559 \u00B7 langfuse/web/src/features/policy-suggestions/server/router.ts:333 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2064f8d095b6d0b6a0fc4f014da28b99a5781ad89129937a4e995b97c0dd02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/organizationApiKeyRouter.ts:85 \u00B7 langfuse/web/src/features/public-api/server/projectApiKeyRouter.ts: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":"langfuse/web/src/features/public-api/server/organizationApiKeyRouter.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"87778808f14a17395ffa24ef4141c90688fa36b4fb5d444afff1b31de5612789"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): langfuse/web/src/features/tag/components/TagPromptDetailsPopover.tsx:17 \u00B7 langfuse/web/src/features/tag/components/TagPromptPopover.tsx:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 271 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":"langfuse/web/src/features/tag/components/TagPromptDetailsPopover.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0b256d7509e0a15f2bc5047647b77f7bd0d26b808c1669f3226af61e3a9c3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): langfuse/web/src/pages/api/public/projects/[projectId]/memberships/index.ts:14 \u00B7 langfuse/web/src/pages/api/public/scim/Users/[id].ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 248 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":"langfuse/web/src/pages/api/public/projects/[projectId]/memberships/index.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db25fe09c84e9bc87ce6382a627e3c9472aeeea88b00866b8f78406f797b1a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): langfuse/web/src/features/prompts/components/delete-prompt-version.tsx:27 \u00B7 langfuse/web/src/features/prompts/components/delete-prompt.tsx:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 280 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":"langfuse/web/src/features/prompts/components/delete-prompt-version.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b7519dc6917b520eeb81a9d657ebed76eafa0532d9a0374550211ce69f7b2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): langfuse/web/src/features/rbac/server/allInvitesRoutes.ts:74 \u00B7 langfuse/web/src/features/rbac/server/allMembersRoutes.ts:136 \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":"langfuse/web/src/features/rbac/server/allInvitesRoutes.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffe4f19cb3dcc794f247c4ced5613ec27e7b545811df6900fe1b6412093a20b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/index.tsx:222 \u00B7 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/items.tsx:100 \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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/index.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ef0d06e83a792fda3e3afb68f89dbc4bc0f2bfcea09a792c7e46ea39412a6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): langfuse/web/src/components/session/index.tsx:430 \u00B7 langfuse/web/src/components/session/index.tsx:904 \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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"26916ecd07a72cd2fdfb6cbfd5ac0d3e7dfa69871d877cc8ee43a4fd057ee2c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts:184 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts:246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9856947d8e1072667f990d78cc413ea1b82d6aa4e974875a102f5284605aa6ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/SelectDashboardDialog.tsx:65 \u00B7 langfuse/web/src/features/widgets/components/SelectWidgetDialog.tsx:82 \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":"langfuse/web/src/features/dashboard/components/SelectDashboardDialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1651fbaec15757c3bdf6ac1b40e5d8195fbefe39fb1b3e2b85ff44ae0f8715bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx:176 \u00B7 langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx:277 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02cbaea87ef0a93dc35e7e81b322a58d63bf71e232c48c2bdcd1ed3a6458fc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:116 \u00B7 langfuse/web/src/server/api/routers/scores.ts:210 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9616c12dbd571a0b9a020745954fd5c6d0aedf5df840ac54ddf7b525039e31c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): langfuse/web/src/utils/fill-time-series-gaps.ts:57 \u00B7 langfuse/web/src/utils/fill-time-series-gaps.ts:381 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"34175ed7bce184d44c6cd90d03fdbfdb03a2369c9d9a98eb70c60c51066b5c9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): langfuse/packages/shared/src/server/redis/coreDataS3ExportQueue.ts:11 \u00B7 langfuse/packages/shared/src/server/redis/meteringDataPostgresExportQueue.ts:11 \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":"langfuse/packages/shared/src/server/redis/coreDataS3ExportQueue.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fde8f3f2e4ee85d9cdf1b750d18799a0e3ccd1ca16804591a55d83a44f851ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/projects/[projectId]/apiKeys/[apiKeyId].ts:12 \u00B7 langfuse/web/src/pages/api/public/projects/[projectId]/apiKeys/index.ts:13 \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":"langfuse/web/src/pages/api/public/projects/[projectId]/apiKeys/[apiKeyId].ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"120db5a908dd3c5997ea972322f2094cd7a5d7d9a834d5724763c679154550b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 3 locations): langfuse/packages/shared/src/server/redis/blobStorageIntegrationQueue.ts:14 \u00B7 langfuse/packages/shared/src/server/redis/coreDataS3ExportQueue.ts:19 \u00B7 langfuse/packages/shared/src/server/redis/dataRetentionQueue.ts:14 \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":"langfuse/packages/shared/src/server/redis/blobStorageIntegrationQueue.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"41208ef2dbb04c0b3ccf9a41b26c4f4df42e57f8e74b0283622df015d1ba85a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdSuspensionEmailTemplate.tsx:17 \u00B7 langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdUpcomingEnforcementEmailTemplate.tsx: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":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdSuspensionEmailTemplate.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bc82041b6e63af3aa7a5fd40931beefceb69cfe9cd5e61d8deb598652c649a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts:106 \u00B7 langfuse/packages/shared/src/server/services/sessions-ui-table-service.ts:40 \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":"langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b2b08d3c1307f3761a8f619f163d49b48146c9e6f7e2040d0498fd57c19e24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/sessions.tsx:750 \u00B7 langfuse/web/src/features/datasets/components/DatasetsTable.tsx:312 \u2014 the two spans are one implementation copied and then locally edited \u2014 182 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":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"631f68e36dc1c7e42ab3b3c5dbc1623f37122d1a94e197bdd1788cf1440d8928"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1652 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1804 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"413b78099b93d29030b5ccca660db26e1a59cd368ed03c605bac398e516780ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx:290 \u00B7 langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx:334 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8a24b150cdd99bd4604debdd46b816e78700e87d4357eaf1f54aa4b8184b74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/projects/[projectId]/index.ts:28 \u00B7 langfuse/web/src/pages/api/public/projects/[projectId]/memberships/index.ts:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/projects/[projectId]/index.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1436984bd666258aa0a6167344c9a0aa2577617fc1116716b6c457156b24c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/DashboardService/DashboardService.ts:24 \u00B7 langfuse/packages/shared/src/server/services/DashboardService/DashboardService.ts:227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/DashboardService/DashboardService.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"effc77b0695ec325e4364275888a3146b2a73b195cd0a08a981e6474b7cc085a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/LatencyChart.tsx:73 \u00B7 langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx:74 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e747b31f97b6008ee3cd17e0ccaeae2ef4736f56e5260af01836ef9b4f6f880d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx:370 \u00B7 langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx:412 \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":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3933123681c0da315d0b1c378269a4cecb93697a9cfed174059f7120d99f0832"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx:48 \u00B7 langfuse/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx: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":"langfuse/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"304e6d253261efc9a1bc24173a7ee78328c3e8708e7205c83817170435d8eede"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 3 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:73 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:132 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:186 \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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6314ac8ccdc59a669457342e28a36ee37949ad0af4086de78d655359147470f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): langfuse/packages/shared/src/env.ts:99 \u00B7 langfuse/worker/src/env.ts:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 342 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":"langfuse/packages/shared/src/env.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a5d8347050f3feb54d4ff1abebec21bc972367e68c5be12c28d318433703ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): langfuse/packages/shared/src/server/ingestion/types.ts:126 \u00B7 langfuse/packages/shared/src/server/ingestion/types.ts:181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/types.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cda87f12d58c9ade285d85a37d4c52e7ccb0cba9202bfd4a55415ff83cc09d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): langfuse/web/src/features/projects/components/ConfigureRetention.tsx:26 \u00B7 langfuse/web/src/features/projects/components/RenameProject.tsx:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 245 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":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb407ce704ddf5d7fdd74e92708e8461672d979bbf8a317741e51bae899c0c74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/scim/ResourceTypes.ts:8 \u00B7 langfuse/web/src/pages/api/public/scim/Schemas.ts:8 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scim/ResourceTypes.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f67d52ffd37204c01194c65bca4010ce791e505bc8aa8c18fca314aa38d996"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3 locations): langfuse/web/src/pages/api/public/scim/ResourceTypes.ts:3 \u00B7 langfuse/web/src/pages/api/public/scim/Schemas.ts:3 \u00B7 langfuse/web/src/pages/api/public/scim/ServiceProviderConfig.ts:3 \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":"langfuse/web/src/pages/api/public/scim/ResourceTypes.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a199ff3181c10d3ee0dd32ef9c2c5a184d4667d32a507db0911d6ac70dc0b81b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:464 \u00B7 langfuse/web/src/server/api/routers/scores.ts:632 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da535df4a427779ab02b381963a564fd0f1ac2ab464f8a38553941b4202d70b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3 locations): langfuse/worker/src/backgroundMigrations/migrateEventLogToBlobStorageRefTable.ts:147 \u00B7 langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts:148 \u00B7 langfuse/worker/src/backgroundMigrations/migrateTracesFromPostgresToClickhouse.ts:148 \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":"langfuse/worker/src/backgroundMigrations/migrateEventLogToBlobStorageRefTable.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a11eb9b60e0b4f8d382ce20252ffc2ef5b80f763673fa9b56f207f7b5b0c8ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): langfuse/worker/src/queues/webhooks.ts:317 \u00B7 langfuse/worker/src/queues/webhooks.ts:415 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab90656dc3770037276864be8ea901787834ab9b275d5aea21bd5547318c273"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:294 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:329 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"efea1d7d1d95a365312e31f2240f7fece343057a973292cc9d825fc0229db87c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/sessions.tsx:362 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:399 \u2014 the two spans are one implementation copied and then locally edited \u2014 238 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3581983a724c750bd39e069a866b2fa2184f19df12599c6d4bde095a49ecc988"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:653 \u00B7 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx:232 \u2014 the two spans are one implementation copied and then locally edited \u2014 179 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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89d9d466f290a1659eb5ba13bfbcf798a2088ab7123066974b1f172a7faebd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx:59 \u00B7 langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx:128 \u2014 the two spans are one implementation copied and then locally edited \u2014 260 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":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae01731690c9438c7b167665981e24540619bfe840be38a2d9771ca3d6860f9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3 locations): langfuse/packages/shared/src/server/redis/cloudFreeTierUsageThresholdQueue.ts:3 \u00B7 langfuse/packages/shared/src/server/redis/cloudSpendAlertQueue.ts:3 \u00B7 langfuse/packages/shared/src/server/redis/cloudUsageMeteringQueue.ts:3 \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":"langfuse/packages/shared/src/server/redis/cloudFreeTierUsageThresholdQueue.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa4afe7d923d63052195c32eb514b2488a963ad1cc6895a25a363911c3faab1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:2976 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1884 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a584dff8b13067f4bf1aa93c760b8065699008ce3b259283bc84b8ff9e19c00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/TracePreview.tsx:416 \u00B7 langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx:276 \u2014 the two spans are one implementation copied and then locally edited \u2014 163 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":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4776a753e15f61ab81ee9d5fdba56344c7d4fc95da7e1995f9c853ca565fe6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:735 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:799 \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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa5c1740194af19d2e7c6ccea6081d39d8259211cb58cdc74c13e85cd5cc5ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/EditDatasetItem.tsx:195 \u00B7 langfuse/web/src/features/datasets/components/EditDatasetItem.tsx:234 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bc4fa2a49c78a42b7b163eef4576b6bc5d5c5762e27c8d5ae26a2f75388b67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:1119 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:1314 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b80eb8cc6444a9b2819bafced4df4a233cfd4ef6988c7ac1787975eb5b3aa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/dashboards/index.tsx:13 \u00B7 langfuse/web/src/pages/project/[projectId]/widgets/index.tsx:13 \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":"langfuse/web/src/pages/project/[projectId]/dashboards/index.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb670dc0b32f093add0ae554c391af8c1600d55659bd81de59f369a0202a7d4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4 locations): langfuse/packages/shared/src/server/redis/autoErrorAnalysisQueue.ts:8 \u00B7 langfuse/packages/shared/src/server/redis/autoExperienceSummaryQueue.ts:8 \u00B7 langfuse/packages/shared/src/server/redis/createEvalQueue.ts:8 \u00B7 langfuse/packages/shared/src/server/redis/llmAsJudgeExecutionQueue.ts:8 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/autoErrorAnalysisQueue.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78debc901b192837f69a13ab7be1068eb641f896f7ee341af02d6ac79108be8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/scores.ts:830 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:1219 \u2014 the two spans are one implementation copied and then locally edited \u2014 186 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":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"3221af3abca98ee606bd8a0df97e946f6a51a88518af6f4bc2e82758911a3314"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): langfuse/web/src/components/editor/dark-theme.ts:6 \u00B7 langfuse/web/src/components/editor/light-theme.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 317 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":"langfuse/web/src/components/editor/dark-theme.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d7acd27bbd36b0a678ae718bccd8991571ec3c998c3d8a6db21c99252137b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): langfuse/web/src/features/batch-actions/components/BatchActionsSettingsPage.tsx:9 \u00B7 langfuse/web/src/features/batch-exports/components/BatchExportsSettingsPage.tsx:9 \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":"langfuse/web/src/features/batch-actions/components/BatchActionsSettingsPage.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"752b2707d6914850acf15b775092cd12e76be75f5781e09e7d2f17a557e9dd8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:509 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:298 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b157f588ea59ea2dda4ed0c97e02096af4150b02f6fdf3bc67d1611e579a68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/organizationApiKeyRouter.ts:12 \u00B7 langfuse/web/src/features/public-api/server/projectApiKeyRouter.ts:13 \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":"langfuse/web/src/features/public-api/server/organizationApiKeyRouter.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"570eab7a4053d0c8af8cc9f84cc57f3f6d5ec2bfb602e25f1a6cca37cbe303b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/scim/Users/[id].ts:147 \u00B7 langfuse/web/src/pages/api/public/scim/Users/[id].ts:252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scim/Users/[id].ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3950e4c2d253df9ce2b796db3c5d1540e037ef4235c3cdc00ed694b5fc5389b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): langfuse/packages/shared/src/server/redis/autoErrorAnalysisQueue.ts:10 \u00B7 langfuse/packages/shared/src/server/redis/autoExperienceSummaryQueue.ts:10 \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":"langfuse/packages/shared/src/server/redis/autoErrorAnalysisQueue.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf324704eca2d2bc6b3df4c757596f46d383d9869f552e0c2d3d220d3321250"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): langfuse/packages/shared/src/server/redis/cloudFreeTierUsageThresholdQueue.ts:11 \u00B7 langfuse/packages/shared/src/server/redis/cloudUsageMeteringQueue.ts:11 \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":"langfuse/packages/shared/src/server/redis/cloudFreeTierUsageThresholdQueue.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82f8f914e466f2c1803f10b90ce81b54d5919dd8a6689fe631f06a5f5ab3c07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 3 locations): langfuse/packages/shared/src/server/redis/entityChangeQueue.ts:10 \u00B7 langfuse/packages/shared/src/server/redis/ingestionQueue.ts:95 \u00B7 langfuse/packages/shared/src/server/redis/webhookQueue.ts:10 \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":"langfuse/packages/shared/src/server/redis/entityChangeQueue.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8273b162a80793ae99d7bad951af6819f667ed0f3e0a77fd696ee156b47a7bd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/components/PlaygroundTools/index.tsx:36 \u00B7 langfuse/web/src/features/playground/page/components/PlaygroundTools/index.tsx:189 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/PlaygroundTools/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"873ffb9f49d4e194a8f5d570d0ff5470b82a6c8032c81a509dd0d15cea6dfd94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx:197 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionCategoricalChart.tsx:226 \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fd0cf0c4a3511953ecf20fa542ad99d0df4f81ad140c93986f1a4c2d6017ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 3 locations): langfuse/worker/src/queues/blobStorageIntegrationQueue.ts:7 \u00B7 langfuse/worker/src/queues/mixpanelIntegrationQueue.ts:7 \u00B7 langfuse/worker/src/queues/postHogIntegrationQueue.ts:7 \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":"langfuse/worker/src/queues/blobStorageIntegrationQueue.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe398650c799ecacb160c90bcb80f2c36c09082ef763eb6f2db70ae255e046d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts:998 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts:1156 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"da47ea4ce5d11770e1a1476ba3b9c7a24fb4f1d42d9ea14aaba500dc1094bd0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3 locations): langfuse/packages/shared/src/server/redis/batchActionQueue.ts:15 \u00B7 langfuse/packages/shared/src/server/redis/evalExecutionQueue.ts:15 \u00B7 langfuse/packages/shared/src/server/redis/experimentCreateQueue.ts:15 \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":"langfuse/packages/shared/src/server/redis/batchActionQueue.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f364cfac6b3d8c501183b7c35415d39f6e0974f86915c3a4aabacd0f40e23e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 13 locations): langfuse/packages/shared/src/server/redis/batchActionQueue.ts:10 \u00B7 langfuse/packages/shared/src/server/redis/batchExport.ts:10 \u00B7 langfuse/packages/shared/src/server/redis/datasetDelete.ts:10 \u00B7 langfuse/packages/shared/src/server/redis/datasetRunItemUpsert.ts:10 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 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 13 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":"langfuse/packages/shared/src/server/redis/batchActionQueue.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a1d78551163ac3764fe20e8d0c53338160a7108f4f3f8a9605205f280dd99f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3 locations): langfuse/packages/shared/src/server/redis/datasetDelete.ts:15 \u00B7 langfuse/packages/shared/src/server/redis/scoreDelete.ts:14 \u00B7 langfuse/packages/shared/src/server/redis/traceDelete.ts:14 \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":"langfuse/packages/shared/src/server/redis/datasetDelete.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e1379abb42c8a78b15e219d354505f046884b1ccac0a8ae4ff077cf46f807f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): langfuse/packages/shared/src/tableDefinitions/datasetRunItemsTable.ts:4 \u00B7 langfuse/packages/shared/src/tableDefinitions/datasetRunsTable.ts:39 \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":"langfuse/packages/shared/src/tableDefinitions/datasetRunItemsTable.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f14272c33f14d65975440b812eba2957959609291d9ef59039264863315d16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx:938 \u00B7 langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx:192 \u2014 the two spans are one implementation copied and then locally edited \u2014 109 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":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a599767cb1f3f740c3ddc58746a45367fca1f73fc2825cf1a986a07d24a0b0cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1340 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1430 \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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c09211c2cce66cece9ac1e3067300bbd5013d6a557dd0db12fb34592d5e441"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): langfuse/web/src/features/public-api/components/ApiKeyList.tsx:253 \u00B7 langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx:188 \u2014 the two spans are one implementation copied and then locally edited \u2014 149 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":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e710c97d645b8807a34c854a12449021fcb413904bd20ff2b396630293214b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:560 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:627 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"9047431570ea46b453acdd2facc868d6f88d1e443d62f685847d60c9026884a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationSchedule.ts:9 \u00B7 langfuse/worker/src/features/posthog/handlePostHogIntegrationSchedule.ts:9 \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":"langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationSchedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c8a74c52201b9b76c4ccc1d6be2295287f163ba5b2b96149ad12b1abdc857a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): langfuse/worker/src/queues/blobStorageIntegrationQueue.ts:11 \u00B7 langfuse/worker/src/queues/mixpanelIntegrationQueue.ts: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":"langfuse/worker/src/queues/blobStorageIntegrationQueue.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08e724e811a4de53bf0538a0b0a004310492d9c5a159356f396c806cd7d5d71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:408 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:393 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"37137456ba6f40c4798c12ee55e39b5db2e2fe354682513a7194a49ab59f7618"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): langfuse/web/src/features/experiments/components/steps/EvaluatorsStep.tsx:65 \u00B7 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/index.tsx:287 \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":"langfuse/web/src/features/experiments/components/steps/EvaluatorsStep.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfcae890cf3b0b3bcd41add92f92f06c8aefa9abf707c2b4bc8f051435e0e86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): langfuse/web/src/features/prompts/components/prompt-detail.tsx:188 \u00B7 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/index.tsx:76 \u2014 the two spans are one implementation copied and then locally edited \u2014 198 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":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d021379f58d11b6fa78c6e00cf440ff8c010870684aa001ae5740fa2ddc29c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/scim/Users/[id].ts:14 \u00B7 langfuse/web/src/pages/api/public/scim/Users/index.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":"langfuse/web/src/pages/api/public/scim/Users/[id].ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7531ce1ab41ff98c772a3592cda8b74b1fdcf1046d0406c00c010f04dba5dca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:54 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:51 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b289394c40524bb30d3be0149c4c1544e76b996e1ce7ed4c8d116f57865957f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): langfuse/web/src/components/ui/combobox.tsx:139 \u00B7 langfuse/web/src/components/ui/combobox.tsx:175 \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":"langfuse/web/src/components/ui/combobox.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd0806930e7e47dd3a089eeb52d7189720c6002116111d3992da96786ca0085"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetItemFields.tsx:67 \u00B7 langfuse/web/src/features/datasets/components/DatasetItemFields.tsx:102 \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":"langfuse/web/src/features/datasets/components/DatasetItemFields.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"520cc95419ba4705fb6e4fbc2be473d51e31e47f650aa73c4588f297d9ea2f51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx:105 \u00B7 langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx:140 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db8edc4d6f0f920328849065148e1e8322eb96f44e16b8edf78d1bf5721ef83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:1431 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:1001 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf108d5daaa8e7806e8bc7100f0686bf3e44f8666f9c941e156b4230e0cfac25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): langfuse/web/src/features/widgets/components/WidgetForm.tsx:1012 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:1054 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"3936a435110e4627f0ba8760b1be0e3883a0d36a4329ea94b6a91730fb640e07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/widgets/[widgetId]/index.tsx:49 \u00B7 langfuse/web/src/pages/project/[projectId]/widgets/new.tsx:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 191 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":"langfuse/web/src/pages/project/[projectId]/widgets/[widgetId]/index.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ddbf034d2e44cc10056c1b19319d7596b515d5bd73aeed101334994d1ce9b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): langfuse/worker/src/queues/webhooks.ts:208 \u00B7 langfuse/worker/src/queues/webhooks.ts:585 \u2014 the two spans are one implementation copied and then locally edited \u2014 169 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":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca90d77749093543da6218034167bfcd6bfa71a5cd50b3d94d3939aa4a6ea317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:307 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:730 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dc6f2a02c6c24d446469df445fb0a2b365897b187ad4d0c8ec4e9e22427646"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): langfuse/packages/shared/src/server/redis/ingestionQueue.ts:55 \u00B7 langfuse/packages/shared/src/server/redis/otelIngestionQueue.ts:59 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/ingestionQueue.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b504cc943e4a66be03fbc5b65d0cf41ed330e3035feeb0cdf5d5105511b9cab7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): langfuse/web/src/components/session/index.tsx:485 \u00B7 langfuse/web/src/components/session/index.tsx:992 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52b057fc94bf070179373058e7c38f1d9f895e80f29a32729ada0965390cb33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3 locations): langfuse/web/src/components/table/data-table-controls.tsx:1099 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:1144 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:1188 \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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f34e5021ae936c6f22fa45623e08650a5c04bc4099b48074c2dde5ba870d41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): langfuse/web/src/components/table/peek/peek-observation-detail.tsx:11 \u00B7 langfuse/web/src/components/table/peek/peek-trace-detail.tsx:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 171 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":"langfuse/web/src/components/table/peek/peek-observation-detail.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8103cd0e607a903756d8c3ec1f1a63ec738baa99da13d963270a43cb25204c7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): langfuse/web/src/features/widgets/chart-library/VerticalBarChart.tsx:17 \u00B7 langfuse/web/src/features/widgets/chart-library/VerticalBarChartTimeSeries.tsx:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 119 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":"langfuse/web/src/features/widgets/chart-library/VerticalBarChart.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"285361339e208bf69351bca097ca6f4d47d1773a3ae2876557dc0477364b1634"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts:927 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:806 \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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb0626f84536420b919137aaf9a8b697c140826ad197ddb0b182a3cc8826e43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): langfuse/packages/shared/src/server/redis/blobStorageIntegrationProcessingQueue.ts:10 \u00B7 langfuse/packages/shared/src/server/redis/mixpanelIntegrationProcessingQueue.ts:10 \u00B7 langfuse/packages/shared/src/server/redis/postHogIntegrationProcessingQueue.ts:10 \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":"langfuse/packages/shared/src/server/redis/blobStorageIntegrationProcessingQueue.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e26127ad555a97fc63f56a6f4661c6c169f29ec3cd2a365b516eba7a1ea2d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 7 locations): langfuse/packages/shared/src/server/redis/blobStorageIntegrationQueue.ts:14 \u00B7 langfuse/packages/shared/src/server/redis/coreDataS3ExportQueue.ts:19 \u00B7 langfuse/packages/shared/src/server/redis/dataRetentionQueue.ts:14 \u00B7 langfuse/packages/shared/src/server/redis/dlqRetryQueue.ts:14 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 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 7 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/blobStorageIntegrationQueue.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade2b63c4a3bc683346a686991b2d96ea1a0c61e649f747b17d272afdca07f7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): langfuse/web/src/components/publish-object-switch.tsx:15 \u00B7 langfuse/web/src/components/publish-object-switch.tsx:49 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/publish-object-switch.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35c00acc3b60ef02ed4186334156699c4400bf66f7eed2b3dc4a00f44eb1b42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): langfuse/web/src/components/session/index.tsx:518 \u00B7 langfuse/web/src/components/session/index.tsx:1027 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2e38e0b2bbad2cb1b79f1229efae77459d348abb0e97ad9c4335c230f3bc69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:585 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:742 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"4803e8c501c6dc94dc7edc1121c5cd3279edaf33a38af112e7471263be5e3ff7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): langfuse/web/src/features/batch-actions/components/BatchActionsTable.tsx:132 \u00B7 langfuse/web/src/features/batch-exports/components/BatchExportsTable.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":"langfuse/web/src/features/batch-actions/components/BatchActionsTable.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"116d1d0e721c7718cbaa752681fcc068e3513ff6aa51fa3efb29f6608cb3dbc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): langfuse/web/src/features/corrections/contexts/CorrectionCacheContext.tsx:40 \u00B7 langfuse/web/src/features/scores/contexts/ScoreCacheContext.tsx:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 227 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":"langfuse/web/src/features/corrections/contexts/CorrectionCacheContext.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"852406bc53155d2cfa756d2861c6ba221703b3ac9a6e6f4ad3135e9601acca7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): langfuse/web/src/features/experience-summary/server/router.ts:653 \u00B7 langfuse/web/src/features/experience-summary/server/router.ts:738 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c08230c3ecb18506aa8a48abc1a4662377d9a09abd46939403d17ce889061cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): langfuse/web/src/features/score-analytics/lib/statistics-utils.ts:215 \u00B7 langfuse/web/src/features/score-analytics/lib/statistics-utils.ts:271 \u00B7 langfuse/web/src/features/score-analytics/lib/statistics-utils.ts:444 \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":"langfuse/web/src/features/score-analytics/lib/statistics-utils.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e30d54d745d5ceb9227417793e05f81ff655c332388bdfecda688cb0b14356"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): langfuse/web/src/hooks/useParsedObservation.ts:57 \u00B7 langfuse/web/src/hooks/useParsedTrace.ts:54 \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":"langfuse/web/src/hooks/useParsedObservation.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf3e1e24d352a248c087db14a358a7312fe2d9a282f7a4ed8d8cac7403a7c68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): langfuse/web/src/observability.config.ts:20 \u00B7 langfuse/worker/src/instrumentation.ts: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":"langfuse/web/src/observability.config.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"be14415e580cec3a4eb403f667666e7c6e355e92e6ea60ba98e11caa293823b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/auditLogs.ts:145 \u00B7 langfuse/web/src/server/api/routers/auditLogs.ts:243 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/auditLogs.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa43a64d604e9abae4eadcbcbc05ca79a4115a4424f5e712fbbfe7545dce54e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 4 locations): langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts:31 \u00B7 langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts:67 \u00B7 langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts:103 \u00B7 langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts:139 \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":"langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d57c36bf7a30e3a57d9f2411e001df228e6f64a97d0ff1061c751f4fc1f4623"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:701 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:865 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b49e9b0638e93843dc3f0e9ce8cf41007570ff03bfcc5116c49ae6d56ecbeb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): langfuse/web/src/components/layouts/app-layout/hooks/useFilteredNavigation.ts:36 \u00B7 langfuse/web/src/components/layouts/utilities/routes.ts:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 193 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":"langfuse/web/src/components/layouts/app-layout/hooks/useFilteredNavigation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dd716a8a4c900d55123d21762cc0c0f14f43fcc17168837c00430e3288baa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailViewHeader.tsx:136 \u00B7 langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailViewHeader.tsx:89 \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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailViewHeader.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e921f81605b719c86f70525a707541502aaac9cc90f67fd088e1636ace96457"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx:246 \u00B7 langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx:161 \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":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e280f0e61529422109516adce97e6e2c427f385fca87d0be9d2f7c98385a9ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx:90 \u00B7 langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx:55 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe68869d2239de85026191119cbce67100f3e86f0f2d17bb4cc202c565bfdc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): langfuse/web/src/features/navigate-detail-pages/DetailPageNav.tsx:72 \u00B7 langfuse/web/src/features/navigate-detail-pages/DetailPageNav.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":"langfuse/web/src/features/navigate-detail-pages/DetailPageNav.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"453d9e27e2b573acb195c3703d8be0d41eb85d62b03864d176c5d9d7f74fd8f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx:191 \u00B7 langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx:230 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d6c28fa3b5d24e06588e96e626cc860cbf291d211554b65e772e71059191e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx:11 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionNumericChart.tsx:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 203 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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8a943bd3c6a6ecb503a181f83595bc9146ca4852e1923ef3b4908e73aed51a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3 locations): langfuse/web/src/pages/api/public/integrations/blob-storage/[id].ts:17 \u00B7 langfuse/web/src/pages/api/public/integrations/blob-storage/index.ts:23 \u00B7 langfuse/web/src/pages/api/public/integrations/blob-storage/index.ts:100 \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":"langfuse/web/src/pages/api/public/integrations/blob-storage/[id].ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"685930b3af174a4093f664f24a372c710da5635bab8df7967a258c242ee7eca8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/experience/index.tsx:1046 \u00B7 langfuse/web/src/pages/project/[projectId]/experience/index.tsx:1076 \u00B7 langfuse/web/src/pages/project/[projectId]/experience/index.tsx:1107 \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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd84df5292eac8e2a0d5570b589cffc2908f8e7f6b46f143e4cf23e004e56125"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/sessions.ts:204 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1d38008cebed1a4c0f5f5b76fb7496b0957acc90545c629b653fbf3b13f143"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): langfuse/worker/src/features/batch-trace-deletion-cleaner/index.ts:62 \u00B7 langfuse/worker/src/features/media-retention-cleaner/index.ts:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 159 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":"langfuse/worker/src/features/batch-trace-deletion-cleaner/index.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"181e7cf3fa30514c071fe94ce2b1d1dc33cb3ed7cc092362301c5e9b2e73ce67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4 locations): langfuse/worker/src/features/mixpanel/transformers.ts:27 \u00B7 langfuse/worker/src/features/mixpanel/transformers.ts:61 \u00B7 langfuse/worker/src/features/mixpanel/transformers.ts:95 \u00B7 langfuse/worker/src/features/mixpanel/transformers.ts:129 \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":"langfuse/worker/src/features/mixpanel/transformers.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fc2a1fddd469ed298fd84a95e96427420934ab1694247d041fbce6828b3ea3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): langfuse/packages/shared/src/server/redis/ingestionQueue.ts:12 \u00B7 langfuse/packages/shared/src/server/redis/traceUpsert.ts:12 \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":"langfuse/packages/shared/src/server/redis/ingestionQueue.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f474a8d7dc6f6e76947bf08d977c01557fe1d617dce6bdb03253fe18ba9eea3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/observations.ts:1526 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1569 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05eee5aa02f985ba936971491cdd7b572cffd7f4272b55b76f3ef64e7bd2028"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/DashboardService/DashboardService.ts:175 \u00B7 langfuse/packages/shared/src/server/services/DashboardService/DashboardService.ts:289 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/DashboardService/DashboardService.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb1d168d202ae50a4df47036e4ead544f977c9a6727543a1dcdd781a8545e4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts:197 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/semantic-kernel.ts:92 \u2014 the two spans are one implementation copied and then locally edited \u2014 167 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":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"04039c47f47e238f0e72da653cde2223c5e8dbacbc7331aeb1089a0318b6c0fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4 locations): langfuse/web/src/features/command-k-menu/CommandMenu.tsx:61 \u00B7 langfuse/web/src/features/command-k-menu/CommandMenu.tsx:163 \u00B7 langfuse/web/src/features/command-k-menu/CommandMenu.tsx:206 \u00B7 langfuse/web/src/features/command-k-menu/CommandMenu.tsx:246 \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":"langfuse/web/src/features/command-k-menu/CommandMenu.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"197365abcbc8189027557a08671acd8562f336dcc1c7963e69d05e6a1525ff5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/server/dashboard-router.ts:770 \u00B7 langfuse/web/src/features/dashboard/server/dashboard-router.ts: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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"c744c643eef8ac9825d2248cc0860d61166532e179d045defa9272189d4c68ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4 locations): langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts:36 \u00B7 langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts:83 \u00B7 langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts:130 \u00B7 langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts:177 \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":"langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c9e8a4969d96d4de888ebb1b9c876586172c5c7fa05f796c46f0c850fed7c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:754 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:924 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fc8eb009da1ce5d50420138599366d43b34797281cfeccb1d04ee00f9560af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:628 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:331 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"089de731cc85f7be9f80ca4a8ca81397da3a13bd63181e6cd70b7eb165bf55c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4 locations): langfuse/packages/shared/src/server/repositories/observations.ts:877 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:927 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1029 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1077 \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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ff2ded5b9946c0487e92d968310f55bc109636ec110feec59deb1fb676343a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/observations.ts:1314 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:1455 \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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e984058575b83254cd398915aad49f76cbdd8335434d7c69ea7e54180c9676b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/TableViewService/TableViewService.ts:35 \u00B7 langfuse/packages/shared/src/server/services/TableViewService/TableViewService.ts:72 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/TableViewService/TableViewService.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a88d12f0c1fa90f191f04adc4ed9535b7ef53d7e6cfd6cbc7f7496d5ee56e92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdSuspensionEmailTemplate.tsx:121 \u00B7 langfuse/packages/shared/src/server/services/email/usageThresholdWarning/UsageThresholdWarningEmailTemplate.tsx:118 \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":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdSuspensionEmailTemplate.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2e0fe99543e0910ce26b5f620bdfeee44c09230919e1f82f2467c1b16a46e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/web/src/components/trace2/TracePreview.tsx:362 \u00B7 langfuse/web/src/components/trace2/TracePreview.tsx:398 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a67709d7e08551ca557996c75e9899474d91f0192bb0ead460d775b31fcdad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3 locations): langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:484 \u00B7 langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:526 \u00B7 langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:564 \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":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad39f1051443ebd2da35a459121a22b7a65764d1ce8e8bb17bc4423487d692d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx:135 \u00B7 langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx:84 \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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf74a5ea09b4290ea0f3c630ab8b9a6c0b8b7520a122dbab2c04dda49b824cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx:60 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx:126 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx:194 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.tsx:77 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7417aa15650055ac6e4be95a7d6d2d7a8fefed9cc4dc332901cd93bc26e8ae59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx:185 \u00B7 langfuse/web/src/pages/project/[projectId]/experience/index.tsx:859 \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":"langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6b3fbc615c2f96a06ff6e245ea56d678701ed08d6724bae1c5636cb36590e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/web/src/features/rbac/components/MembersTable.tsx:442 \u00B7 langfuse/web/src/features/rbac/components/MembersTable.tsx:474 \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":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fe9c17527bb9833f7c508bf9e0191eb4fce27dc68c28504d61c10f98cd3666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/sessions.ts:288 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"652c714e01b709517419d2d297276125a747bc99ca6318690b7e0b9f8af968bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillValidToForDatasetItems.ts:139 \u00B7 langfuse/worker/src/backgroundMigrations/migrateObservationsFromPostgresToClickhouse.ts:182 \u2014 the two spans are one implementation copied and then locally edited \u2014 151 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":"langfuse/worker/src/backgroundMigrations/backfillValidToForDatasetItems.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"512446222fbbb5bc3b5bb7f603005a8171b08d36c36c788cd6bf9f6e7ce2fa49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationSchedule.ts:25 \u00B7 langfuse/worker/src/features/posthog/handlePostHogIntegrationSchedule.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationSchedule.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70c75445bc1bfca72514ea29e2989895aae887bcb216ebe46699707c3a1ab35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/packages/shared/src/server/instrumentation/index.ts:31 \u00B7 langfuse/packages/shared/src/server/instrumentation/index.ts:75 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/instrumentation/index.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"742ed8b6792b00a108825703b296c3e24988ab1e0175970abc5ae7a59ea20f16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 10 locations): langfuse/packages/shared/src/server/redis/blobStorageIntegrationQueue.ts:14 \u00B7 langfuse/packages/shared/src/server/redis/cloudFreeTierUsageThresholdQueue.ts:20 \u00B7 langfuse/packages/shared/src/server/redis/cloudUsageMeteringQueue.ts:19 \u00B7 langfuse/packages/shared/src/server/redis/coreDataS3ExportQueue.ts:19 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 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 10 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":"langfuse/packages/shared/src/server/redis/blobStorageIntegrationQueue.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6d1514a4aac686948b32607eda24bd61fecf8279e4e2b341cf7e48c3fe61c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/definitions.ts:471 \u00B7 langfuse/packages/shared/src/server/repositories/definitions.ts:506 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/definitions.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab641066f1d82b4b2566b8131c3c01c61f839f79f4c1238bdb802c8ea5496fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:350 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:160 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d09922293d381bfa9bf248b77f830b36a174a09bd31b81e073f182a7e75302"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/helpers.ts:341 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.ts:685 \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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69c5bb55ee9273442d543d78f816bcf43a5122f2498f301f8cffe4136b79bdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSectionHeader.tsx:84 \u00B7 langfuse/web/src/components/ui/MarkdownJsonView.tsx:37 \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":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSectionHeader.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3821dbd99e3130b46f9cafce7541bd0a54f2fc851cceb487be5acc14bc75bef6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/components/ui/CodeJsonViewer.tsx:347 \u00B7 langfuse/web/src/components/ui/PrettyJsonView.tsx:1377 \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":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"563c79f40fde60c3fbe5592c995594a6b64674498aba8f47bf40eb25ed754bd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/projects/projectById/memberships/index.ts:48 \u00B7 langfuse/web/src/ee/features/admin-api/server/projects/projectById/memberships/index.ts:114 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/memberships/index.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5b4d68058e4f4b0f7ea9562ca3b433523060dbbc72f57de57e19475cbffec4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/features/experience-summary/server/router.ts:315 \u00B7 langfuse/worker/src/queues/autoExperienceSummaryQueue.ts:462 \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":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2a645d4831d2c6486581e23d21bec273dcd0641b9295856607de45811fa0ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx:266 \u00B7 langfuse/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx:270 \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":"langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d24c1d00b7ab1ec2af8d3c7ee2558cc38d69c014fcffec1090ed052d5dbd21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/apiAuth.ts:386 \u00B7 langfuse/web/src/features/public-api/server/apiAuth.ts:439 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/apiAuth.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b805419cb655603ef5447c0e252ef45542c48b4759b5a1b70b5db001fba6b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/features/rbac/components/MembersTable.tsx:517 \u00B7 langfuse/web/src/features/rbac/components/MembersTable.tsx:586 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f216ceed5b137cb7751c989746180c21b12eb831cd4a4971101d650fa1544ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:511 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:927 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f6c916deea72c796534130286872fc7e2e9d0f697f5966991ab8b2d085196"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:1003 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:463 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:405 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91ee6be5e40c7feac9a3dc7e8625cb6f438e5229e85a6eb7b419ed82a022ef7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillBillingCycleAnchors.ts:342 \u00B7 langfuse/worker/src/backgroundMigrations/backfillSysIdForDatasetItems.ts:37 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillBillingCycleAnchors.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92dca43e931d2a714628f4e0159e8b0b895c7d3ab354542b6738e42e68d1757"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3 locations): langfuse/worker/src/features/database-read-stream/event-stream.ts:101 \u00B7 langfuse/worker/src/features/database-read-stream/event-stream.ts:376 \u00B7 langfuse/worker/src/features/database-read-stream/event-stream.ts:514 \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":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5297bd042f52bcc7ba73fead7b7d138c124af40d764fd8717f23880684914f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): langfuse/worker/src/scripts/upsertLangfuseDashboards.ts:77 \u00B7 langfuse/worker/src/scripts/upsertLangfuseDashboards.ts:139 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/upsertLangfuseDashboards.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecced49618916c6c38aab0df3027d968018d90805acbfefd2b1ba905be17445"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/packages/shared/src/server/ingestion/types.ts:448 \u00B7 langfuse/packages/shared/src/server/ingestion/types.ts:477 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/types.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"5619bb5507318c72b6cc1e39ad77da193a9aeb172d8f5f5877a052186cca062a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/dataset-items.ts:1669 \u00B7 langfuse/packages/shared/src/server/repositories/dataset-items.ts:1780 \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":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd165bb152f4d71169a465fd4a863c6f90d7b267f2516256c9e04d74c7905e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx:202 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:465 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f203804fd392329ff3e931325126383c4250532393c19c6e4fee24568a7921"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/components/ui/CodeJsonViewer.tsx:148 \u00B7 langfuse/web/src/components/ui/PrettyJsonView.tsx:1284 \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":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7462aec56d1ecfc4ce013b49d89b2a2505e14875de1b07f30e21d3b197b89a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/index.ts:19 \u00B7 langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.ts:19 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/index.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8251e1b5513a1cc0240b29210c723bad25ba4b41c6c10e7a990f427eeb9f023"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:138 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b22f5faab7e4290958438966960eac6ad550d4996aa81ba20fa4c1de9b9b52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/DashboardTable.tsx:210 \u00B7 langfuse/web/src/features/widgets/components/WidgetTable.tsx:194 \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":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c7f6edc03fcad85c89f4b7b640415f1ecf48f4d7ef5b1ad9a97beeb4bd9fb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/LatencyChart.tsx:43 \u00B7 langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx:47 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ac22f58f7eea6939405780407b2df97a55fb01551d80940abe548b318b0d58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/features/datasets/hooks/useCsvMapping.ts:104 \u00B7 langfuse/web/src/features/datasets/hooks/useCsvMapping.ts:134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvMapping.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e45685f4a37c2074f60e1b2b9b40ea6c3bcc938411da641135575ea646654f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/features/evals/server/router.ts:624 \u00B7 langfuse/web/src/features/evals/server/router.ts:684 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fe418fb34a76be82628093ecc7a8cf00f7ee72b92c091180f7830d9020cbe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3 locations): langfuse/web/src/features/policy-governance/server/router.ts:818 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:874 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:916 \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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f076f0ae0f5749bfe3b149ca49fac4c612d60114306889f82fdec9dcfd687c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/features/projects/server/projectsRouter.ts:291 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:494 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"266c90e0b7fb5b96fe08987301fed3d8f17f77adea9d0a5e011f2f345fb49f01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx:760 \u00B7 langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx:824 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0736b569d7239b1138ae646eec4dacb6a0539aa9e10931ce35892de0ca66ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/models/[modelId]/index.ts:38 \u00B7 langfuse/web/src/pages/api/public/models/index.ts:212 \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":"langfuse/web/src/pages/api/public/models/[modelId]/index.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad566b1a971ded6557396af29e8d04ee03130c624b8d26e67aa8db31167a2ec2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/generations/db/getAllGenerationsSqlQuery.ts:41 \u00B7 langfuse/web/src/server/api/routers/generations/getAllQueries.ts:84 \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":"langfuse/web/src/server/api/routers/generations/db/getAllGenerationsSqlQuery.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f9968d31c9cc09dee06fedb21d3719422f909ece8fe4ee19ac607dc150da07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/traces.ts:620 \u00B7 langfuse/web/src/server/api/routers/traces.ts:679 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/traces.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"26965ec97dbf404c622ac04ffec22ff23ffd92995cbaf4c6b7872332d2632758"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): langfuse/worker/src/queues/cloudFreeTierUsageThresholdQueue.ts:7 \u00B7 langfuse/worker/src/queues/cloudUsageMeteringQueue.ts:12 \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":"langfuse/worker/src/queues/cloudFreeTierUsageThresholdQueue.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a0fe986597865f66e5ee1589dc48e7f9e74d44a05cbb259f6310926d714b6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 14 locations): langfuse/packages/shared/src/server/redis/blobStorageIntegrationQueue.ts:14 \u00B7 langfuse/packages/shared/src/server/redis/cloudFreeTierUsageThresholdQueue.ts:20 \u00B7 langfuse/packages/shared/src/server/redis/cloudSpendAlertQueue.ts:19 \u00B7 langfuse/packages/shared/src/server/redis/cloudUsageMeteringQueue.ts:19 \u00B7 \u002B10 more site(s) not listed \u2014 the 14 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 14 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":"langfuse/packages/shared/src/server/redis/blobStorageIntegrationQueue.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1644b437df57d95894f005038f9c70d742a8e2d7fc14b6fb1ad83508259a2ca7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/components/session/TraceEventsRow.tsx:236 \u00B7 langfuse/web/src/components/session/TraceRow.tsx:135 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/session/TraceEventsRow.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb1e4c5319059a1ec2864170ca5becf6858adadaac41ed31ed1cd796d2096ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/traces.tsx:832 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:859 \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":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"899fe4e25c3e4729810d54aa7f101d00eb30f15f5e7ae2e897937a32952f4a4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:255 \u00B7 langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd4ab17017f50bf5d3ce6745768870ebb3260a18f413b1808fd922d77fea905"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/memberships.ts:25 \u00B7 langfuse/web/src/ee/features/admin-api/server/projects/projectById/memberships/index.ts:29 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/memberships.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a972979cd6fd47cb337b256beb965d5dd8846279513dace9c9b1d496a43bf2cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts:186 \u00B7 langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts:100 \u00B7 langfuse/web/src/features/posthog-integration/posthog-integration-router.ts:114 \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":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f1fbe39b220f034fbbd7e3bcd9f1a2f8532da2339f5cf003d03ac56b156732"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/features/datasets/hooks/useCsvMapping.ts:164 \u00B7 langfuse/web/src/features/datasets/hooks/useCsvMapping.ts:194 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvMapping.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"593843d783f72b126eaee189490d6bafbf164789b898e0a617e71f34a81cb0ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts:224 \u00B7 langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts:261 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03e7347a465b8cf4559b33ab32c275791b69ad5f9e13b469fb8685d5cc640bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/features/models/components/CloneModelButton.tsx:8 \u00B7 langfuse/web/src/features/models/components/EditModelButton.tsx:8 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/CloneModelButton.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fba40a72346dbeccc78149422bfbab527b470becc2014d8cb85e54782127b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/features/widgets/components/WidgetForm.tsx:606 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:636 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"613ca5efbe738aceeffc72bd92d6d923373702265fd3e3e5d334b911142385af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): langfuse/web/src/features/widgets/utils.ts:43 \u00B7 langfuse/web/src/features/widgets/utils.ts:83 \u2014 the two spans are one implementation copied and then locally edited \u2014 114 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/utils.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5496f7fce2f17d486a2c8e46695b77855c5ec3cc344492a9d9ce58a2138ede88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/datasets.ts:22 \u00B7 langfuse/web/src/pages/api/public/v2/datasets/index.ts:18 \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":"langfuse/web/src/pages/api/public/datasets.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"646777f1047fb65975dbc97abf53419850cc47d00d6fa9072a8cfcfe81e589fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4 locations): langfuse/web/src/pages/api/public/generations.ts:33 \u00B7 langfuse/web/src/pages/api/public/scores/index.ts:29 \u00B7 langfuse/web/src/pages/api/public/spans.ts:29 \u00B7 langfuse/web/src/pages/api/public/traces/index.ts:43 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/generations.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7901154df6c066a83292018094cebe8ec11059c898a68faeb8074a88c91745"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/scores/index.ts:67 \u00B7 langfuse/web/src/pages/api/public/v2/scores/index.ts:54 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scores/index.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3e02e4eedde384f11356d4c06ef7f7bc9fecaf3c28ddd2e159e4a1d05cd756"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/experience/index.tsx:988 \u00B7 langfuse/web/src/pages/project/[projectId]/experience/index.tsx:1019 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8c2ccd7d30a3c8b335cd8c008262078c4e3dcf75d1b202a1eb28a0e8487721"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts:18 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts:73 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d158596b324a210cd988c672a0aa605858f83a9321249a4f06a48bcf760730b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/traces-ui-table-service.ts:549 \u00B7 langfuse/packages/shared/src/server/services/traces-ui-table-service.ts:585 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b79c4b67a0d027bd66e6440fda7cf626756cb5826b16396b557be324d2a7cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/observations.tsx:499 \u00B7 langfuse/web/src/components/table/use-cases/scores.tsx:143 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:124 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2459554dc25eaf7554136972b42ddf54ddc7479f469b0ce34c26acf92fb6d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:876 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:907 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0d5f109e025f6d0e606a60f1470ac311e20fefc167823b37f51e3625bcbb20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx:356 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:313 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23042eb62f3436787985eed432b38723ff953e7f7a47d17008bf26ea146ff6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/multiSectionTree.ts:227 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/multiSectionTree.ts:260 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/multiSectionTree.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bae20778a8bc767273434a4a20ddb58b0c412bee5823bf5bf6881b024b9515e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts:153 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts:199 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f17bf092f6bb71dd6ea921ba869f628a12c7197971af297c78392d517d41c92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:336 \u00B7 langfuse/web/src/features/llm-schemas/server/router.ts:37 \u00B7 langfuse/web/src/features/llm-tools/server/router.ts:37 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cb967c47e4cfb9d9d3abc6562d181a264ffbbbe51e6ac8a9db764b1c7fc8c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/LatencyChart.tsx:159 \u00B7 langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx:325 \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":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c106645e17c22432dc400078c864a5fc5adefaa6f7383cc4f70970b67fe0a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx:258 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:527 \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":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42260169078f4c4e72f764a3f5f1f067a759fc6f92db5b9c2dcf0895294e107"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx:134 \u00B7 langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx:280 \u2014 the two spans are one implementation copied and then locally edited \u2014 93 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":"langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5af3536f73da8b9f0241a2836f8a64ae559b9860278e5c07f15bbe777f7595f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/observations.ts:200 \u00B7 langfuse/web/src/features/public-api/types/traces.ts:97 \u2014 the 2 copies are spread across 2 files, 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":"langfuse/web/src/features/public-api/types/observations.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f84e2b6f8ed0dfbcd0ad51743adda0f0475be333b789622abb3f18909785b0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx:234 \u00B7 langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx:262 \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":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed61174ca1b37a32441607d360eb8bed749d83d3273e73be112fab7fd825c7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/features/support-chat/SupportFormSection.tsx:368 \u00B7 langfuse/web/src/features/support-chat/SupportFormSection.tsx:439 \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":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42af5d8155939e2f1bd77f162ef44d61df26e025710eedbdf8a6eab9ecec6db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/observations/index.ts:70 \u00B7 langfuse/web/src/pages/api/public/traces/[traceId].ts:58 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/observations/index.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2c3dad94f75e3ac373eb337cf9d4b5a90f8d192c517beb31aa5764511971cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): langfuse/worker/src/features/batchAction/processAddToQueue.ts:41 \u00B7 langfuse/worker/src/features/batchAction/processAddToQueue.ts:66 \u00B7 langfuse/worker/src/features/batchAction/processAddToQueue.ts:92 \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":"langfuse/worker/src/features/batchAction/processAddToQueue.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c50f22d52a47b0dbb4509721b1d08f942ab2237db97d39d5c4f976532847789"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/dashboards.ts:108 \u00B7 langfuse/packages/shared/src/server/repositories/dashboards.ts:206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dashboards.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58931363267fcbc1fc33d9bf8027d887c92581af98ac7ac90f1f7c16f708be1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/dataset-items.ts:980 \u00B7 langfuse/packages/shared/src/server/repositories/dataset-items.ts:1088 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54961baa3f8e883b5bfdfcd7cd7a617461813b6060655fea2868ec8ca0fa34d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:842 \u00B7 langfuse/packages/shared/src/server/repositories/traces.ts:592 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"3668b780087ce29333aad87d199aeb904bdb970cca1c46e7b1f56c9918f54052"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/scores.ts:940 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:1061 \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":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"569aae15259006117a90f4308bdfc4d4ef90b51dfa4e07d2acb920785351317d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:427 \u00B7 langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:517 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a9ab87af07fa2c4c42d3aff42afe37629284e14f29f5d577389c52350228db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): langfuse/web/src/components/DiffViewer.tsx:55 \u00B7 langfuse/web/src/components/DiffViewer.tsx:110 \u2014 the two spans are one implementation copied and then locally edited \u2014 212 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":"langfuse/web/src/components/DiffViewer.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a07485de382c56da23a725e0c325680b719139418501b223c164daf55ac13d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:694 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:848 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"349e2e4edbb401ba03b2d789ac421186249da528bb26eab104d32e4733977fd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:1984 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1976 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1833fde4697ed2b4b0d02e08b3704f94ab1d86849e4a3303884200127925c36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/sessions.tsx:507 \u00B7 langfuse/web/src/pages/project/[projectId]/users.tsx:365 \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":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"babd997977c6ab69843fb2dd456c47cd2f18e0762a906f52ad4fa6a300e2ecc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/useLogViewObservationIO.ts:23 \u00B7 langfuse/web/src/hooks/useParsedObservation.ts:189 \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":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewObservationIO.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"920946a8dfdc9665bc2c2533b5b905436efcf5e4b9470d155c436c684dde9f9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1997 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:2058 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c38961f7c01cf6897887f3b3ce94c69ca8dd144e67437e5d86d16da14fc1775"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/web/src/features/events/components/EventsTable.tsx:1142 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"040f3f9dbe654ead572cfc781bf701abb3fcf065a63d7bb16fbe848b112d05ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/web/src/features/llm-schemas/validation.ts:4 \u00B7 langfuse/web/src/features/llm-tools/validation.ts:4 \u2014 the 2 copies are spread across 2 files, 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":"langfuse/web/src/features/llm-schemas/validation.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c3f3882fba3cec44510be4dc43d2153d87a09ad6085d15a7be6f219c7f0eea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/auditLogs.ts:114 \u00B7 langfuse/web/src/server/api/routers/auditLogs.ts:218 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/auditLogs.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c50be252b4592d3dacc28b5a37455d00b865eae230b77c816a8992976edc297"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4 locations): langfuse/worker/src/features/posthog/transformers.ts:24 \u00B7 langfuse/worker/src/features/posthog/transformers.ts:61 \u00B7 langfuse/worker/src/features/posthog/transformers.ts:95 \u00B7 langfuse/worker/src/features/posthog/transformers.ts:129 \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":"langfuse/worker/src/features/posthog/transformers.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"41df0343dbab65aee83c7c6af0aa9ece16a3bca3527421297c300fd331f62bb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): langfuse/packages/shared/src/server/repositories/events.ts:1598 \u00B7 langfuse/packages/shared/src/server/repositories/events.ts:1637 \u00B7 langfuse/packages/shared/src/server/repositories/events.ts:1804 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd8b9b2c16bfa8f53701ec084db606ddaba2fe926ab24d085b196a59595f166"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:2087 \u00B7 langfuse/packages/shared/src/server/repositories/events.ts:2286 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d27d00ff7157414dc30f2446a2bb56a4603c972924912aec228c9f4f723ddb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): langfuse/packages/shared/src/server/repositories/observations.ts:1009 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1057 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1105 \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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"58519073b297f6dcfa52556696e4d4f8797187161b9274488c9a8fbd7be8231c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/components/table/data-table-controls.tsx:869 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:1030 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3c6577f8f2d05f5bcc40d006e187be65e10bff1e9bf7fb198301d698aa0d05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/components/table/key-value-filter-builder.tsx:320 \u00B7 langfuse/web/src/components/table/key-value-filter-builder.tsx:359 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/key-value-filter-builder.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0218e512e255fd056e0c3b53d08852817f2f003f62634e0c17e1a1a953fa8c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/scores.tsx:130 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:220 \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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ac951de249d4f9d4b9b7fc6d6879ab5d369f8da628ca125de384c5b1c6a8fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/sessions.tsx:308 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:460 \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":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9b1287925c2273f62b5b827377f672e1cb3b3faeeeedf4b19dffd617b75810"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/components/MultiSectionJsonViewerHeader.tsx:37 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/components/SimpleSectionHeader.tsx:30 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/MultiSectionJsonViewerHeader.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7401409d351ad3a75527b539e8b9b8f45821e37a9a3d1ccaf95480192127e2a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): langfuse/web/src/ee/features/audit-log-viewer/AuditLogsSettingsPage.tsx:7 \u00B7 langfuse/web/src/ee/features/audit-log-viewer/OrgAuditLogsSettingsPage.tsx:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 122 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":"langfuse/web/src/ee/features/audit-log-viewer/AuditLogsSettingsPage.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96baf6f88a3d704663f87a702736e07e4f59d7d80cb9cabd9c903b3fc2a5034"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:257 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:310 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac13374b35339178d1cdeada5529b646991cecce8465d171f6708aabbdb42b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/batch-actions/server/addToDatasetRouter.ts:105 \u00B7 langfuse/web/src/features/batch-actions/server/runEvaluationRouter.ts:135 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/server/addToDatasetRouter.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a25b9ca01a2a438fc5ba871a923a7d6c05debdb664951079ac833d90e060fe0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx:124 \u00B7 langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx:159 \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":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b93a94ccfd543b8089d0a9e6bafa74fa5e364fd76b83e836f382833706c2781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx:94 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx:117 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx:190 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx:213 \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":"langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7227edcb9113c2799c394c868ae68e9ecde0ad4342cc1252d42be2ce0538233"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx:630 \u00B7 langfuse/web/src/pages/project/[projectId]/experience/index.tsx:572 \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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f3c131b9768c8e58e405a5ac051607ef645e58c1c5cc84b32ef138c57fe116"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:826 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:591 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c122f3b337a876ddcde6b705095d76245e921117bdfbc2f33e06b16a2f12924b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5 locations): langfuse/web/src/features/error-analysis/server/router.ts:1071 \u00B7 langfuse/web/src/features/error-analysis/server/router.ts:2067 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:1105 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:1300 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"18814dee7f50023fda8557d8196eabbb4a950292a05417037358dd417a04be4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/experience-summary/server/router.ts:697 \u00B7 langfuse/web/src/features/experience-summary/server/router.ts:779 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f3f888beb063a14d7431bc7e7d2c2bc6e3f892643f1b06fabad96819543258"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx:154 \u00B7 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/index.tsx:115 \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":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc324395a0bab1254c3dfc4c2a44bbb66397904deb90703d3be167b650c45f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx:115 \u00B7 langfuse/web/src/pages/account/settings/index.tsx:207 \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":"langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7709c5f8e8dfe8e1ea1b25dc9f4bfc05907b31ea71566b6eeff4dc014a8d9bdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/projects/server/projectsRouter.ts:232 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac85d10949bd293dd6a29789b747724b0cb04761a818490b93335a41c2ce89e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/projects/server/projectsRouter.ts:341 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:564 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce76d11d80510f5ed1571a046fa8329b2f3ed9f95ab54025a2f668cdd35fad62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx:235 \u00B7 langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx:259 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b76ba1f0770c6090e5baf7521321c80903917b395c9430d607f6c1a7e66233e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/features/support-chat/plain/plainClient.ts:511 \u00B7 langfuse/web/src/features/support-chat/plain/plainClient.ts:668 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/plain/plainClient.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf32584294d9d4a187c876fd06ed31dc10d819a17044f13ed385e0084668644"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/[apiKeyId].ts:17 \u00B7 langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/index.ts:18 \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":"langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/[apiKeyId].ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"019d15394727248658f1e436e493b032e7240ffe71edfaeb19176643e50cd3de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/index.ts:13 \u00B7 langfuse/web/src/pages/api/admin/organizations/index.ts:11 \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":"langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/index.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f084712d847f4978cad24e0083b532d51f4e872f01f550ecf8f3a0e1068af4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/auditLogs.ts:79 \u00B7 langfuse/web/src/server/api/routers/auditLogs.ts:179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/auditLogs.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5be67d6f0af4dd86871b132d60c354f62d724e881345aa5f07c098517aa29d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): langfuse/web/src/server/auth.ts:169 \u00B7 langfuse/web/src/server/auth.ts:382 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/auth.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9872ea54757ad1fbd3f2301bb093f49f05973992eeaf670566d5a2295f8957"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:808 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:839 \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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d28864d03bca37ad8bafb1a18283bc2cddc6c145294856b76fe128bd0134b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 12 locations): langfuse/packages/shared/src/server/repositories/events.ts:1678 \u00B7 langfuse/packages/shared/src/server/repositories/events.ts:1717 \u00B7 langfuse/packages/shared/src/server/repositories/events.ts:1846 \u00B7 langfuse/packages/shared/src/server/repositories/events.ts:1887 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fafc3194e4eea4e6360700634e2451528632183f154aee1115a84abf6391af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:2385 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1290 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":2385}}}],"partialFingerprints":{"codehealthFindingId/v1":"51213b0bf785786edc8323492fe7c14e564274ea2b2ad49820d0f5d172bf04b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/InMemoryFilterService.ts:164 \u00B7 langfuse/packages/shared/src/server/services/InMemoryFilterService.ts:194 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/InMemoryFilterService.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07b92e32ed6a603c5f9607a3dfd0f646a3b40c1a967e5ad324621fb8319fd6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/components/layouts/breadcrumb.tsx:60 \u00B7 langfuse/web/src/features/command-k-menu/CommandMenu.tsx:412 \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":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7292bb131bf76d68b07648ae92541d4da8522217596567eea1bad4d3ae8929"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/components/nav/nav-main.tsx:81 \u00B7 langfuse/web/src/components/nav/nav-main.tsx:110 \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":"langfuse/web/src/components/nav/nav-main.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"176fb0f3e1d5040a566b106a0b5add6d3665a6791804ddd29abb58fa6122443a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/scores.tsx:854 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:815 \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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b1d3d7c44eafd7f891d3fc2dfe46a3dfb6392632366695a8ef00aa9ef28785"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:592 \u00B7 langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:619 \u00B7 langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:648 \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":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d572117645d72249a90a92f1bc363d7123edae18f1412a33d561317e392cf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts:88 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts:138 \u2014 the two spans are one implementation copied and then locally edited \u2014 132 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":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaf79fdd409bc7e9d37898b583d451d640d9c29ae76c6d21a70020fd1304541"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/apiKeyById.ts:32 \u00B7 langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/apiKeyById.ts:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/apiKeyById.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4646d1b802e86b35a6c15402315726afd01e81929f78ac9c21a18fbc1a1b91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/components/StripeKeepPlanButton.tsx:26 \u00B7 langfuse/web/src/ee/features/billing/components/StripeSwitchPlanButton.tsx:38 \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":"langfuse/web/src/ee/features/billing/components/StripeKeepPlanButton.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"887fd43fb0d3838da6a0efeb56c9a71604480d08c29922b9085d0a6b8fc71d9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4 locations): langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:20 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:231 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:279 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:330 \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":"langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb5a3167195cfd400f736c9fbec4bb4e8906167ba4c9d224f6d5e7af43f97cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/features/command-k-menu/CommandMenu.tsx:146 \u00B7 langfuse/web/src/features/command-k-menu/CommandMenu.tsx:189 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/command-k-menu/CommandMenu.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7101393ed3447c259a29894f69b0422c84642a8409ed5b6da56e23e7411819c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/ChartScores.tsx:42 \u00B7 langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreTimeSeriesChart.tsx:67 \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":"langfuse/web/src/features/dashboard/components/ChartScores.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"598b3859a9d90c91dff7f01de08c9d4ae3d850b412c1b706f201e0e2b307b4d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): langfuse/web/src/features/datasets/lib/calculateBaselineDiff.ts:48 \u00B7 langfuse/web/src/features/datasets/lib/calculateScoreDiff.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 137 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":"langfuse/web/src/features/datasets/lib/calculateBaselineDiff.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cd80060b69656abde36f75c2aafa11f348304be4a5bb0d4e24516362a0ed09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:952 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:651 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df0a364e1584d5d6bdd1ca474253b6e863d08c83bc53414bb45a906ee494146"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:1562 \u00B7 langfuse/web/src/features/error-analysis/server/router.ts:1612 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc1d630f720327e1ca3fa55bf5643a393a2493a291833391c95e8b8733a65ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/features/evals/server/router.ts:1047 \u00B7 langfuse/web/src/features/evals/server/router.ts:1174 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"471382b01e4a30714554e8a7ecbc152c7089ead6c8cde6c876ddb59964bc11f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/routers/promptRouter.ts:900 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:1049 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde5d51bc97477003111154d2d128c0a0b38927092c2c14484972937807877fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/scores.ts:70 \u00B7 langfuse/web/src/features/public-api/server/scores.ts:208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/scores.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9561b981ce669a61c2597322367ff24c59afa0484fbc3d682750b232bed273"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/scores/[scoreId].ts:26 \u00B7 langfuse/web/src/pages/api/public/v2/scores/[scoreId].ts:17 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scores/[scoreId].ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d825d55e6807b7e7616ced972d8c8b05217bc318a9050746fc7845740cd68fe9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:951 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:450 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:392 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"2611e0f6e955e4452dbbd536720d99803b7961385144fd2a55c6c6b15d4b3f7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:720 \u00B7 langfuse/web/src/server/api/routers/scores.ts:808 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"449e941a82638f65b40716808f9f0e8a9542dc80ed1d70c68e0ff5ef29c09084"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/web/src/server/api/trpc.ts:244 \u00B7 langfuse/web/src/server/api/trpc.ts:346 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/trpc.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f71b2738b615db3fcdbb17ae155adcc652ecdbbd0babd19e243433f1c56b24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts:533 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:391 \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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"6478168be6a655a80e4f977792f0c01a5181e0143d57e342b6bf1ab6df34a751"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 6 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:552 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:575 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:598 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:621 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"7998cb661626bb1d36b0ec2bf278656b787b207ac7f0573d4dfe2692e6bce83e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/observations.ts:1689 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:1680 \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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a763a5e25f751aaa7e5c78a95249a64fc99330156fe9a9bd63bf323e0f5160"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/scores.ts:675 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:727 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"223fe386847f1815029fecaf23344a73c02bd0db85be1e452c9749f877ae9908"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): langfuse/web/src/components/table/peek/hooks/usePeekData.ts:11 \u00B7 langfuse/web/src/components/table/peek/hooks/usePeekRunsCompareData.ts:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/peek/hooks/usePeekData.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1748f492917bd5fb9a1daf75c2e4fe927aada11015165f1e999e2bebae146cac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:547 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:277 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aac24bb1b3f14373f478580933576adbe12c1824ab654d331de9db62a8d0b2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/traces.tsx:721 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:832 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:859 \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":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab75a00103a35b7a4ba0539001f384a4c0e2fabbd46a64de05d805879348c5bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/traces.tsx:916 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:938 \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":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"845cfa0e0f1dc54278863418242704959e6eb223169a7332d3e7aed7d977650e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx:124 \u00B7 langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx:176 \u00B7 langfuse/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx:176 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e40df7f3718ab9009f709e9410e159ec0f3e0bb6992be8c6222cfa8f5989af4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5 locations): langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:62 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:106 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:137 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:170 \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":"langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e46f7c2483f639b2e634028676ae1aac4a7612f53f67220bb870680232eae73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): langfuse/web/src/features/auth/lib/createProjectMembershipsOnSignup.ts:59 \u00B7 langfuse/web/src/features/auth/lib/createProjectMembershipsOnSignup.ts:105 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 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":"langfuse/web/src/features/auth/lib/createProjectMembershipsOnSignup.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fc5f3419c4b3caab8f71a7bd0de30bb2af91aca3e9e39551a942478839888c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx:448 \u00B7 langfuse/web/src/features/automations/components/automations.tsx:368 \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":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7be439b78469b5d4048d9b6ae99f9022786e75d7b18659c6137a5ce7581a1df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): langfuse/web/src/features/dashboard/components/LatencyTables.tsx:184 \u00B7 langfuse/web/src/features/dashboard/components/LatencyTables.tsx:204 \u00B7 langfuse/web/src/features/dashboard/components/LatencyTables.tsx:224 \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":"langfuse/web/src/features/dashboard/components/LatencyTables.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fc0db5ebb255b3a7c5e756d4b419aeb39d0507b8ad6d425f2a5409577e1afc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx:64 \u00B7 langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreTimeSeriesChart.tsx:71 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8a3c51fdff50ae8c00218684cb4311a59fd1f5e698410a7aa751ba0e62a41c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): langfuse/web/src/features/error-analysis/server/router.ts:338 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:581 \u00B7 langfuse/web/src/features/policy-suggestions/server/router.ts:355 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a736d2e35f492d7658378af297441d308185409f6a66cc4c6bb88ea280fd46a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:367 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:158 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fef1f8a451d7609c474697dffbc20bdbb06dad376d9e2b42c1121807df3de7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/features/evals/components/variable-mapping-card.tsx:218 \u00B7 langfuse/web/src/features/evals/components/variable-mapping-card.tsx:504 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d462071da2da5629523fca3ef8308f52ff39c095053b20339131c551c50135"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/features/evals/components/variable-mapping-card.tsx:481 \u00B7 langfuse/web/src/features/evals/components/variable-mapping-card.tsx:616 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"90397a9b1ff41cdb857a14e9c81bf4144a2828b331eb055862121661651aea02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): langfuse/web/src/features/filters/hooks/useFilterState.ts:40 \u00B7 langfuse/web/src/features/filters/lib/filter-query-encoding.ts:74 \u2014 the two spans are one implementation copied and then locally edited \u2014 111 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":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b17710e2b730247a7d2631e0d7abc6df608ac67ffbed94c0ec8f540857ff79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/components/ConfigurationDropdowns.tsx:84 \u00B7 langfuse/web/src/features/playground/page/components/ConfigurationDropdowns.tsx:121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/ConfigurationDropdowns.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abfcc94913f9a75c5ea071c6e99e94e6c428b78290d5a0777e15f26ad8c4026"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/pages/auth/sign-in.tsx:361 \u00B7 langfuse/web/src/pages/auth/sign-in.tsx:381 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa506fe43187dd33151da158d11e0cc277b6a0c26bcd39ad6932b054d7dbf3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/pages/auth/sign-in.tsx:410 \u00B7 langfuse/web/src/pages/auth/sign-in.tsx:430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d567c5899a86582b02b044df47705a140c52aa00a9324306baed7b8e0a5417"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/experience/index.tsx:942 \u00B7 langfuse/web/src/pages/project/[projectId]/experience/index.tsx:964 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7e8908482d4e21c604d4506a846bf87f3960905ba91d8a91ba52d26c258b08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): langfuse/web/src/server/api/trpc.ts:488 \u00B7 langfuse/web/src/server/api/trpc.ts:566 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/trpc.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d75ee9dde065a3567f911ed00ed449599ba3cff0252237c2cf647cc953665f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:353 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:771 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:941 \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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8441199eeafc412a5985af97bd4a1704ba9899acaf7b1d86bdf3c46bc399545"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/packages/shared/scripts/seeder/seed-postgres.ts:613 \u00B7 langfuse/packages/shared/scripts/seeder/seed-postgres.ts:643 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d5deae588279151f137fdb4de9714ac08873882f0ccc4436804c181c4ff49a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/packages/shared/src/features/evals/utilities.ts:7 \u00B7 langfuse/worker/src/features/evaluation/evalService.ts:1271 \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":"langfuse/packages/shared/src/features/evals/utilities.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb15acc2d7940be72166b8dd962f462313057bbf3f0ab9e994a5223208c2f62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts:218 \u00B7 langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts:261 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e015eefe612adb705b23fb8a76ba075ff290d177cd337dbf161e7394de164e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/InMemoryFilterService.ts:187 \u00B7 langfuse/packages/shared/src/server/services/InMemoryFilterService.ts:348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/InMemoryFilterService.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba642b62a7d5cc4c9181b22e9e1de9399c5d30b32a426005c38345343cdb8c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/observations.tsx:1143 \u00B7 langfuse/web/src/components/table/use-cases/observations.tsx:1164 \u00B7 langfuse/web/src/components/table/use-cases/observations.tsx:1623 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d2387310bc0a09dd68a91d343d34d3f5ad2ecab70128d3d74e4c5674a646b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/score-configs.tsx:212 \u00B7 langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx:221 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/score-configs.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6681622418f59c717b0db7b3974f41149f3bb30421263627e8e9d76dd946b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/components/trace2/ObservationPreview.tsx:421 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/ViewModeToggle.tsx:34 \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":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbf21562f641595dca55283b48f8e8a9babb1dfe52a656321ec4ddca49b624c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:629 \u00B7 langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:658 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"68268fe5b7cd0377f29c58a00425b0e01069709dc06b42deb74802c40684af53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx:329 \u00B7 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx:350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"81209bf5c1f119883dcd1d40f09ad001e5461b5e2c78648ba820beb30589e54c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): langfuse/web/src/components/trace2/components/TraceDetailView/TraceMetadataBadges.tsx:12 \u00B7 langfuse/web/src/components/trace2/components/TraceDetailView/TraceMetadataBadges.tsx:33 \u00B7 langfuse/web/src/components/trace2/components/TraceDetailView/TraceMetadataBadges.tsx:54 \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":"langfuse/web/src/components/trace2/components/TraceDetailView/TraceMetadataBadges.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"751bb9701fc8d43ad9b201a29e3a4cd34faf207c662543d6f9ac3cb009d2c693"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts:178 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts:208 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b060dc696a880fba7a4d2ecb313c5b6c95b2a1ec5ab77d2f6fff3257c288b66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/download-trace.ts:22 \u00B7 langfuse/web/src/components/trace2/lib/helpers.ts:487 \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":"langfuse/web/src/components/trace2/lib/download-trace.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4082a9bcf7cdd24e06292dd2ccb119bc61a688500c5eceb350ff7b4922c7e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useSearchNavigationTree.ts:41 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useSearchNavigationTree.ts:70 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useSearchNavigationTree.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8206427fce4f19e3dd324ae309e711c31f71d6e33e1eb5f49c40abfc2ef6b983"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx:142 \u00B7 langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx:162 \u00B7 langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx:182 \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":"langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0359861a1aa7620cb203b66274a6e72eb23414fa8bd5c27c5be798d36b9068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts:388 \u00B7 langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:371 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7806e75495988412656d4806a0c3b1d8cbdc4b944d9d028b0b7782c0b070801"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx:101 \u00B7 langfuse/web/src/features/automations/components/actions/WebhookActionHandler.tsx:176 \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":"langfuse/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55e16d9f2496c7de53528a8e6b6e469b1bd5dbebc8eb533a8c1a5b98e887f9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/batch-actions/server/addToDatasetRouter.ts:77 \u00B7 langfuse/web/src/features/batch-exports/server/batchExport.ts:43 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/server/addToDatasetRouter.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"43749a8b4b21837229b6e969b92147cf8c0fe402b2023fd1d6935cab9990c9ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:618 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef473852190a4e3c9059e4ea2556565601a236b4ba37143a486312848e918986"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1067 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1654 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1806 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1858 \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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af558b52909328113a4a0acdc714311fa8a3a9e2f0ffa03b3573150bcd7361d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/evals/components/evaluator-selector.tsx:70 \u00B7 langfuse/web/src/features/evals/components/template-selector.tsx:106 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-selector.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c63f0b42bd3c6ab8b9b60dab5b03287f158896bbf6039bdcf2d969c68caa31f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/evals/server/router.ts:1401 \u00B7 langfuse/web/src/features/evals/server/router.ts:1430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b769d492524cc2361f6c5176cfdeb25c0ee718b555725ebf8e12b42d513ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/events/server/eventsRouter.ts:194 \u00B7 langfuse/web/src/features/events/server/eventsRouter.ts:221 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a343865a8bbb8905ae9d43a2c1add383c06cfba4a0717cd4e2a63a2d41dea808"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): langfuse/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx:138 \u00B7 langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx:388 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8331c7074f7678a4513c3435ef480290ee63c885ff99bfda0b06bf67c045df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx:116 \u00B7 langfuse/web/src/features/projects/components/NewProjectForm.tsx:63 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8f65134860f6ab5574518948f231acb3d2af00f6a0ba092486b63491241fa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/organizations/components/ProjectOverview.tsx:151 \u00B7 langfuse/web/src/features/organizations/components/ProjectOverview.tsx:194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/ProjectOverview.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff64bee6a55ffcd7ca3ea4440ab14496e9032037ca9ed032512e27c282f6a3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/components/MessagePlaceholders.tsx:18 \u00B7 langfuse/web/src/features/playground/page/components/Variables.tsx:18 \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":"langfuse/web/src/features/playground/page/components/MessagePlaceholders.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60f47516de8614b33cbeb7d387e991f36f2706bdc0a5ef574a42654dce5fa13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:1204 \u00B7 langfuse/web/src/features/policy-suggestions/server/router.ts:831 \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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5bad85bc1993aa2af34c995e7d33cad731bfbce58f86995203021e337b2e2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/annotation-queues.ts:22 \u00B7 langfuse/web/src/features/public-api/types/datasets.ts:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 114 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":"langfuse/web/src/features/public-api/types/annotation-queues.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"51472b39f7dcc4fd9074dd4030e6b4548c2b036eb8ff938b79d9d1c19a7107f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/rbac/components/MembersTable.tsx:159 \u00B7 langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx:138 \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":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b367646a7d8541475d1fdf8be603b3563136247ec84a7ad3c069059d7140b3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/rbac/server/membersRouter.ts:450 \u00B7 langfuse/web/src/features/rbac/server/membersRouter.ts:506 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69f52d67846f2e27ddde1cfb60390be882fc81af9dfc7d6fca47fa826e05670"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/features/widgets/components/WidgetForm.tsx:683 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:749 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab51fc67198663b284052aca6443ec60040c8745a76f7b9da3d8bf9d5f8358b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/hooks/use-element-visibility.tsx:8 \u00B7 langfuse/web/src/hooks/use-element-visibility.tsx:37 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/use-element-visibility.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec001f8ce2f9bb3ecdd9510f19c16c1214eaff81ee25f8d3d12152cb17029e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/pages/api/admin/bullmq/index.ts:41 \u00B7 langfuse/web/src/pages/api/admin/evals.ts:17 \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":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae1db272535214f74c956e4a0cf03c28f5fe65b4b75a69af11068d2cc013f23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/[itemId].ts:22 \u00B7 langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/[itemId].ts:64 \u00B7 langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/[itemId].ts:123 \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":"langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/[itemId].ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c18735731f830675676c5b344de064a5a85d8f6d541ae5b7e172e5c8674ac32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/events.ts:19 \u00B7 langfuse/web/src/pages/api/public/spans.ts:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/events.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40ef67b6809134053ddbe3600dbe3dda889fed3a0d579611dc1b0b8d16a8e79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/generations.ts:69 \u00B7 langfuse/web/src/pages/api/public/spans.ts:61 \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":"langfuse/web/src/pages/api/public/generations.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ebef41f5367e4489169bd9de0597037c23ebb7f91c4012e187d4f2546959bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/models/index.ts:129 \u00B7 langfuse/web/src/server/api/routers/models.ts:335 \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":"langfuse/web/src/pages/api/public/models/index.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"626c449b8b7d4d4da7041055b799b1471c1e6e8129965f27cf40d9fb7a32b3fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx:461 \u00B7 langfuse/web/src/pages/project/[projectId]/index.tsx:189 \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":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e062008a092cdbbb13fc8c9c986ee9230b9cd7b7a1771f5bc5c6c83bc44b745b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:551 \u00B7 langfuse/web/src/server/api/routers/scores.ts:675 \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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"6095bf233c44f1e991f2becc3f1f61f9a72a30f624420f324dd588e6a6d1ddc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): langfuse/worker/src/app.ts:422 \u00B7 langfuse/worker/src/app.ts:455 \u00B7 langfuse/worker/src/app.ts:488 \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":"langfuse/worker/src/app.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b3c36a759233fd11c5b7de53ebc1a5c07e269697652c1efcf9de0011e06c4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:494 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:515 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:536 \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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"458a3f45bf81a5e5c4d4c51de0669c117650f2d361fc98afd8c11bc5e484b01f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): langfuse/worker/src/services/IngestionService/index.ts:702 \u00B7 langfuse/worker/src/services/IngestionService/index.ts:847 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c73d7e98ff3ec59f502eceedc3420e935382a3ca78823b2f699ffef746dda6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/packages/shared/src/server/ingestion/types.ts:309 \u00B7 langfuse/packages/shared/src/server/ingestion/types.ts:333 \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":"langfuse/packages/shared/src/server/ingestion/types.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bae1ff06fca5a75f910227ac19419312da1adca5034860e72cf01d73ad03ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/packages/shared/src/server/redis/otelIngestionQueue.ts:57 \u00B7 langfuse/packages/shared/src/server/redis/traceUpsert.ts:56 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/otelIngestionQueue.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fa942d9dd5b094080acd30c3d87429f2978f6723d573fb35b11893e9bf8662"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/clickhouse.ts:239 \u00B7 langfuse/packages/shared/src/server/repositories/clickhouse.ts:477 \u2014 the two spans are one implementation copied and then locally edited \u2014 129 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8906b4a57c0e2e2e51f9b055099604f97214e67082623b2a381a006cc46db4f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/observations.ts:1811 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:1812 \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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"a098f5c995e7e02598c2f889cc8d32b818105609c4c53ebcc2c106a3d415ef4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/StorageService.ts:380 \u00B7 langfuse/packages/shared/src/server/services/StorageService.ts:869 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7700fb8e71f44793ff4c6a561da9324047055f3813da1460acf08792deb81fa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4 locations): langfuse/packages/shared/src/server/services/email/batchExportSuccess/BatchExportSuccessEmailTemplate.tsx:30 \u00B7 langfuse/packages/shared/src/server/services/email/commentMention/CommentMentionEmailTemplate.tsx:41 \u00B7 langfuse/packages/shared/src/server/services/email/organizationInvitation/MembershipInvitationEmailTemplate.tsx:38 \u00B7 langfuse/packages/shared/src/server/services/email/passwordReset/sendResetPasswordVerificationRequest.tsx:27 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/batchExportSuccess/BatchExportSuccessEmailTemplate.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aced886b6c64e3ba8eb601471898a4c3327940f88b1e0ac6ee7324af1318d52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): langfuse/web/src/components/ModelParameters/index.tsx:240 \u00B7 langfuse/web/src/components/ModelParameters/index.tsx:361 \u00B7 langfuse/web/src/components/ModelParameters/index.tsx:410 \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":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a14eaf8579c0c3ec4fee74299e4f65d09ce1c8af431704953303714f34e80d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:1749 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1589 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07f5fc204818957e162f5548618ca800e17a94a6f52de1137c42fd77f47dcc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/observations.tsx:2392 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:2341 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:2362 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"96900c1e699386490bcce58b0f65529ee78ad4c0b3923b2b767256a67416ce3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/components/trace2/api/useAgentGraphData.ts:70 \u00B7 langfuse/web/src/components/trace2/contexts/TraceGraphDataContext.tsx:116 \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":"langfuse/web/src/components/trace2/api/useAgentGraphData.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec37bed15db15f6b958a508cda08610c483c7be17f08c91b98cc5da1df7d4034"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/IOPreview/components/ThinkingBlock.tsx:17 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/ThinkingBlock.tsx:58 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ThinkingBlock.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"053accee7d745d567e5c9be680a8a5bce09b4d3c20ca878cbc7615c781e99286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/helpers.ts:229 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.ts:487 \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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"78594beb8e1bce16c21679d01384c12e11c51b751ac8287b39d2a95258b3ab1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx:22 \u00B7 langfuse/web/src/components/ui/LangfuseMediaView.tsx:143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de59351d44ce347eb5d004ca80955cf633dfa3a2d421dfc1bf7c0193db09f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/multiSectionTree.ts:57 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts:61 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/multiSectionTree.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc31a15a994f1e7d5d3d11e20a53769b1f365096e5a0e979132b78aa5dca6fb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx:214 \u00B7 langfuse/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx:236 \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":"langfuse/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceabc87c057aeee9b763b9c76fca90e3642fea1c54d9633c08897b86eb8194d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx:231 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx:235 \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"245895a91d8727f025de0bb1a9c7640ec55ccb8f2b629a1b292c1c41f880a1c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/components/DeleteAnnotationQueueButton.tsx:45 \u00B7 langfuse/web/src/features/datasets/components/DeleteDatasetRunButton.tsx:52 \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":"langfuse/web/src/features/annotation-queues/components/DeleteAnnotationQueueButton.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"780484c00d471f7e9bd4bb6d9017a15d6237bcd24c08bcdc0f0850af6a4e216f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts:218 \u00B7 langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts:295 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"902827cf0e03ffd6a3e51f780c721950230a0bd244f7ae22aec06a436d5f7837"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/DashboardTable.tsx:300 \u00B7 langfuse/web/src/features/widgets/components/WidgetTable.tsx:245 \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":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6852b8fee369db82bc74bfd3f00fcfa769581c2a68f70c3fa2aa059e2b1d44a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/ModelCostTable.tsx:18 \u00B7 langfuse/web/src/features/dashboard/components/PolicyViolationTable.tsx:17 \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":"langfuse/web/src/features/dashboard/components/ModelCostTable.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53b92f8b2ea325924df295f2670354a01f00eb24b8da9fadb4488b63cb9a905"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx:209 \u00B7 langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx:14 \u00B7 langfuse/web/src/features/dashboard/components/UserChart.tsx:26 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e0f6ae288fa957be9101a50b85b07b9ba67f8318edf7479de74c49f84572a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetItemDiffView.tsx:26 \u00B7 langfuse/web/src/features/datasets/components/DatasetItemDiffView.tsx:45 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemDiffView.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d899d776e16830297ad367a7f62d140ecda54f8b5bb29fd2f9ca249aa5675a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/datasets/hooks/useDatasetItemValidation.ts:68 \u00B7 langfuse/web/src/features/datasets/hooks/useDatasetItemValidation.ts:89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useDatasetItemValidation.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9ca4c54588d27204357c66993baabbf4a03e0608f1def076a70f0dffe295d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:454 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:243 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e43fb7fb56008af48bbc96baa3ab51318b75cefd726d0bd9ca883df9b48f670"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:1483 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:1050 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd332c230415995bbcc990f110ba1b0c1e6e2e288617361e846a783540603309"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): langfuse/web/src/features/evals/components/eval-templates-table.tsx:375 \u00B7 langfuse/web/src/features/evals/components/select-evaluator-list.tsx:108 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"3922ca7364a26b11551dd6c470cba78dec395ad01cc15906bebfe718840264bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/evals/components/variable-mapping-card.tsx:334 \u00B7 langfuse/web/src/features/evals/components/variable-mapping-card.tsx:374 \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":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd9dab89c56a03ef9d886b6f70120fdaf794b510b0221b991791bcf5c59e636"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx:207 \u00B7 langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx:388 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9242377b195822703b5aa20ee552b69b24224941567a739601681f28cf4c138a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): langfuse/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx:97 \u00B7 langfuse/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx:172 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e04e60a8c0c33cb2447955611defbe2a5f32bfff2c3d90c1cbff0cd4ef7e37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:1096 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts: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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"eded0ad2d80681bfb4d39b04da6886036a96c810a0fe73c8a113ddd1370ff635"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6 locations): langfuse/web/src/features/projects/components/TransferProjectButton.tsx:190 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:403 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:725 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:763 \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":"langfuse/web/src/features/projects/components/TransferProjectButton.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23a9e30b39dd95275d140802e92189a9f4dc86a03d1a9ff907ed5c7af72fbf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/rbac/utils/checkOrganizationAccess.ts:39 \u00B7 langfuse/web/src/features/rbac/utils/checkProjectAccess.ts:41 \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":"langfuse/web/src/features/rbac/utils/checkOrganizationAccess.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f5f2eafe4fc199f38268fb2d61a66d1f088cf1c11a035587de1d83ef021634"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionNumericChart.tsx:117 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesNumericChart.tsx:147 \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionNumericChart.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4690ea6799f2d847e7cd28678809af372e034d5d6fb48b2652e925bf53d99256"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/scores/hooks/useScoreMutations.ts:43 \u00B7 langfuse/web/src/features/scores/hooks/useScoreMutations.ts:78 \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":"langfuse/web/src/features/scores/hooks/useScoreMutations.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"144e78a1395612180d770c16b267e0fec9351c393971433628f84a4f75243e38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx:950 \u00B7 langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx:968 \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":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e73c12a22cd391202bd7992d9da0b228aa5e7475ca2856074673beb2d81eda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/features/widgets/chart-library/HorizontalBarChart.tsx:122 \u00B7 langfuse/web/src/features/widgets/chart-library/VerticalBarChart.tsx:57 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/HorizontalBarChart.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f797c3e08d0629aab683d335c92fbac208ea0bea585b0daf652d2802577324ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): langfuse/web/src/pages/api/admin/bullmq/index.ts:71 \u00B7 langfuse/web/src/pages/api/admin/bullmq/index.ts:112 \u00B7 langfuse/web/src/pages/api/admin/bullmq/index.ts:163 \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":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acb54809342a8ee0effaf520292b84fc1084458236dd2f0f13b98d574aa66fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:698 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:742 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:780 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"895f7baf4e4376abe9cad10442eb023d3628f580c300e372ef8fa1fc4a5aba12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:182 \u00B7 langfuse/web/src/server/api/routers/scores.ts:258 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"80141db5636642502807062f74a6aea1b9e8e189d5a91b2858958b993c3d1d7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:389 \u00B7 langfuse/web/src/server/api/routers/traces.ts:506 \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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b89d6c07419547d5f54d1c0b69fb748be05d01b0868c3eb085ff12dfe4aa26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/worker/src/app.ts:180 \u00B7 langfuse/worker/src/app.ts:202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/app.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2eb891ce4bbfa056c629814d8e7cc6334af67ffef11c6c217e7cabdf7b2fc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouse.ts:42 \u00B7 langfuse/worker/src/backgroundMigrations/patchLLMToolAndLLLMSchemaAuditLogs.ts: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":"langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouse.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ce08cc901044d1c8fe0d107d3136412f7398567666c6d6cd96b56595104f40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): langfuse/worker/src/features/database-read-stream/event-stream.ts:276 \u00B7 langfuse/worker/src/features/database-read-stream/observation-stream.ts:371 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df7907754e9a39402f81823ea2b33d6545a27df5fdb3826007ff75a45e6d97c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/packages/shared/src/domain/score-configs.ts:103 \u00B7 langfuse/web/src/features/public-api/types/score-configs.ts: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":"langfuse/packages/shared/src/domain/score-configs.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e65b96bdf598f1c44b03294c38bb8551b0c9ad5e58f62ab982c5d1d4167639"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): langfuse/packages/shared/src/features/scores/interfaces/api/shared.ts:59 \u00B7 langfuse/web/src/features/public-api/types/observations.ts:201 \u00B7 langfuse/web/src/features/public-api/types/observations.ts:339 \u00B7 langfuse/web/src/features/public-api/types/traces.ts:98 \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":"langfuse/packages/shared/src/features/scores/interfaces/api/shared.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"db66d4086365ad80ccca3654920b14add490df16875835f82134298c265fc110"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5 locations): langfuse/packages/shared/src/server/repositories/clickhouse.ts:198 \u00B7 langfuse/packages/shared/src/server/repositories/clickhouse.ts:264 \u00B7 langfuse/packages/shared/src/server/repositories/clickhouse.ts:404 \u00B7 langfuse/packages/shared/src/server/repositories/clickhouse.ts:502 \u00B7 \u002B1 more site(s) not listed \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":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"978cfd5cfd26bc954b5a0ddad733258ffe274a77767a981c662c8ad8062b81af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 7 locations): langfuse/packages/shared/src/server/repositories/observations.ts:731 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:873 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:923 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:974 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3b0e53253453b53b4e9d9b361372e5749a38aeb959db952ae5d6ea0ebfa3b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5 locations): langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts:249 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts:316 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts:188 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts:176 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1084f5f5e3f464ba1596cc27e6648b9bb7bd435fb9df415a3a33a2fbc2c6d12f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/TruncatedLabels.tsx:51 \u00B7 langfuse/web/src/components/TruncatedLabels.tsx:86 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/TruncatedLabels.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e87394dae1716c6e5787b390af7beebf6780461014987d964c50fdb569ad3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/table/data-table-controls.tsx:271 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b682ae650eb1e8d94bfb9a1b6643d0cf3c957d7c67fece28c3574a5abb2d5507"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/table/data-table-controls.tsx:1164 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:1208 \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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d819b6558ce753795dfd81959c1774672a2c3938352f53f4c9363eca44b3f635"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionEditor.ts:64 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionEditor.ts:105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionEditor.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6ea424845f4ae34d1212dbd2a51f23042ddd6c3e91970174436f11cfb387d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts:134 \u00B7 langfuse/web/src/components/trace2/components/TraceTimeline/timeline-flattening.ts:118 \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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ece9965152edafa62052958826954003fc71d8c3cf95a827c64844e0472ee0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx:158 \u00B7 langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx:199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cbf2459d925ead748aa0056d2ea8fbd2964e60448f4925535edce048463fd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceTimeline/timeline-flattening.ts:41 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.ts:38 \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":"langfuse/web/src/components/trace2/components/TraceTimeline/timeline-flattening.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c1637d9048744f2707a345afb4491d4de0d0238641a00eb28387fee68150fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/BreakdownToolTip.tsx:194 \u00B7 langfuse/web/src/components/trace2/components/_shared/BreakdownToolTip.tsx:238 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/BreakdownToolTip.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a084e503224572d508a22605af356da9d51900b02dbbca2e42d650e33db6387"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:109 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:235 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af32b9bfe9fe38ba835e6a910e6ad00c0dd1430c4c9884291c73d2b16d56c81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1384 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1737 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb112edc834812b1fadd4b2d50c81a2a00c3b45f0d347c18702f7af112a0407c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx:142 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.tsx:93 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e39695d1b6454a4e5885945b4579fa6d6bd4177478a3ebad9358cdbb83f169"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1173 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1273 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1486 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1909 \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":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31c1e284777deab34de7c274ad5423849041bbc7c2322fc88d4fc56e154da3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1282 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1495 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f642d360bca2308517e1dc39819b712ae0fb3c8fbdab9bec185e90e736af58a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1335 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1451 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3371ea88d7f194e3cdd6268400438bde22e988fa6d562466465a739843335c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:27 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:94 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8b6f765f2466b2c1686ca7e35dfd66dec6bb6204bdf174f1e456face3b7195"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:289 \u00B7 langfuse/web/src/features/llm-schemas/server/router.ts:70 \u00B7 langfuse/web/src/features/llm-tools/server/router.ts:70 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fa44b4ae460b8c3e840d14514c233125289b76adfa9b0733bc64304422b723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/features/automations/server/router.ts:268 \u00B7 langfuse/web/src/features/automations/server/router.ts:388 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/router.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7947c6740c08938912efb5f3f3deb44c4f436c83cd0456541135f107a7575cb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6 locations): langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx:42 \u00B7 langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx:53 \u00B7 langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx:101 \u00B7 langfuse/web/src/features/dashboard/components/UserChart.tsx:62 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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":"langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"158a5960dee42a9bfb10dff3ebba5ddf22b4c8573c1c0a71019d7427a54c60a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetActionButton.tsx:86 \u00B7 langfuse/web/src/features/datasets/components/DatasetActionButton.tsx:108 \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":"langfuse/web/src/features/datasets/components/DatasetActionButton.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb4a17367cdf837ab95051aff3da9be7c284a6bb3b2b92ed0775f6de4f8660b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1866 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1908 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"44faaf893de195737cd35af19e2a3925475d69a5115ecdb9db541afa5405e7a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/features/evals/server/defaultEvalModelRouter.ts:51 \u00B7 langfuse/web/src/features/llm-api-key/server/router.ts:238 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/defaultEvalModelRouter.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"151adf254fc61bf0925ccf1ed8ca99b2ba9024079a831497a88a06a6b6e70d53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): langfuse/web/src/features/filters/filter-integration.clienttest.ts:120 \u00B7 langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts:286 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/filter-integration.clienttest.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99ab6ce69b1fccd362559eed2f8b973585301dae5a5358728a08c102a3ac0cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/features/projects/server/projectsRouter.ts:376 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:453 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e9f611ed2a3d86482ac8baf7aaaff2cb9dad7df37b6a047b30a9aac6ed0c39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/dataset-run-items.ts:16 \u00B7 langfuse/web/src/features/public-api/server/dataset-run-items.ts:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/dataset-run-items.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d51828264234f24ec9c6bc07ba10bb0505ddaca75029c04a453547cf5c00286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/features/rbac/server/membersRouter.ts:247 \u00B7 langfuse/web/src/features/rbac/server/membersRouter.ts:302 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1118c84717c09cd912a38ab206cd31409e81e02043f854191b27388b31e440fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx:132 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionCategoricalChart.tsx:154 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesNumericChart.tsx:82 \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80d8f33591245746e0197eb5935f7596ec907cdd5572b22a8647f29ce44ab64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx:244 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionCategoricalChart.tsx:282 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionNumericChart.tsx:153 \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e01241298005c7317ad735332c0d965e6937e2d48cf908ea198be3f8a865cc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/features/slack/components/ChannelSelector.tsx:180 \u00B7 langfuse/web/src/features/slack/components/ChannelSelector.tsx:206 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f482308e91554bd6edb0c50070a3fbcca1c8ad7e2c2cdef9b00f405c36d6b66e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): langfuse/web/src/features/widgets/components/WidgetForm.tsx:1268 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:1352 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:1439 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:1514 \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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"996542a3dc80d5b5ce80bc0703895e4b7e2fd64e58c9a3a1defb28a847378b28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/pages/api/admin/api-keys/index.ts:34 \u00B7 langfuse/web/src/pages/api/admin/evals.ts:27 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/admin/api-keys/index.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"98839b959d64d28eec10cc9edc4fee0383fd608bbd074b7b3c79bf1320a3e4bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/pages/api/admin/api-keys/index.ts:69 \u00B7 langfuse/web/src/pages/api/admin/api-keys/index.ts:91 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/admin/api-keys/index.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c4c8be5f012516b3d1bec22130e2d1cbb8528e396e6c3770f4bea230f72cf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): langfuse/web/src/pages/organization/[organizationId]/settings/index.tsx:25 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/index.tsx:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 126 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":"langfuse/web/src/pages/organization/[organizationId]/settings/index.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"552dd47d4e7f9d31aae5b8a7fec79010e6e8755ff7c974cc1313bd0941c9fb8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/experience/index.tsx:460 \u00B7 langfuse/web/src/pages/project/[projectId]/policy.tsx:773 \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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"f536c3e66e7c7e3aa39528d0f141f2b28eca37a60fc2e0359fd2c410ab24e1a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/observations.tsx:7 \u00B7 langfuse/web/src/pages/project/[projectId]/observations/new.tsx:7 \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":"langfuse/web/src/pages/project/[projectId]/observations.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce44d75445da4a04039a6919636a0f1fb522d145b25acbbcd344e3f8a9bca5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/policy.tsx:383 \u00B7 langfuse/web/src/pages/project/[projectId]/policy.tsx:413 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29b99ee6e3dc42a6a90937d27ec793100f26c378b87b9a6f810cc88076cd721"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:115 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:105 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:102 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd50f36cfa8291826fb2751fd863fd540ebba44b5fc4a1060130cd2390489626"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/tableViewPresets.ts:59 \u00B7 langfuse/web/src/server/api/routers/tableViewPresets.ts:79 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/tableViewPresets.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8106ac4f6dd37ca46d7c44af0fbf9128baf9ec4c9514cefe005d19d65c1a9c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/web/src/utils/chatml/extractTools.ts:110 \u00B7 langfuse/web/src/utils/chatml/extractTools.ts:138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/extractTools.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c967c32c58e498739b8f052bce93061396fde1b4e78395c0cc50d7f80a197f7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5 locations): langfuse/worker/src/backgroundMigrations/addGenerationsCostBackfill.ts:208 \u00B7 langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts:215 \u00B7 langfuse/worker/src/backgroundMigrations/migrateEventLogToBlobStorageRefTable.ts:168 \u00B7 langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts:169 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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":"langfuse/worker/src/backgroundMigrations/addGenerationsCostBackfill.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2efa46ee3343810c62618dbb663caaa929e17419dfb0dc3af8844f5559319e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts:191 \u00B7 langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts:220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a20a29d08406a6ebc7ae53f691715ccc73ea318bba18087e68b9842a45b3868"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): langfuse/worker/src/features/batch-trace-deletion-cleaner/index.ts:155 \u00B7 langfuse/worker/src/queues/traceDelete.ts:99 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batch-trace-deletion-cleaner/index.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c05283c797ec4cefb461092482b96b66263ea305b56572763525b7af948fab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): langfuse/worker/src/queues/coreDataS3ExportQueue.ts:10 \u00B7 langfuse/worker/src/queues/projectDelete.ts:20 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/coreDataS3ExportQueue.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"307ac3909f75e1142a4dc014415fd03f7cbd69b9469b8ad82470c6afc634287f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts:66 \u00B7 langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts:101 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5d12384c61e7b3154e51fbcebfb0dbbddbdb4b2c2c777842b9cb0323e56094"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/automation-repository.ts:25 \u00B7 langfuse/packages/shared/src/server/repositories/automation-repository.ts:80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/automation-repository.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"541e5fdaf076305b40b421b694b71dc831b78d1d7f727e28777dadef064113e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:2332 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1246 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"603c359509b98f0ad0284c24fcfe20718dd843db8a3d177252fbfd8c621b6d70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:2758 \u00B7 langfuse/packages/shared/src/server/repositories/traces.ts:1195 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b84ad36b5f37b54ee3a8c23e3c9b644d39057c7766c0ca2e6103b7c332872e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): langfuse/packages/shared/src/server/s3/index.ts:15 \u00B7 langfuse/worker/src/queues/coreDataS3ExportQueue.ts:12 \u00B7 langfuse/worker/src/queues/projectDelete.ts:22 \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":"langfuse/packages/shared/src/server/s3/index.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea1ac170164b6216d338c1a0f7f408e9694a13bc84a37cc41a956dace6ee8b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/PromptService/index.ts:80 \u00B7 langfuse/web/src/features/prompts/server/actions/getPromptByName.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/PromptService/index.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d445a9043d05d6802154dcbab267509e847518869b8f3151b7e00289474440"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/components/star-toggle.tsx:106 \u00B7 langfuse/web/src/components/star-toggle.tsx:241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/star-toggle.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f809ab0ae6c66b4d4c23039f5ab2b714e09a0726468c0b88af8a7c8f790870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): langfuse/web/src/components/table/data-table-controls.tsx:208 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:231 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:250 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:313 \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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe67a14c9aa47254b24dbb80c7ad167b1b88f542a8818cad4444aa241163a11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:1693 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1786 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7c7029787c52658be9d9401a4a25336403180c424f239bf32d54ae7de0cb3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/scores.tsx:671 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:736 \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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadd34ef28ac7c97ea197053c8ef517bce0b345da9f859d35d71c03c0420a02a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx:496 \u00B7 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx:521 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"49edbd927ea0c90ccfab690f4328ee0132a7abcb67944309c3c88234bb145ced"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts:99 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts:162 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"def8dfed91045fd387e594c3dff05b15ef6ce811123bcbd841cee8552945b311"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx:80 \u00B7 langfuse/web/src/components/trace2/components/_shared/VirtualizedTree.tsx:65 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d439c6030731931bcd15cd3ec1c3459ccf2fe050432ef13fdef3069505c347b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts:44 \u00B7 langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts:66 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d559bfb1d207a802c760eb254950f1a10b7955befd089220ec3a2eca151e75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:801 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:828 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a137f1c944265b8d711c74942c8ff38132524f2ac35e9ce10d39f0aad6a048"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx:83 \u00B7 langfuse/web/src/components/ui/LangfuseMediaView.tsx:57 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21999e93d71fa04b101cdcbfaf267f8320e85f793aa9cf77d3095c8ef6f71c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts:95 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts:141 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"08055302f6fa23e25b45b68cd2485b945ae9fd3148823599668e3fcb0491b1a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx:182 \u00B7 langfuse/web/src/features/datasets/components/EditDatasetItemDialog.tsx:178 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee968957bde98f5ad8ae2609ebe1dbf10dc63cfa56fa1579c3cd7d18e1835db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:406 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:423 \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":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cf3ecdde82c745ec9be76ea3aac6b425c66d0e862ea1fe3609caecb9da0e97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx:255 \u00B7 langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx:430 \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98fd69854c14f0a5e322759d0e62a3620630bb5f8cad6dd199c83e9a5cc82a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx:267 \u00B7 langfuse/web/src/features/experiments/components/steps/ExperimentDetailsStep.tsx:35 \u00B7 langfuse/web/src/features/prompts/components/duplicate-prompt.tsx:124 \u00B7 langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx:253 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d03320d7b79db1d63f7d021fc1b07d8292a82c4ca245660333878b2ca55e77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:133 \u00B7 langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:284 \u00B7 langfuse/web/src/features/llm-schemas/server/router.ts:65 \u00B7 langfuse/web/src/features/llm-tools/server/router.ts:65 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3de78a659ece7fbd682e6c46695ae641612eacfe1ffc647539cae826f23ae02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): langfuse/web/src/features/automations/components/DeleteAutomationButton.tsx:73 \u00B7 langfuse/web/src/features/scores/components/AnnotationForm.tsx:803 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 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":"langfuse/web/src/features/automations/components/DeleteAutomationButton.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"442ac15c5753e28b8df4d0ae395c1cd3b91b7a313d6c9aa5c4e4efd0b620a8e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): langfuse/web/src/features/automations/server/router.ts:164 \u00B7 langfuse/web/src/features/automations/server/router.ts:197 \u00B7 langfuse/web/src/features/automations/server/router.ts:361 \u00B7 langfuse/web/src/features/automations/server/router.ts:501 \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":"langfuse/web/src/features/automations/server/router.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"95237ab1a64a36985570bc92367313ee410a74aa0732ac784f1a8033db69f2e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/server/dashboard-router.ts:960 \u00B7 langfuse/web/src/server/api/routers/dashboardWidgets.ts:101 \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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e1deeb501cdd78538d523c465d084d955ea358ee634ff31ba165dca11ef824"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx:167 \u00B7 langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx:227 \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":"langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"325c6dda3c889397a6cd1647c7f022bf863a05d9c0599db134f73a844c2f802f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): langfuse/web/src/features/datasets/components/DatasetForm.tsx:116 \u00B7 langfuse/web/src/features/datasets/components/EditDatasetItem.tsx:23 \u00B7 langfuse/web/src/features/datasets/components/EditDatasetItemDialog.tsx:26 \u00B7 langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx:42 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61b24758aa17390ec93a0912382b100f65c17540ef00cc21913be36ff06ccfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetItemVersionedContent.tsx:58 \u00B7 langfuse/web/src/features/datasets/components/DatasetItemViewModeContent.tsx:24 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemVersionedContent.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"48772e3e05945eb482b8b4f56f9c0153e085e6c9362eabe9589cdf45a526026e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/EditDatasetItemDialog.tsx:177 \u00B7 langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx:485 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/EditDatasetItemDialog.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea60012c8a154b10e8a15cac3d7140ed09b8b163719714faee1799097933e74c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/datasets/lib/convertRunItemDataToUiTableRow.ts:15 \u00B7 langfuse/web/src/features/datasets/lib/convertRunItemDataToUiTableRow.ts:39 \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":"langfuse/web/src/features/datasets/lib/convertRunItemDataToUiTableRow.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f1a7cf2d0520498bf5e40e70ffd450352fc8aea3de01c91692f48c4b6ba298"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts:204 \u00B7 langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts:308 \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":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1a5c4dd6188ada6fb59a85de0d287eea9aca04613107ddb31444299de676a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): langfuse/web/src/features/error-analysis/server/router.ts:418 \u00B7 langfuse/web/src/features/error-analysis/server/router.ts:491 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:206 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:280 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"07478741dba08329623fb235d4842bfd063fe3a145e42fe76eef28846a585186"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/evals/components/evaluator-selector.tsx:48 \u00B7 langfuse/web/src/features/evals/components/template-selector.tsx:90 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-selector.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"362f3cb8d0e8b6dd29ceddcb574412a8ed32bb0099d99ecaa9ec74eb337f9208"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx:219 \u00B7 langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx:236 \u00B7 langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx:253 \u00B7 langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx:270 \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":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2781206a0ec17e91d77b57e00021d0419bd6ed6513baa49e9f470cf393b683"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx:38 \u00B7 langfuse/web/src/features/projects/components/DeleteProjectButton.tsx:39 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6be9a4f606ccf87549d819c534d775d6592195bbdcfbb3f98861c9a0e9d0b0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/projects/server/projectsRouter.ts:100 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24385fcf8dfa87bdc0f659a42570d23279f4f4a477ff7a5a2a2e06a972427df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/routers/promptRouter.ts:308 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:350 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"907d828a2543adcad63fcfa65bbe5305470b9902c075333ea30dcb47c72258c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/routers/promptRouter.ts:607 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:786 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8af4750a891b2247cfca25a525d7d7f3a6bb71af394ec70e53af4244e050ec5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx:72 \u00B7 langfuse/web/src/features/public-api/components/CreateApiKeyButton.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":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"09729d8adc5414efbb624cbe0b141e47e2b9a74d58d844424fc643b555d6a5a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/blob-storage-integrations.ts:27 \u00B7 langfuse/web/src/features/public-api/types/blob-storage-integrations.ts:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 114 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/blob-storage-integrations.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e695c111f1472213d1d0b4d70ce3aaced21d6cd352bd6ddfcfa6d5ff905b1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:299 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:262 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:231 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d6acd6f3ffb50b79f848c002f760b779f6e4b8bf9cac9f789361fab4c98593"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:934 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:431 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:373 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6782f40b77fed885c9cd04ef5d2d33bdf6d7a7eca6147ee7847165187848d13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts:338 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:220 \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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f62862d28aa67afca398dd0ceaeee396bc7da19778c0d249d9152cfa3141bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts:798 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:652 \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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"d630f32f7c1c0c707b8e2726a43cec1c2d1c20801e4b95abe184846b86c81028"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/worker/src/features/evaluation/evalService.ts:930 \u00B7 langfuse/worker/src/features/evaluation/observationEval/observationEvalProcessor.ts:55 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4b30e7a4327d025d3a2c4a194861aa8d1d5380b4b95b97cf880b48c40c316f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): langfuse/worker/src/queues/evalQueue.ts:35 \u00B7 langfuse/worker/src/queues/evalQueue.ts:87 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/evalQueue.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8441c45ee45d2eed2363acdb654da0cf9b19733bbce4ef5b302da7e4af5b60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): langfuse/worker/src/scripts/send-test-spend-alert-emails.ts:40 \u00B7 langfuse/worker/src/scripts/send-test-spend-alert-emails.ts:58 \u00B7 langfuse/worker/src/scripts/send-test-spend-alert-emails.ts:76 \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":"langfuse/worker/src/scripts/send-test-spend-alert-emails.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab0fe966d2d47a98456a3e760934400ceac55ba9b68fd68a4fdf71f276a1a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): langfuse/packages/shared/src/domain/scores.ts:74 \u00B7 langfuse/packages/shared/src/features/scores/interfaces/api/v2/schemas.ts:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/domain/scores.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"027827269d7772703735e35a2f3b62dc406c3a39b620c7ffc70e78910b9203ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/packages/shared/src/server/ingestion/processEventBatch.ts:40 \u00B7 langfuse/packages/shared/src/server/repositories/clickhouse.ts:83 \u00B7 langfuse/worker/src/features/traces/processClickhouseTraceDelete.ts:18 \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":"langfuse/packages/shared/src/server/ingestion/processEventBatch.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"12293d40d72a442777c33a9c745d91774540d81fb15dab03f6dd9d1a63937cab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/packages/shared/src/server/llm/compileChatMessages.ts:74 \u00B7 langfuse/packages/shared/src/server/llm/compileChatMessages.ts:107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/llm/compileChatMessages.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abd5f5771d0ef02cfac76244cfffb7f70b9d1877e3ec91612dd392c34e38380"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:80 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:180 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:237 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:406 \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":"langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b54689230a3fc6df7a17f4bb845f784d8e6f7fdb9b57f1b664ad35a4524e29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/packages/shared/src/server/repositories/dashboards.ts:34 \u00B7 langfuse/packages/shared/src/server/repositories/dashboards.ts:101 \u00B7 langfuse/packages/shared/src/server/repositories/dashboards.ts:199 \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":"langfuse/packages/shared/src/server/repositories/dashboards.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"df91280ad410cb964836faa3a71528638e43f98e78cc5e7cea9e15853912970e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:1093 \u00B7 langfuse/packages/shared/src/server/repositories/events.ts:2398 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1303 \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":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7759d58b31036e836c579f26d138b58beecd1ecd7a3baec96c68978ad0ef126"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): langfuse/packages/shared/src/server/repositories/events.ts:2523 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1363 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:1504 \u00B7 langfuse/packages/shared/src/server/repositories/traces.ts:1016 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":2523}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa5feae6ac053b24b592276f4c44447feabbd336b958b3d9d90e0df4d331272"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:2840 \u00B7 langfuse/packages/shared/src/server/repositories/traces.ts:1328 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce22ff949954286c06adb23122dfba2e60bd6bc27635ae0df8135cf2bccd63c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/scores.ts:1337 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:1386 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8848e1ad38ca4c955539a1faa7ed2e2ba816ff7008302b9f21766b42c264b37c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/scores.ts:1674 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:2049 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"92502bcd3c7ac3beecf6a3589435840a84b7d1e5d5e9266c534d9d0556f26128"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/commentFilterService.ts:203 \u00B7 langfuse/packages/shared/src/server/services/commentFilterService.ts:304 \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":"langfuse/packages/shared/src/server/services/commentFilterService.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"24926a33a7b0a665d104781d7e8180c7d1465419a7ac1723073f6d374db34f8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): langfuse/packages/shared/src/server/services/email/cloudSpendAlert/CloudSpendAlertEmailTemplate.tsx:43 \u00B7 langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdSuspensionEmailTemplate.tsx:47 \u00B7 langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdUpcomingEnforcementEmailTemplate.tsx:48 \u00B7 langfuse/packages/shared/src/server/services/email/usageThresholdWarning/UsageThresholdWarningEmailTemplate.tsx:49 \u2014 the 4 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/cloudSpendAlert/CloudSpendAlertEmailTemplate.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2502c7a5d8e332b63d59f90d068a07ad7d4d2277535ffc5f529f82bbe9e3e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:465 \u00B7 langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:492 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa5539c5bdef7153e4541fa309203b8cabb47221dfda05fdea9db20f259ef40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/json.ts:48 \u00B7 langfuse/packages/shared/src/utils/json.ts:147 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/json.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aee628f0f25c7fbd44a33dc825df3108f9eaea0ea04e1c8d3418fcf14a98e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/components/editor/PromptLinkingEditor.tsx:66 \u00B7 langfuse/web/src/features/prompts/components/NewPromptForm/PromptChatMessages.tsx:127 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/editor/PromptLinkingEditor.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed929fdcfc26dda00d2620bba2dbe7acca66abe37c6d89372e5cdbb9064fe6aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/components/star-toggle.tsx:57 \u00B7 langfuse/web/src/components/star-toggle.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":"langfuse/web/src/components/star-toggle.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"01756e40546630ae7a2499deddfa90fe9de4b8dae8fc4cf256709b12331db824"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/components/table/data-table-controls.tsx:962 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:987 \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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b2cb330dbb44e4b6624609854caa25a129794c80f61dcd1ae7f5d6896140b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx:710 \u00B7 langfuse/web/src/features/datasets/components/DatasetForm.tsx:405 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb19e4945bf93da0902bb7fd81ae3a1de0fd63fc6e660481f30fa10ddb5a2634"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/observations.tsx:551 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:281 \u00B7 langfuse/web/src/features/events/hooks/useEventsFilterOptions.ts:45 \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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"530a872f00c4109c9ec509f702a76019ed6393894a760740d88a83037908520b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/sessions.tsx:595 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:613 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:630 \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":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c983acd4b88e30a74a9081e0137b2e21b1b6ced29eed8377574a27bfcd55f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/sessions.tsx:648 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:667 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:686 \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":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca325b7c27cb250310cb513130609ca4921cfb287adfb3f92de08f10b1d817d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/components/table/utils/jsonExpansionUtils.ts:49 \u00B7 langfuse/web/src/components/ui/PrettyJsonView.tsx:198 \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":"langfuse/web/src/components/table/utils/jsonExpansionUtils.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"257f5cefb8aa50fd750e887dff94a914c63def17242d2f9fdf319419d722a6cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:235 \u00B7 langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx:278 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e669cbc3a0fc296a9296c657d718d0bce047f320a7b1125d2b2e6d79e416e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgesSimple.tsx:9 \u00B7 langfuse/web/src/features/governance/utils/policyMetadata.ts:73 \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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgesSimple.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d326ed6453a94ec2127ef9a74d3072233963bd79a3a2f8acca1a28043af3ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:339 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:391 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba748aa7825030b35416746091f47f6669c70370578e34c24734789653ea76c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/components/trace2/contexts/TraceGraphDataContext.tsx:61 \u00B7 langfuse/web/src/features/dashboard/components/PolicyConfirmationDetailsSheet.tsx:132 \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":"langfuse/web/src/components/trace2/contexts/TraceGraphDataContext.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1136fca33fee9144931d6fcbb429b049ab69d9d9fa2b1a706f736a21aea8b19e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:992 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1014 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ce8a2bc6e516dcc75d0dbf568cd31319b635902f3ea8788493bf6eb49086f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts:303 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts:381 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts:430 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"612f96bf1d952a5d030344efc448e4081691a760a972b32069641148fc676cbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): langfuse/web/src/components/useLocalStorage.tsx:28 \u00B7 langfuse/web/src/components/useSessionStorage.tsx:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 112 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":"langfuse/web/src/components/useLocalStorage.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e17f9b81b4cd4110660628fad5a4c4ed6a515a550271fce2abb75bf67c3dd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/organizations/index.ts:52 \u00B7 langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts:76 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/organizations/index.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4e4e9644dc41ebdbdf7e96b4b62c383627e6263e26cf6325816b642663de9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:131 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:160 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f955e730700cd101d2d6258bb3531fe999ca1f0846af4d3b81195d4f81d3a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/components/processors/SessionAnnotationProcessor.tsx:153 \u00B7 langfuse/web/src/features/annotation-queues/components/processors/TraceAnnotationProcessor.tsx:159 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/processors/SessionAnnotationProcessor.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cc82976437b9fc4284519cde2eba646fcece8aada2c1a47af84afc0b988545"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:158 \u00B7 langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:358 \u00B7 langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:447 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8af17e0d5a087917c0c07331da11e95b287c987871fc50bcc1d0b9de7911d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:177 \u00B7 langfuse/web/src/features/batch-exports/server/batchExport.ts:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf66a0bac5b7382cf0e189c0d297d7f7dafcc9df6110399dc329629df3e3798b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/automations/components/automationForm.tsx:404 \u00B7 langfuse/web/src/features/automations/components/automationForm.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"0632469cb86d5e66deea56192e4998fb0922d3f0e53b10d7c1a9c6b30fbeac78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/ChartScores.tsx:98 \u00B7 langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreTimeSeriesChart.tsx:113 \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":"langfuse/web/src/features/dashboard/components/ChartScores.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff68c2ceac22e4bad5c6b10efbc313d27d9de98ea492750b0ce7f2178e13377c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx:96 \u00B7 langfuse/web/src/features/dashboard/components/PolicyViolationTable.tsx:209 \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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e01ed8a28b8e88bdeaa32fb14b9c69235ddfc637c874ea3ccc580e41f3a5e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/server/dashboard-router.ts:253 \u00B7 langfuse/web/src/features/policy-suggestions/server/router.ts:410 \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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e06c8efa1ab652751134e1e6451f223240a74a2bd33e64131a06091d6e03e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx:145 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:389 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:406 \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":"langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d496798f4094a6ff8b40697ed5aa3706a173e0cdd1bb952c4f083703791368"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:523 \u00B7 langfuse/web/src/features/datasets/components/DatasetsTable.tsx:243 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"111080f5bcf3361c38811cb746da6649b1263bf153a7d16b121e549a2cf3cb27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx:237 \u00B7 langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx:253 \u00B7 langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx:269 \u00B7 langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx:285 \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":"langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb1d062dbfaadfde861c91244060110e2f73df19888db2514e4d764c58a6507"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetsTable.tsx:207 \u00B7 langfuse/web/src/features/datasets/components/DatasetsTable.tsx:224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1eae65f570bc89f82f612fe4b2a15498aae51c8f4c6c0f9be5e12a8378018c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:670 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:691 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ba644226c37863fa6c3be4be850a73abce306547e8e823103578b1e655c716"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1841 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1883 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce93292d2f5863680c3ea36fa728df593a38558d02d43434c6f0407f125edbc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:1383 \u00B7 langfuse/web/src/features/experience-summary/server/router.ts:560 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02ec68e48faaf10622ad9a3d8d29ae16eebdb26e9446924bf12ac1d507fd151"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): langfuse/web/src/features/evals/components/deactivate-config.tsx:69 \u00B7 langfuse/web/src/features/scores/components/AnnotationForm.tsx:802 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/deactivate-config.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08d8b2d85c5ad746b840255786883fb6d3338ab78371725057b8508b0b92958"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/evals/components/variable-mapping-card.tsx:452 \u00B7 langfuse/web/src/features/evals/components/variable-mapping-card.tsx:581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"452d6aef402a876143b8fe6fdf5512c4f6380617f79043ec9194be49644e5699"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/web/src/features/evals/server/router.ts:395 \u00B7 langfuse/web/src/features/evals/server/router.ts:624 \u00B7 langfuse/web/src/features/evals/server/router.ts:684 \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":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac51569a707e64ef0b1e6e92658702250badc30b85493fbdd83fe6de0b74ebdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/events/components/EventsTable.tsx:1481 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1500 \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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e03bd04365cc3968564a80c59fc57daba81b93ee0595bc5973ee389d9c864ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/experience-summary/server/router.ts:213 \u00B7 langfuse/worker/src/queues/autoExperienceSummaryQueue.ts:339 \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":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"059614b517b248d0ba1f00e759b87bdcbe04690cbbe5b838062732f2a6e88de7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/filters/components/filter-builder.tsx:917 \u00B7 langfuse/web/src/features/filters/components/filter-builder.tsx:939 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f066bf918baffa606dc415cfda9df67cde318361d0a7b28f0e5880c20566acb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/web/src/features/playground/page/context/index.tsx:757 \u00B7 langfuse/web/src/features/playground/page/context/index.tsx:805 \u00B7 langfuse/web/src/features/playground/page/context/index.tsx:865 \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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aff0238967ff4a3b910a3cdfc1c0922ef5edce7535dc14829581155b0dafcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/actions/createPrompt.ts:188 \u00B7 langfuse/web/src/features/prompts/server/actions/updatePrompts.ts:140 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 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":"langfuse/web/src/features/prompts/server/actions/createPrompt.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"439d43bcb36fc985e7e5a8f03cbd73fb10879a4846454afb2394fc9adc90a717"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/routers/promptRouter.ts:1265 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:1319 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f5b72e01f4aaa45553ae62e46f3bdd9d5d74047de39549e9f9aaec8c8500e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx:389 \u00B7 langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx:448 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfd5473fc670259c9cbfbfee245775f6ff7ff2f0a3b1d6e63d5f5c10c54ded9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/RateLimitService.ts:263 \u00B7 langfuse/web/src/features/public-api/server/RateLimitService.ts: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":"langfuse/web/src/features/public-api/server/RateLimitService.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c8aebc907eaba88cbe813913fd6cf9902be780481e3173e519fd14fed3f919"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx:223 \u00B7 langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx:267 \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":"langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"70de277d1c020e390c225896ba29ce39a8a706d9c3cbda15acd932bdcfcf5240"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx:412 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx:477 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7a3a572038c292a3679dceeb8b639a4e32bcdb10400a919b37ef9acf2a31a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/scores/lib/useMergedAnnotationScores.ts:29 \u00B7 langfuse/web/src/features/scores/lib/useMergedScores.ts:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/lib/useMergedAnnotationScores.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bffe6b284486f6f63f484f6ec4252af9023cb8146f73431a691f416a65454aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/slack/server/router.ts:129 \u00B7 langfuse/web/src/features/slack/server/router.ts:183 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/slack/server/router.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ab6da6446952b95ef64bd2a32c54f967689463ce89ffb02d1908883182b70d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): langfuse/web/src/features/table/components/TableActionDialog.tsx:142 \u00B7 langfuse/web/src/features/table/components/TableActionDialog.tsx:166 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 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":"langfuse/web/src/features/table/components/TableActionDialog.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f8a5b10837046be640edd06add88e9c32f9c5bfe12c67698703d04475ca1b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): langfuse/web/src/features/theming/ThemeToggle.tsx:12 \u00B7 langfuse/web/src/features/theming/ThemeToggle.tsx:27 \u00B7 langfuse/web/src/features/theming/ThemeToggle.tsx:42 \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":"langfuse/web/src/features/theming/ThemeToggle.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa26808b3f27b876f3a1538f5c5a49b65f8452a90236001d9ea59f59ed228eb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/widgets/chart-library/PieChart.tsx:17 \u00B7 langfuse/web/src/features/widgets/chart-library/VerticalBarChartTimeSeries.tsx:21 \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":"langfuse/web/src/features/widgets/chart-library/PieChart.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f21e94e8f67f6524f82e790268432d0d1703a4a186a9f9deaf57d7d6daa93f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/features/widgets/components/DashboardGrid.tsx:113 \u00B7 langfuse/web/src/features/widgets/components/DashboardGrid.tsx:146 \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":"langfuse/web/src/features/widgets/components/DashboardGrid.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f854cd0b4920b6159427a086cc399af8c9aa19aa9f27449e217e66bce86f6c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): langfuse/web/src/pages/api/public/datasets/[name]/runs/[runName].ts:20 \u00B7 langfuse/web/src/pages/api/public/datasets/[name]/runs/[runName].ts:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 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":"langfuse/web/src/pages/api/public/datasets/[name]/runs/[runName].ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0073d2f9fad5711efe96ae0e8ef049186851cfdfd1d6028ff43c3a5eaa679cf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/health.ts:95 \u00B7 langfuse/web/src/pages/api/public/ready.ts:19 \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":"langfuse/web/src/pages/api/public/health.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a24924ed9bafe45a53e7f2601a03e2b11bb395efa35eea9600244474e9dfb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/evals/configs/index.tsx:5 \u00B7 langfuse/web/src/pages/project/[projectId]/evals/configs/new.tsx:5 \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":"langfuse/web/src/pages/project/[projectId]/evals/configs/index.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed14ec1dadadce20ee0932d281f834a5fbf8ec4091cd7f98505ea0af81aa552"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx:214 \u00B7 langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx:230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"404c1b6eb0f2a2eea28ae1b0a9294514ffb287a828501f9de40eeffee289e179"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/comments.ts:350 \u00B7 langfuse/web/src/server/api/routers/comments.ts:386 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/comments.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f118a69939e0b36e2f925eaf36ff2d0dd6b45d9fc9cd2eb0ab5aafd13027ed62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/notificationPreferences.ts:26 \u00B7 langfuse/web/src/server/api/routers/notificationPreferences.ts:61 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/notificationPreferences.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"434130cc0cb6e51c21627dbfca19e9f521e4eac985fc36c03c00a56aedb1dcb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/web/src/utils/fill-time-series-gaps.ts:141 \u00B7 langfuse/web/src/utils/fill-time-series-gaps.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5cb339b93b3ecd4305724cefca04c7b042a9a59338b3b3a311b618912f99b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): langfuse/web/src/utils/unicode.ts:78 \u00B7 langfuse/web/src/utils/unicode.ts:121 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 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":"langfuse/web/src/utils/unicode.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"163369fbf24f285803e3e9361d952cc5201debd65d3e1aa78022ef6fcfd0bc59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts:432 \u00B7 langfuse/worker/src/backgroundMigrations/encryptBlobStorageSecrets.ts:139 \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":"langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c012c9830aa47c7a8c79c867ea187b2e81708df2182f8dfcd40d2c802c69d496"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/packages/shared/scripts/seeder/utils/seed-helpers.ts:1 \u00B7 langfuse/packages/shared/scripts/seeder/utils/seed-helpers.ts:18 \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":"langfuse/packages/shared/scripts/seeder/utils/seed-helpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dd185c6a9017196e1263b7d79e9972b42c50e103e466d05e462de3b31fd272"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/packages/shared/src/features/evals/utilities.ts:7 \u00B7 langfuse/worker/src/features/evaluation/evalService.ts:1273 \u00B7 langfuse/worker/src/features/evaluation/observationEval/extractObservationVariables.ts:111 \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":"langfuse/packages/shared/src/features/evals/utilities.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3bf33b37a9ef59779a644a93f8d8b738e0e09a9cbc3c0b2b3cae5613fe1046"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts:9 \u00B7 langfuse/packages/shared/src/utils/IORepresentation/chatML/types.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 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":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"928a561e2e8f1bac15b217d2e9e5f69ab1766577380aba391d52808a933b43e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:367 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:958 \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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"765b2adcb230f6ef1528e1ff32f6d43d25f98d11184dbb1abbd7317a6ee7c7e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1739 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1870 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe22fcc2196fc652aff1251a3a0a20741b7ed01872ce3d8c301d2a780afe002d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:772 \u00B7 langfuse/worker/src/features/database-read-stream/trace-stream.ts: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":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b85339bc7c95b6d985e22c94d6a2d4ff31dcf708a6b1e2717e7798879a7c39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx:126 \u00B7 langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx:143 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"804fbd69351e4e837edf649f61af59952513386a2c64172532804cfa049899b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/ModelParameters/index.tsx:357 \u00B7 langfuse/web/src/components/ModelParameters/index.tsx:406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"addf81868c10483d97d773974475189dd3c3b4c30d1733d53661f1350b6bf002"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/layouts/ResizableDesktopLayout.tsx:58 \u00B7 langfuse/web/src/components/layouts/ResizableDesktopLayout.tsx:85 \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":"langfuse/web/src/components/layouts/ResizableDesktopLayout.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30e4a9ba3f826f990c4cb81c1a56d9929afc0b1ba110df2734cf321332842ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/nav/nav-user.tsx:61 \u00B7 langfuse/web/src/components/nav/nav-user.tsx:84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/nav/nav-user.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aadc9d84e25d554d5d811c9231401d8b480b7414e05da82a66c24cc986f341e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx:710 \u00B7 langfuse/web/src/features/evals/components/inner-evaluator-form.tsx:570 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"08264dbb3cd27d9d13e00f4915c16be883caced5092aea31149f1a5b0376f152"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): langfuse/web/src/components/table/use-cases/models.tsx:385 \u00B7 langfuse/web/src/features/evals/components/eval-log.tsx:269 \u00B7 langfuse/web/src/features/evals/components/evaluator-table.tsx:578 \u00B7 langfuse/web/src/features/rbac/components/MembersTable.tsx:457 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"langfuse/web/src/components/table/use-cases/models.tsx"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0502c09c37c8a6ff20c8bdc9e2b5d7c19d13fbcd0322c89f263cb6aa63581f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/scores.tsx:835 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:781 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:1186 \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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fe1148e24f33fc7e4fb266d14ab409c984e354bbaf11af229c067feac9b579"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/scores.tsx:905 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:1269 \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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"a727193d379c1020ad8579233738c411231ad63d4e2652589a088251efa0e48c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/trace2/ObservationPreview.tsx:345 \u00B7 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgeModel.tsx:50 \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":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7687ed9db449334dc971f2c79c10bb434412379be26c1bae44bd94d8c27254"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/IOPreview/components/SectionMedia.tsx:17 \u00B7 langfuse/web/src/components/ui/MarkdownViewer.tsx:465 \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":"langfuse/web/src/components/trace2/components/IOPreview/components/SectionMedia.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f719fecaeaeeaeb6565748cb85a3d32b1623ebae4810ddb82e3266b653246b9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts:139 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts:232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"70969449f27f1aced8aa96467f95afefb815580a407ee60c6c34edcc8533f2fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionEditor.ts:36 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionEditor.ts:67 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionEditor.ts:108 \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":"langfuse/web/src/components/trace2/components/IOPreview/components/hooks/useCorrectionEditor.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57c8a638e8c2b61c7f19574065af341d254072207888f9b09dcaa69f3bd0468"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx:113 \u00B7 langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx:152 \u00B7 langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx:193 \u00B7 langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx:211 \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":"langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3dda28c2fb9d6f8184599355b68ca6e5b3fd2c5fc827f039e8b5946212841f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceTimeline/TimelineRow.tsx:99 \u00B7 langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx:197 \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":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineRow.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa0cf6b17fda52a507927738fe9e52fb5626f1ba2ddd3418dae994525f3b567"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceTimeline/TimelineScale.tsx:19 \u00B7 langfuse/web/src/components/trace2/components/TraceTimeline/TimelineScale.tsx:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineScale.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c234599c82e19c7ce172d9940adc068799b3bfd5980e2a7fa3a5a6763aaac7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx:192 \u00B7 langfuse/web/src/components/trace2/components/_shared/VirtualizedList.tsx:58 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"293323f126b87d2ae2dc9a7ec75bc78807c777cc8aacba144f65a7295baf62c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/helpers.ts:141 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.ts:184 \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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0780fe64e9258fc37c90747ac9092ea0603f22f2f68079973dfdc431383abb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:675 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:692 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"a802005e73e8e57f37ec7191f8cfc50d201442141ad6b94bee2d8fefc306905b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:819 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:933 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"14490a7423a663cb1342686e7bca166682771a96655f2df676a5d82a932ad5a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewerLayout.ts:66 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewerLayout.ts:93 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewerLayout.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"028282829761d4f38b6b4e1fba9538132dc725acc4c3886482559e4b6df5db5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:427 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:477 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"796edf0e199a5b201206bd1953537f514dd5eaa4ed3823ed782b56f593acf986"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): langfuse/web/src/components/ui/avatar.tsx:11 \u00B7 langfuse/web/src/components/ui/dialog.tsx:146 \u00B7 langfuse/web/src/components/ui/drawer.tsx:168 \u00B7 langfuse/web/src/components/ui/tabs-bar.tsx:23 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/avatar.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7c31a18ee9ab2c57dae4face376bd1629e5fb487d0c7e1eecb01a9590036e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/components/ui/chart.tsx:22 \u00B7 langfuse/web/src/components/ui/sidebar.tsx:36 \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":"langfuse/web/src/components/ui/chart.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e993f9280603eba9d673019899c5a49a71ac70a556db144043834f9f23130b82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts:16 \u00B7 langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts:48 \u00B7 langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts:89 \u00B7 langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts:145 \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":"langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b80cd6d6aee1604e8933fdb9bb5461fc731c036897b63ae3430ef6dac1ab26a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts:95 \u00B7 langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts:151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30ebb9d9f0347c35cc1e02432b0e946c553ab894c0ae6edae55a31fdbdd1b9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts:158 \u00B7 langfuse/web/src/features/llm-schemas/server/router.ts:197 \u00B7 langfuse/web/src/features/llm-tools/server/router.ts:197 \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":"langfuse/web/src/ee/features/billing/server/spendAlertRouter.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b607f2cf60dfd5c436a144376297b48fa8f9c114aff551cba1857b16d4b5a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:868 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:977 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"76475b5bec9ccf890e4b13e906c2c20371e25d944f63373dd44669022d557fe0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx:473 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:766 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:830 \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92f409e627a21a80e3b58848169bdf424561995b9007cdc3eff0be82d871c4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx:189 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:347 \u00B7 langfuse/web/src/features/table/components/TableSelectionManager.tsx:29 \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd45c9c616ec26bf9b769f2f60345c829972bef361adbb1388892e756ae671dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:220 \u00B7 langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:453 \u00B7 langfuse/web/src/server/api/routers/commentReactions.ts:69 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff49bfa94a9121fc6c2a08a4d613881ac68388a6b2c13e6306d7047baac6a7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts:27 \u00B7 langfuse/web/src/features/mixpanel-integration/mixpanel-integration-router.ts:14 \u00B7 langfuse/web/src/features/posthog-integration/posthog-integration-router.ts:15 \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":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b782ab4c54052ab118c2d2a045cec2c28f3c3f12733422f66e29d179ed9d1334"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8 locations): langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts:281 \u00B7 langfuse/web/src/features/llm-schemas/server/router.ts:62 \u00B7 langfuse/web/src/features/llm-schemas/server/router.ts:98 \u00B7 langfuse/web/src/features/llm-tools/server/router.ts:62 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec54f7f4fcd86ae98ab3fc655153784ea7be635d49f43b7b45741b9062931076"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:436 \u00B7 langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:464 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e464f74eab408d1035612926d685240628566b8283983448cc71e1c126add5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/server/dashboard-router.ts:657 \u00B7 langfuse/web/src/features/dashboard/server/dashboard-router.ts:672 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65b59324aeaa9e73f8a9dda6bd9f9d384857e1d19de814598f5dc78b03161b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/dashboard/server/dashboard-router.ts:1003 \u00B7 langfuse/web/src/features/dashboard/server/dashboard-router.ts:1022 \u00B7 langfuse/web/src/features/dashboard/server/dashboard-router.ts:1095 \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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c853ebfd36ae213f667f3a99ec8bd62fe4776688c5720fca546f6c4aa3e8e92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetItemFields.tsx:41 \u00B7 langfuse/web/src/features/datasets/components/EditDatasetItem.tsx:130 \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":"langfuse/web/src/features/datasets/components/DatasetItemFields.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73e29aad12667954f6785926d09eca7a18a3e7ef14789ab4ac637795dce067b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:153 \u00B7 langfuse/web/src/features/datasets/components/DeleteDatasetRunButton.tsx:70 \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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06b486ad1e06307cb785d9831f4ec938f434f4f5eb58bd1ee9667917738d616"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:798 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1195 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf68b2367ef671437955d3fa33ba776ac02a2ba3d21fc95b816d1ce82ae9994"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:1365 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:949 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb47253757bc5c259da5c4633c8f32a0c3ab9b197d0b464d251661c68a2b773"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/evals/components/eval-log.tsx:134 \u00B7 langfuse/web/src/features/evals/components/eval-log.tsx:148 \u00B7 langfuse/web/src/features/evals/components/eval-log.tsx:162 \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":"langfuse/web/src/features/evals/components/eval-log.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9c91a842e15ca8faad735191340e59761e247e637ca209d073e46d96f7cfa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/evals/components/eval-templates-table.tsx:249 \u00B7 langfuse/web/src/features/evals/components/eval-templates-table.tsx:263 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d326c5b3a0ce551c0fb40f636a6e8c549e2c421c3530386a2431b0c86151003a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/evals/components/template-form.tsx:485 \u00B7 langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx:353 \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":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd540392558f77138873b625b4aa00888982b2b8e0a8e5467ffe5dbb708a6fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/evals/server/router.ts:774 \u00B7 langfuse/web/src/features/evals/server/router.ts:1138 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"02349a7f1efd33ccccbc28260de948f1650c7f2ebe58bb8be3a4327ec116dbad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/events/components/EventsTable.tsx:1231 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1280 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb715185f3188cfec09f58fb175d5c91bb51937306a6f05fbf17e0b863ad6a97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/events/components/EventsTable.tsx:1606 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1623 \u00B7 langfuse/web/src/features/events/components/EventsTable.tsx:1640 \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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6d1f2134193bac51c0d925e50a8a0875cd7a49542df83ce2f51269236535f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/events/server/eventsRouter.ts:87 \u00B7 langfuse/web/src/features/events/server/eventsRouter.ts:127 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"858d803b180810866de226bc9eac122d9bc8849273534e5efcbdd4f4b36b8a7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx:243 \u00B7 langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx:258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf398ddaac376fd314642653e55fc353147029002b0f1dc8a98525e8e5c914e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/experience-summary/server/router.ts:457 \u00B7 langfuse/web/src/features/experience-summary/server/router.ts:703 \u00B7 langfuse/web/src/features/experience-summary/server/router.ts:785 \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":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"34940f6d4a391f220276865aa08b2a7c8c2996d085941bf91c1e3dbcd07940df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): langfuse/web/src/features/experience-summary/server/router.ts:569 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:1211 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:1420 \u00B7 langfuse/web/src/features/policy-suggestions/server/router.ts:838 \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":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"3534a74ceeb3901f265893873fd8e9997ae6b4d7abd0d92a41cd6195ac5255db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/llm-api-key/server/router.ts:357 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:1139 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:1335 \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":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f5664ee1bfddadb0f3064af6b70b29ff6873ea1194a68d6d547729e46d4eb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/mcp/features/prompts/tools/getPrompt.ts:53 \u00B7 langfuse/web/src/features/mcp/features/prompts/tools/getPromptUnresolved.ts:59 \u00B7 langfuse/web/src/features/mcp/features/prompts/tools/updatePromptLabels.ts:72 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/getPrompt.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b00d75b4e7edf5ed601f846e9e5a4827e6dc5747b7c51f6aa57ed6776551a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6 locations): langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx:356 \u00B7 langfuse/web/src/features/projects/components/TransferProjectButton.tsx:198 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:654 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:689 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a4b7b3b5d3c264bebe1bfd32637399f4b4e3ddb35ab52ee297050fcd920772"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx:85 \u00B7 langfuse/web/src/features/projects/components/DeleteProjectButton.tsx:79 \u00B7 langfuse/web/src/features/projects/components/TransferProjectButton.tsx:109 \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":"langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"911e68af14116223a6014b8db9c51b4850f487b9894010bba89f6a2ce6a6dff8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/organizations/server/organizationRouter.ts:48 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:188 \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":"langfuse/web/src/features/organizations/server/organizationRouter.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38e87ecb6f24421c6d94e8cf523e912caa9962caf8d25bd5186c1e54446de69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/context/index.tsx:290 \u00B7 langfuse/web/src/features/prompts/components/NewPromptForm/PromptChatMessages.tsx:102 \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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d530a6fd4b136d86d2373291e9385d85d9bb590eac1a1882f7e40ce6da610ab4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:545 \u00B7 langfuse/web/src/features/policy-suggestions/server/router.ts:113 \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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95986367c86bd80ae19d3e5fd6efea9666b5f7f4bf9c483c954d303d7397552"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:1038 \u00B7 langfuse/web/src/features/policy-suggestions/server/router.ts:753 \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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"3277b9c8b0d3e2d5f0ccd261147d89925a3404a5953d91625059ea66921067fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): langfuse/web/src/features/projects/components/NewProjectForm.tsx:30 \u00B7 langfuse/web/src/pages/account/settings/index.tsx:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/components/NewProjectForm.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f595de541db416132e7ca8dbed7f4ad0ce41588e3a812b18f43373aa99f2cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/public-api/server/observations.ts:147 \u00B7 langfuse/web/src/features/public-api/server/scores.ts:275 \u00B7 langfuse/web/src/features/public-api/server/traces.ts:436 \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":"langfuse/web/src/features/public-api/server/observations.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"876289779a62e5e60b22f77b1e1256ed7a32afcbcb7bce553902d3834ce86ff0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/rbac/server/membersRouter.ts:389 \u00B7 langfuse/web/src/features/rbac/server/membersRouter.ts:464 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:651 \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":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaad649c6e3e5547825ffa1037a1701b9624c81d966f3890173d678b53bc002f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/rbac/server/membersRouter.ts:519 \u00B7 langfuse/web/src/server/api/routers/comments.ts:185 \u00B7 langfuse/web/src/server/api/routers/comments.ts:242 \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":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d91932d375bb9fce199c9a427c6f104d16c00148ea05e674f19860a5df56422"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts:64 \u00B7 langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts:143 \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":"langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b832a81585556e56a45cd3e47b2042355bf573471eb4f086ce9654ad308181"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/features/slack/server/router.ts:94 \u00B7 langfuse/web/src/features/slack/server/router.ts:151 \u00B7 langfuse/web/src/features/slack/server/router.ts:210 \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":"langfuse/web/src/features/slack/server/router.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b730d5ed96d823f8b3d6f71f59fd807954a6121ba99951d54cff8b02fdff474b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/organizations/memberships/index.ts:14 \u00B7 langfuse/web/src/pages/api/public/projects/[projectId]/memberships/index.ts:14 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/organizations/memberships/index.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"671e0cfba3256037da852dfc4e1e8f3d88eeeb705deecd4b74ab0fe3d6a5b3b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/projects/[projectId]/apiKeys/[apiKeyId].ts:66 \u00B7 langfuse/web/src/pages/api/public/projects/[projectId]/apiKeys/index.ts:65 \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":"langfuse/web/src/pages/api/public/projects/[projectId]/apiKeys/[apiKeyId].ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e30eb8ca0da85b008f97800b26714284294e1aa99452722f62a433e8e06394c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/score-configs/[configId].ts:56 \u00B7 langfuse/web/src/server/api/routers/scoreConfigs.ts: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":"langfuse/web/src/pages/api/public/score-configs/[configId].ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"41547cb8d196f6be3198f1accd8934a73f54b488358533e7b14c8c73d7c98824"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/traces/index.ts:139 \u00B7 langfuse/web/src/pages/api/public/traces/index.ts:168 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/traces/index.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d261844b922053be60f98126de7b91031b1c7b81d7af13d0b55c3181aba40260"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/users.tsx:426 \u00B7 langfuse/web/src/pages/project/[projectId]/users.tsx:446 \u00B7 langfuse/web/src/pages/project/[projectId]/users.tsx:466 \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":"langfuse/web/src/pages/project/[projectId]/users.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ffc5d55cfed6fb2135eee73e2973522779e17dde4ebdc1c411ff0cb1df3e14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:271 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:339 \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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3f7c4c7d4c1b30351a2d2d5a30a57750fda5882c7f87d045195c413cec3b90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/sessions.ts:542 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:600 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bb578d1cfb04936a6197999dd194ab4ff28062199cbae1af9a661ef1fcd554"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/tableViewPresets.ts:204 \u00B7 langfuse/web/src/server/api/routers/tableViewPresets.ts:248 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/tableViewPresets.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"222d2eb4521cae0d482f0833c88c3d88ecd1fc39a899ed54ba578328642e46b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/worker/src/app.ts:603 \u00B7 langfuse/worker/src/app.ts:622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/app.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c68c02d47701901f66f35d98e7e36e800f80000113582d7cd58f6641199e12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/worker/src/features/batch-data-retention-cleaner/index.ts:127 \u00B7 langfuse/worker/src/features/batch-project-cleaner/index.ts:56 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batch-data-retention-cleaner/index.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9460651b70e1825d6ad80616b236fc3398e36ab570ad02c1705ab1d75de705"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/worker/src/features/database-read-stream/trace-stream.ts:294 \u00B7 langfuse/worker/src/features/database-read-stream/trace-stream.ts:320 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/trace-stream.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa625fda81ea143cfc60232709fcc7a8efa755bfe5198e1ef3451c4fa04ab7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): langfuse/worker/src/features/evaluation/retryObservationNotFound.ts:49 \u00B7 langfuse/worker/src/features/evaluation/retryObservationNotFound.ts:65 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/retryObservationNotFound.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0f5d0f2a2c0ac3e4f46b609698bbe12fd4dc168f8c440904e4d8e77bed5286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): langfuse/worker/src/scripts/upsertLangfuseDashboards.ts:180 \u00B7 langfuse/worker/src/scripts/upsertManagedEvaluators.ts: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":"langfuse/worker/src/scripts/upsertLangfuseDashboards.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1522200280924b19808fcea8cdfa2fb52f39440eeddc17601292fc184d8efc6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/scripts/seeder/load-seed-clickhouse.ts:118 \u00B7 langfuse/packages/shared/scripts/seeder/seed-clickhouse.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/load-seed-clickhouse.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aefb8ea2a4f5648ca4e4e04cf2e6b5157a27bfd39d716fa20e86cde9e7f96a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:233 \u00B7 langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:261 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3a2635612e43facc4e888d0071da9b6245b42260009f547ceb84da30b76c38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/src/db.ts:66 \u00B7 langfuse/packages/shared/src/db.ts:94 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/db.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa79edac180e79dfdebf24185ea770b0de66e7bab4834ea5d64e4fc3eced6cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/src/server/evalJobConfigCache.ts:43 \u00B7 langfuse/packages/shared/src/server/evalJobConfigCache.ts:66 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/evalJobConfigCache.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6798398110a313c7b43ed31e79c6a45d6d66497a6a30b29bbee77fe2e329bf89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1713 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1734 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1866 \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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"4252519a4337daf258c2198367c956658fd30c704df8628d7ecd51cfc5b65122"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:26 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:114 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:440 \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":"langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"91269f14ca64abe2789ebef7927c31cca5312aa93babe7a17d950c81bad4351e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts:690 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts:1387 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"43980c75343709a2aa90a6d25b2cf48d93cd49bfdb0bb59020d0f1e70f9cdef4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:368 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:547 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db464b406aaa7800cda9112a1255dedb9848e28787b03b0509943b1f372cd10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/events.ts:2211 \u00B7 langfuse/packages/shared/src/server/repositories/events.ts:2704 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"794ae582605ea8635617ba04ccc6ad539ae8140fb3cef6e83d9937ea99f0bfe1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/src/server/s3/index.ts:10 \u00B7 langfuse/web/src/features/media/server/getMediaStorageClient.ts:11 \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":"langfuse/packages/shared/src/server/s3/index.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7439ec66fd7f1c1c471498b81895232e7de18743bc29efa8b9d44fb60a0b7da3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/StorageService.ts:244 \u00B7 langfuse/packages/shared/src/server/services/StorageService.ts:782 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2846c61adea9689bbbeb1ca3334da2861f5deb22844635f5b715ae4b3ffc05d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/StorageService.ts:319 \u00B7 langfuse/packages/shared/src/server/services/StorageService.ts:818 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4d2a14ba1f4482aa9ef97d923d28f56681bda0b8c7f162e05cd0ef50be9d1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/email/batchExportSuccess/sendBatchExportSuccessEmail.ts:19 \u00B7 langfuse/packages/shared/src/server/services/email/commentMention/sendCommentMentionEmail.ts:26 \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":"langfuse/packages/shared/src/server/services/email/batchExportSuccess/sendBatchExportSuccessEmail.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"23eecfdcebfc50a8a902b3f5511f2380b6e0ce0e591a85c5b890837acb2d96fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): langfuse/packages/shared/src/server/services/email/cloudSpendAlert/CloudSpendAlertEmailTemplate.tsx:101 \u00B7 langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdSuspensionEmailTemplate.tsx:83 \u00B7 langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdUpcomingEnforcementEmailTemplate.tsx:89 \u00B7 langfuse/packages/shared/src/server/services/email/usageThresholdWarning/UsageThresholdWarningEmailTemplate.tsx:95 \u2014 the 4 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/cloudSpendAlert/CloudSpendAlertEmailTemplate.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c8d7e41626d9676797e299f06e6c6631c625932b0c1e2fe44d4a5a50e69142"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts:480 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts:270 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/pydantic-ai.ts:277 \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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a368d752975b3949a99a7cc7f9e47e0e420e65a780256a43fc6738b5f7cc64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/components/date-picker.tsx:232 \u00B7 langfuse/web/src/components/date-picker.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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c3254be6d761651a87c683bafc27154d4312b917d3a1e7bd0291ee2cf76b9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): langfuse/web/src/components/deleteButton.tsx:190 \u00B7 langfuse/web/src/components/deleteButton.tsx:233 \u00B7 langfuse/web/src/components/deleteButton.tsx:329 \u00B7 langfuse/web/src/components/deleteButton.tsx:386 \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":"langfuse/web/src/components/deleteButton.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"90675da0b85b1dbe3ad1c8f1d3d5c5b45a05403d5d6578f7c32e1e4f933be13d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): langfuse/web/src/components/table/peek/hooks/usePeekNavigation.ts:100 \u00B7 langfuse/web/src/components/table/peek/hooks/usePeekNavigation.ts:121 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/peek/hooks/usePeekNavigation.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ee9a83a1d4e628b8cc759fedbd7290be30a7e5c6d19ccc6f3ce2e64a872085"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSON.tsx:349 \u00B7 langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx:312 \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":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSON.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"369b97a0d2480dcbd94651272dc21820c636dd75275127f1a0b477eee2d884df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx:194 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx:214 \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":"langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e738a72695a9e308f0d869a74c5e8e6777b9557121bca503419b877dd70ec3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/VirtualizedList.tsx:62 \u00B7 langfuse/web/src/components/trace2/components/_shared/VirtualizedTree.tsx:101 \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":"langfuse/web/src/components/trace2/components/_shared/VirtualizedList.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6ccffac5d418997f6e489b854843a35f24bd2b8b1adeb90156b8d9d051f2ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:395 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:421 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"58090cf2e6aff934bec703d5218a40fd61c7a1e513bc0e7ddd5dac6fc92dce8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:753 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:771 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8104184da334b2d47e965b5261116c90605beed2f776b060c0d7f1d9f617ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:846 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:873 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:904 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:989 \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":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cfca8646f5dc2c226b69944df02050668cb3143d623d3f470cadcca5c4ad4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1199 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1224 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1250 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1267 \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":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c9a5e11ef40241abbfcf0b64c14b261273d1610bb10735710c7385d0a46562"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1689 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1809 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4bc8f4b8c825c275991f5f89239473ee6cb2c8f9d263184f70a4ab9396e0ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.clienttest.ts:131 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.clienttest.ts:182 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.clienttest.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8403b259c051a8b68e58342fa1430cc2ca90b8b830ec5908f3ab8d9bcda1a8b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts:55 \u00B7 langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts:142 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d794f673c5a19366feb78f07140900a6caa860a5cd914e843c7b9d8fb27582"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/components/StripeCancellationButton.tsx:60 \u00B7 langfuse/web/src/ee/features/billing/components/StripeCancellationButton.tsx:75 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/StripeCancellationButton.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"94668f3a2960ce010fd37949b103711565856d6422021a57e469cfa60b914023"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1242 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1341 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1457 \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":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f22d69bcb11094eb4e5210aa4ee2c3dcae12419728c5c829e1595552ba535ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts:134 \u00B7 langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts:155 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca96bfaa6dfbb7692e416b538117c340d8aaa2ac9d9586e9a2bc3bec705855d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx:345 \u00B7 langfuse/web/src/features/rbac/components/MembersTable.tsx:165 \u00B7 langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx:144 \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49f76b44f3c91da8c5f27e4edf1564a6801a3ebe981450c01e22dae12ddcfeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts:404 \u00B7 langfuse/web/src/features/llm-schemas/server/router.ts:162 \u00B7 langfuse/web/src/features/llm-tools/server/router.ts:162 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e349e6e854f08874ffc330ad46dcbfa4e8a7c3de95359c6cc459b740773579da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): langfuse/web/src/features/auth-credentials/components/ResetPasswordButton.tsx:33 \u00B7 langfuse/web/src/features/auth-credentials/components/ResetPasswordButton.tsx:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/components/ResetPasswordButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e98f741d6979e2897c6d6fb6d94ef90e108d3889dae715d98b5d6fa9bd5676"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx:134 \u00B7 langfuse/web/src/pages/auth/enterprise-sso-required.tsx:154 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"515d58fdcd2d717e0c26902e4a852419a740518381b8faeb3c7daa9d75921a35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts:91 \u00B7 langfuse/web/src/server/auth.ts:877 \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":"langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c30c26e031cb77f9df9f119ae356f6d841a510bb86ef3e972f499362f641eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/automations/server/githubDispatchHelpers.ts:46 \u00B7 langfuse/web/src/features/automations/server/githubDispatchHelpers.ts:82 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/githubDispatchHelpers.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"397c0705997a5cf3132707db823b3796988f123969f8d9e7d173e681f1e20735"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/UserChart.tsx:53 \u00B7 langfuse/web/src/features/dashboard/components/hooks.ts:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/UserChart.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcb0d34cefa8aa0d96180d2815b8a87d446eef156a14df6a2e402b1dff56ad4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:815 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1681 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1833 \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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f2cdd0ccde9e2ab9ef7a4ff387f9826841c888b36dd4bf637484cb70292db4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:832 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:894 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060createTRPCRouter(\u2026)\u0060 call, so where these calls are a MATRIX of cases \u2014 one per input, differing precisely in the case each one pins \u2014 the repetition is the enumeration and extracting the shared part would delete cases rather than de-duplicate anything."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"12879ddca2812a0d797b8d1d758744ad0e96c9d20d7d8713d7c829fb005b8ab2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/experiments/server/router.ts:181 \u00B7 langfuse/web/src/features/experiments/types.ts:8 \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":"langfuse/web/src/features/experiments/server/router.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5760bb4a710aca4061f110089058522f8b55ce3c13dd499a0f7c6aaa75c99bc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts:197 \u00B7 langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts:243 \u00B7 langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts:368 \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":"langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e168ca3ecaa96072e7cb91d3bc81c16a6fce40b04f33ce7f78cadbb0f4ed58f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/features/llm-api-key/server/router.ts:406 \u00B7 langfuse/web/src/features/llm-schemas/server/router.ts:107 \u00B7 langfuse/web/src/features/llm-tools/server/router.ts:107 \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":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49d667eb9237e2683884363e814ca59d6570f1aec93e9ec96285cf21fff3926"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): langfuse/web/src/features/llm-api-key/types.ts:9 \u00B7 langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-api-key/types.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3a302bd9fecb1d58085f53585f49c41e1a3846040e86282e2bd4d43c235d77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:675 \u00B7 langfuse/web/src/features/policy-suggestions/server/router.ts:409 \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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"91178907c6458ca73c33bc1cd82dbb09c98e4fc5a1f1edfb503a688dc284ce42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:961 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:1262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7ef559700d202303fae8deea1c9cde47de7db9ec263b1778c4df13a9c44ff5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/features/prompts/server/actions/updatePrompts.ts:84 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:630 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:808 \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":"langfuse/web/src/features/prompts/server/actions/updatePrompts.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30ae88b375c7a6bfdd146817202e6f823c6fcb5d980d4781aae0bae1b614088"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/handlers/promptsHandler.ts:16 \u00B7 langfuse/web/src/features/prompts/server/handlers/promptsHandler.ts:40 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptsHandler.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb27e4918fff6f8aa5655853113998338f311669fb6661e7c80c92d5ad56142"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/routers/promptRouter.ts:283 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:592 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b3a2dc33e30b1217a617a1fb83592b8c90990197a3bf87bddb6b4a7ab5930a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/routers/promptRouter.ts:639 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:814 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf822f7a64c674e2bf7e11a9ed021cf650656a69096c0669cc8d510aee41a0dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/public-api/components/ApiKeyList.tsx:196 \u00B7 langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx:32 \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":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d868bfdb29a14523aef2bd90b3697ff18496e918575827bff01098e0e66f60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/public-api/components/ApiKeyList.tsx:226 \u00B7 langfuse/web/src/features/public-api/components/ApiKeyList.tsx:239 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f907d1d84dfef7e75c1c117475827c5b6f54bdd32234a4702454790353d86eb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/rbac/components/MembersTable.tsx:557 \u00B7 langfuse/web/src/features/rbac/components/MembersTable.tsx:628 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12ee1198cc2aa6c9839aed58a1d5a183a0d1f12056232076c58fc43bbc65dc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/features/score-analytics/lib/statistics-utils.ts:20 \u00B7 langfuse/web/src/features/score-analytics/lib/statistics-utils.ts:91 \u00B7 langfuse/web/src/features/score-analytics/lib/statistics-utils.ts:158 \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":"langfuse/web/src/features/score-analytics/lib/statistics-utils.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3dbd2021fba8f8dde77df99a9504dd31075ad2a7c880acb7f975d8ddcc8148"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx:935 \u00B7 langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx:956 \u00B7 langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx:974 \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":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"c346107cec54bea8fd4138f94cd15d52d76e67a565c4a0f5b6cf03b10e1af964"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/features/widgets/components/DashboardWidget.tsx:192 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:920 \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":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f321fb9bad4146482363c2535b3e519e5c2d6ccee9c8572a0323260d370c5d5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/[apiKeyId].ts:23 \u00B7 langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/index.ts:24 \u00B7 langfuse/web/src/pages/api/admin/organizations/[organizationId]/index.ts:18 \u00B7 langfuse/web/src/pages/api/admin/organizations/index.ts:22 \u2014 the 4 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/[apiKeyId].ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5539de2289899ac469af28c94c698eafb567eee40402dbaf94ed6391550230ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/annotation-queues/[queueId]/assignments.ts:18 \u00B7 langfuse/web/src/pages/api/public/annotation-queues/[queueId]/assignments.ts:87 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/annotation-queues/[queueId]/assignments.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b93576351e7f5c5a8762639d8297c950fdbfdb715b09c5b2726ebc630996073"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/[itemId].ts:58 \u00B7 langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/index.ts:85 \u00B7 langfuse/web/src/pages/api/public/score-configs/[configId].ts:48 \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":"langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/[itemId].ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6869369f6b2c298d975e71820ee9645bc75327a53e4b3936ecc97a807d31ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/pages/auth/sign-up.tsx:258 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:298 \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":"langfuse/web/src/pages/auth/sign-up.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f6b520910081b5a91c78730979f8f7d315495f6d7240a20198cdf58e8d69e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx:189 \u00B7 langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx:239 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c237da1fb24c685f4bc170c53ee876dce8d140f8c8e65d1db4cebfa8dbf5abd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/models.ts:442 \u00B7 langfuse/web/src/server/api/routers/models.ts:477 \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":"langfuse/web/src/server/api/routers/models.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7b5f7f906210a0fd50f91ccc01636a18f461b2d2b4ab2083d8ab3f2b9efe75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:1049 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:152 \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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"6452b219af2da5b36cb1451c9e453fe52bc97ec994bcf4a9cba2d33013466bfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/tableViewPresets.ts:136 \u00B7 langfuse/web/src/server/api/routers/tableViewPresets.ts:173 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/tableViewPresets.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"59224e6a334e0dfce0e180cac0c956db916df27aecfd55e81bfcb000bc4114d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/server/api/routers/traces.ts:554 \u00B7 langfuse/web/src/server/api/routers/traces.ts:614 \u00B7 langfuse/web/src/server/api/routers/traces.ts:673 \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":"langfuse/web/src/server/api/routers/traces.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2a5c37f07aeff0b57f84c7be7165b8fd5d0bad22bbc2c056b369591e1dfaf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/web/src/server/api/routers/traces.ts:602 \u00B7 langfuse/web/src/server/api/routers/traces.ts:661 \u00B7 langfuse/web/src/server/api/routers/traces.ts:707 \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":"langfuse/web/src/server/api/routers/traces.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"6512f9b48548a9f41e919de19659fd12f2fdf4d8f392a7612421cf52e9b2f3ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/worker/src/app.ts:119 \u00B7 langfuse/worker/src/app.ts:287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/app.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"41161dc407fdeb4c286641a3cae04f3efbf0c75001cfce16ac8ee64c333025aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts:172 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:54 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92193d6c58beba7443d3f5cc7f064fe7310316bc1e4a7bcc8951c0a5bd4702e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backgroundMigrationManager.ts:108 \u00B7 langfuse/worker/src/backgroundMigrations/backgroundMigrationManager.ts:145 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backgroundMigrationManager.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"338ec620c0cd26723e1ea21403936fb6e433e698a6be9356c7462d169968bc75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/patchLLMToolAndLLLMSchemaAuditLogs.ts:59 \u00B7 langfuse/worker/src/backgroundMigrations/patchLLMToolAndLLLMSchemaAuditLogs.ts:73 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/patchLLMToolAndLLLMSchemaAuditLogs.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"793bc9c4bde9a3d5404fff2617aee9c0a3192116523861a79aae64db818a8350"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/worker/src/ee/usageThresholds/usageAggregation.ts:90 \u00B7 langfuse/worker/src/ee/usageThresholds/usageAggregation.ts:106 \u00B7 langfuse/worker/src/ee/usageThresholds/usageAggregation.ts:122 \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":"langfuse/worker/src/ee/usageThresholds/usageAggregation.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8021adabd53d25e14913e3cdee88a14d66d777515c017eb5370a6d85ec7545"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/worker/src/features/database-read-stream/event-stream.ts:142 \u00B7 langfuse/worker/src/features/database-read-stream/event-stream.ts:406 \u00B7 langfuse/worker/src/features/database-read-stream/event-stream.ts:544 \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":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf50e4b0eac59165cf176150c5aeebbbcf17c7fdda7dacbd1279c0193725f00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): langfuse/worker/src/features/traces/processClickhouseTraceDelete.ts:16 \u00B7 langfuse/worker/src/queues/coreDataS3ExportQueue.ts:10 \u00B7 langfuse/worker/src/queues/projectDelete.ts:20 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/traces/processClickhouseTraceDelete.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27f6472821b28de12fc0bcd395a3b24a57e64cf86bb1455fabed9525a2af119"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:103 \u00B7 langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9340e17b74ff56ce04fb471b111bfa54038d1c3b06b9ad613e2d48d826887856"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): langfuse/worker/src/utils/clickhouseReadSkipCache.ts:69 \u00B7 langfuse/worker/src/utils/clickhouseReadSkipCache.ts:138 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"langfuse/worker/src/utils/clickhouseReadSkipCache.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d169e8a986723d9278757780c10bd4acb8abb5f4ea592c691b96ef59e6719ccb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts:53 \u00B7 langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts:83 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69bc5bf6bda6769d7945d988cafaeb4e8db0ff2f1f673c079b6655bc7802531"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:910 \u00B7 langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:928 \u00B7 langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:946 \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":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39f3105219280caf799abafbebb289e2ae3d6fdf57028a95c160f8351e98fb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/env.ts:43 \u00B7 langfuse/web/src/env.mjs:257 \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":"langfuse/packages/shared/src/env.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd07246c9084cb707c072dab6862169722382f04a7ad2fb5527eae6c587375bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/server/otel/ObservationTypeMapper.ts:106 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:639 \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":"langfuse/packages/shared/src/server/otel/ObservationTypeMapper.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04e35a54de06f01d17283df69a8fc91fe95b781895bf2686ca6ec305b738cc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/dataset-items.ts:1481 \u00B7 langfuse/packages/shared/src/server/repositories/dataset-items.ts:1579 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"71493d3e68f470cb3769ca1b3a9fff681364a404d201c7b6abc15baca5824a88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:285 \u00B7 langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:774 \u00B7 langfuse/worker/src/features/database-read-stream/trace-stream.ts:96 \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":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c63c9b65a797de9f637f97a15b287b4d925d18e3d6ca748923b1a9c62cb546"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/observations.ts:1721 \u00B7 langfuse/packages/shared/src/server/repositories/scores.ts:1712 \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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a76becca6215f4373f5587e296e6edfdebfeb43b73aff73a6d32050cadefe1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/InMemoryFilterService.ts:313 \u00B7 langfuse/packages/shared/src/server/services/InMemoryFilterService.ts:329 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/InMemoryFilterService.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cfe4f332f9baeedb12bc1993a51d5e7b081b4c016b2e920fd7140eb22270c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/SlackService.ts:136 \u00B7 langfuse/packages/shared/src/server/services/SlackService.ts:186 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/SlackService.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"954242df04d05d08a3e5a2cf0303c44450350d426e1a4298ec64ae485598a954"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/email/batchExportSuccess/BatchExportSuccessEmailTemplate.tsx:62 \u00B7 langfuse/packages/shared/src/server/services/email/commentMention/CommentMentionEmailTemplate.tsx:92 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/batchExportSuccess/BatchExportSuccessEmailTemplate.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d9b80a637805ca38dc62d4f541f06a5a41801fbd0f32cf3788b0633e580ce3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/packages/shared/src/tableDefinitions/datasetRunItemsTable.ts:29 \u00B7 langfuse/packages/shared/src/tableDefinitions/datasetRunsTable.ts:64 \u00B7 langfuse/packages/shared/src/tableDefinitions/promptsTable.ts:71 \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":"langfuse/packages/shared/src/tableDefinitions/datasetRunItemsTable.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ab5a6b80f9c6142dcb54eae0b4626edc6e823c2697eaff45932f96469e131b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts:434 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts:239 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/openai.ts:355 \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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"da799ea0c47084a97d366c1aae1362060642b202871688ad389c23b8584ab508"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts:338 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts:355 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e63792798fe9088bf17ac9e66c695fd88208d00a320f91f072702eaa0eb547c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:192 \u00B7 langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:207 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d99c22ea258982826c1ea19a77026b5f084687efce76df7142ded67f07106a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:347 \u00B7 langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:386 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"188280514adc71a1991038ddf569d8496de1bb9af5f06bf11f399efa838b7955"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/table/data-table-ai-filters.tsx:35 \u00B7 langfuse/web/src/features/filters/components/filter-builder.tsx:468 \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":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd154a32958530a86ee2f46916f9615fc467044e525c5fcd3203a833d5eb42c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/table/data-table-column-visibility-filter.tsx:117 \u00B7 langfuse/web/src/components/table/data-table-column-visibility-filter.tsx:222 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-column-visibility-filter.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0d3d60add9460a3f4207c1f70928df6e79c0734025e7d1ee671720ae8e0f8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/table/data-table-pagination.tsx:183 \u00B7 langfuse/web/src/components/table/data-table-pagination.tsx:200 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-pagination.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45cf20cd3b19ca46ce53477f65b95cef613006a0fe983e0c74e5b575c097eb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/table/data-table-pagination.tsx:216 \u00B7 langfuse/web/src/components/table/data-table-pagination.tsx:233 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-pagination.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dd2740cb4b1d3fd4840bcc407ca10ad9c3f13586da7f76130de60db8ea6d7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx:920 \u00B7 langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx:174 \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":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6a957a9b90bd96512d9615267fc37b0f6f2c15792019fcd9157d092be00eb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/observations.tsx:1184 \u00B7 langfuse/web/src/components/table/use-cases/observations.tsx:1236 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"51014315b36aab9ed8e7b67c0f39ccffaace8c6ae9d617dd9eabfdda9e30d7fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/IOPreview/components/ToolCallDefinitionCard.tsx:74 \u00B7 langfuse/web/src/components/trace2/components/ToolCallInvocationsView.tsx:51 \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":"langfuse/web/src/components/trace2/components/IOPreview/components/ToolCallDefinitionCard.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9b7df2e02b047c9331bf501d0d0867b72c719b43ad9cbe9a53dd95ea260ae6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts:35 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts:221 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e17c81a1913a9c0580bf32382fa9ea8dc12ee34e163c259d3b335faed220e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts:92 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts: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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f9398a6098279ac4534df3029ef1180b7074009813e1ee22c6b5a22b27f9cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts:168 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts:216 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f30f6cd4fc4277fa3fefc802b58ec7919ad234e24fcf76db496db3a7ed13c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts:206 \u00B7 langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts:227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"613f3f49b9b2739865eeec097a8f5991f77a22e080048ad0392e767e7b17a4b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx:210 \u00B7 langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx:237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fec8df57b15f04c8f09dec33ed0c833aa281c57403457312167a4fba2af16e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:776 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:801 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:826 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:843 \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":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bd4607bdf7a4811d9d1162fc0bdaaecb1fc0abfe655c40bed618e60e83bff6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:524 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:544 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1f3781755c964b4f7c55625d4604a108cc3f7f792746718c9df5309698ee43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1957 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:2088 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e14d6b5d2a236d24f136695b524df1fae2e1582de161bfc97e267eb3e6563fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx:88 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/MultiSectionJsonViewer.tsx:152 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac99605e20d3e14171c026be51fa065f09c47e57cbc362b34406bcbc3ea5e447"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx:97 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:204 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6053b509ad734d1d7595f74398de358533bbe302729def0c4e9d7835c64754fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:340 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:408 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:441 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"214b5f7cb33c3cdc47b6cdb2517025709463379890af318c9bd04f52c089cee1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx:122 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.tsx:73 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca2dbb0d421649b8d980172790387502cdbd49f6542774893b6fc313e66ecc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:206 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:264 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:320 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"662793732f4e396cbbaaec5bcbdad61c05032f941571973108de0bcf2d81182e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/ui/CodeJsonViewer.tsx:56 \u00B7 langfuse/web/src/components/ui/PrettyJsonView.tsx:1141 \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":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1091ccf192860e391e2ba97cac89510563db359cf0a2e4bca9752d822a2d94d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/components/ui/select.tsx:42 \u00B7 langfuse/web/src/components/ui/select.tsx:59 \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":"langfuse/web/src/components/ui/select.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"359c37b31eccfa5d6181e461b31e14c42d01edcc16070f737dddbf6f3404a696"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/components/StripeCancellationButton.tsx:29 \u00B7 langfuse/web/src/ee/features/billing/components/StripeCancellationButton.tsx:43 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/StripeCancellationButton.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"345af6438b9064eaab6ef9ebbdbd89004ad7e7876ed5953da806b67bc05c298a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:115 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:146 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:179 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:207 \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":"langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c833d24291ed3b3e514877a79897bb272a449b8e1b10fb10be554eb2f8a63063"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1204 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0184600ef0dda926b74448f8f0fb4a7853013e58b2e79b400c1543a844fdeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/ee/features/multi-tenant-sso/utils.ts:212 \u00B7 langfuse/web/src/ee/features/multi-tenant-sso/utils.ts:230 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/multi-tenant-sso/utils.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf91267d9794aecf6e82f8ec5231ee6b8b63aacb6a7aa8dea786642561f9350"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx:424 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:722 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:787 \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20f581fdd3c9a33bf875c9faada49a6ea5aa9ecb02e5a490863b1045a3390aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx:180 \u00B7 langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx:270 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:538 \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabbf1e5f18ca62d792e40304503d2983eb888aa667ec020fd1d213069cb0268"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/server/annotationQueueAssignmentsRouter.ts:25 \u00B7 langfuse/web/src/features/annotation-queues/server/annotationQueueAssignmentsRouter.ts:102 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueueAssignmentsRouter.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfb403976c9e8e81d7ab171132849c1a6b97908b4e2393e5b7b2d99b40b0e6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/automations/components/actions/GitHubDispatchActionForm.tsx:62 \u00B7 langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx:124 \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":"langfuse/web/src/features/automations/components/actions/GitHubDispatchActionForm.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b051064dbec26cdff165537bc5522382b28812939c724a762bd5a87420694f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7 locations): langfuse/web/src/features/automations/server/router.ts:241 \u00B7 langfuse/web/src/features/automations/server/router.ts:355 \u00B7 langfuse/web/src/features/evals/server/router.ts:707 \u00B7 langfuse/web/src/server/api/routers/dashboardWidgets.ts:95 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/router.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6792ecbb58003bb50436034d97a481337fa2a1a663bb7b01b81bab9b6a5324c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetChoiceStep.tsx:8 \u00B7 langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetChoiceStep.tsx:22 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetChoiceStep.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be86256bb7dc30ef92c2a6d448bbc6f002c6cd7b9a1bd0ef43424ecc79fe5c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetItemVersionedContent.tsx:29 \u00B7 langfuse/web/src/features/datasets/components/DatasetItemViewModeContent.tsx:19 \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":"langfuse/web/src/features/datasets/components/DatasetItemVersionedContent.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"04794b377c2b84b696c492826d47970d9bc8abe00d1bdf9b0acbdf3e440e3428"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1327 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:664 \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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1469d002574f02f5a706c5e06b66fedb694bf7c45c1e3a85cbc75c438b1abc18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:869 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:527 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"7750932bc4113f4b3f0be7f401cba3776444135640d432e2a405c51ab8350197"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/evals/components/inner-evaluator-form.tsx:765 \u00B7 langfuse/web/src/features/evals/components/inner-evaluator-form.tsx:786 \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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25849abf797bc44517ca8c7c106db590bd65503d1ffe24ef30e0831664eb3ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): langfuse/web/src/features/evals/utils/variable-mapping-validation.ts:77 \u00B7 langfuse/web/src/features/evals/utils/variable-mapping-validation.ts:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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":"langfuse/web/src/features/evals/utils/variable-mapping-validation.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"955efcd5401964bc56d66a623c4baee3509efd65a6919dea226487090e4758ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): langfuse/web/src/features/experience-summary/server/router.ts:388 \u00B7 langfuse/web/src/features/experience-summary/server/router.ts:462 \u00B7 langfuse/web/src/features/experience-summary/server/router.ts:707 \u00B7 langfuse/web/src/features/experience-summary/server/router.ts:789 \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":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa099a6592bbfc4a564b46c9a44344792250e8dc81099c252f1b25d784f234d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx:46 \u00B7 langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx:66 \u00B7 langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx:106 \u00B7 langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx:151 \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":"langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de378b4312f17b44fc149d81bc75c37dc2901b270a6051c0c398c558f9da8ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx:63 \u00B7 langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx:103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"da937a6244f838cec56e6d65d20a703845c67e7cb63de4aec46ccac6d4d87394"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/feedback/server/corsMiddleware.ts:13 \u00B7 langfuse/web/src/features/public-api/server/cors.ts:6 \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":"langfuse/web/src/features/feedback/server/corsMiddleware.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f402a41d9d1957983c7f01ee8d20557a83ee42355961aa5bb77cd1acc5c81fd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/filters/components/multi-select.tsx:149 \u00B7 langfuse/web/src/features/scores/components/multi-select-key-values.tsx:186 \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":"langfuse/web/src/features/filters/components/multi-select.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c2259a02ba3870eaffc0f23fa049774b7901d3465dcefbf4c377fed5c28af8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): langfuse/web/src/features/filters/components/multi-select.tsx:106 \u00B7 langfuse/web/src/features/filters/components/multi-select.tsx:288 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"langfuse/web/src/features/filters/components/multi-select.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6144ea90b0ab2d0253c1d24d6ed1fcdbe40800390887b4dc14a122e05cee45c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx:1078 \u00B7 langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx:1252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f395cf5d80f4a0aa33b4e7a2953195d3d695de5695e420ccc58c05528b5a59c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/llm-tools/server/router.ts:114 \u00B7 langfuse/web/src/features/llm-tools/server/router.ts:190 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-tools/server/router.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5726cb2b19e6c254d319fe7661ef383a0715e36d890323c9bca9f14e0af0c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/onboarding/components/SurveyStep.tsx:124 \u00B7 langfuse/web/src/features/onboarding/components/SurveyStep.tsx:167 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/components/SurveyStep.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"57329793427a4d3afbbeda390820b399ccaedd6470cde5d689adb9d427d62318"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:1400 \u00B7 langfuse/web/src/features/policy-suggestions/server/router.ts:817 \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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"00197c750c7fee08af9a8852c71fdd9cd20b9742007bc394e6170539646a41f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/prompts/components/delete-prompt.tsx:28 \u00B7 langfuse/web/src/features/widgets/components/WidgetTable.tsx:68 \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":"langfuse/web/src/features/prompts/components/delete-prompt.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a815cc6da9c5d1fb6d46b8bfef920d0989adbb123457658062f71a2147789a8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesNumericChart.tsx:163 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesNumericChart.tsx:176 \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesNumericChart.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6180d6db2cb8d902a27fdbe8e398b9f7f70dcd3b9b115a0bf93fc3ff41dd52c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts:456 \u00B7 langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts:483 \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":"langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1738bf4e07839aaaf7b95509c5a7ee790ba57d65f36b8592958ef4c5127c9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx:112 \u00B7 langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx:127 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaee73037ee35b7ec059abb735210656a8daf154ddf87cf07788ae8084646a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/scores/lib/mergeScoresWithCache.ts:30 \u00B7 langfuse/web/src/features/scores/lib/mergeScoresWithCache.ts: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":"langfuse/web/src/features/scores/lib/mergeScoresWithCache.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f664a14f00ae3b6015df971b0421573c55f0a4ed635f64017e18b7c6cf82c4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/support-chat/trpc/plainRouter.ts:111 \u00B7 langfuse/web/src/features/support-chat/trpc/plainRouter.ts:146 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/trpc/plainRouter.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c97cae6d25b8b498f20084542880ff10dc442654556c6c9485f8448f7f552ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts:1645 \u00B7 langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts:1661 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f3027858e49d8c2e1fbf57d8419bc81033f883be39a018beb7b372c2182f82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx:123 \u00B7 langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx:136 \u00B7 langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx:149 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"92de54100795bd4aa939fc87ec602eba93f17af6eeec7bcf5cc4f1914d046781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/widgets/components/DashboardWidget.tsx:350 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:1801 \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":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d91baa0b24c2e0d7dcefc49eda776a7385cc33e102bb682089839c32c1c9f05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/features/widgets/components/WidgetForm.tsx:1645 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:1660 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b146b0f3e2ee7b07a39193ecc40cc36b96b114d6cbdbc4808c67958de9a074"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/pages/api/admin/bullmq/index.ts:104 \u00B7 langfuse/web/src/pages/api/admin/bullmq/index.ts:155 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cea82fd448195ae10f23377ad1e7f727eed1ace7066c7ed96cf71e406b7cff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): langfuse/web/src/pages/api/public/annotation-queues/[queueId].ts:12 \u00B7 langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/[itemId].ts:17 \u00B7 langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/[itemId].ts:118 \u00B7 langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/index.ts:15 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/annotation-queues/[queueId].ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49ee8624d98bdd57800c27d3eb9483254b7f9ca56d16d4de0705d9f8233124e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/ingestion.ts:146 \u00B7 langfuse/web/src/pages/api/public/prompts.ts:106 \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":"langfuse/web/src/pages/api/public/ingestion.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3aef44bb532ecea44dc03523ba1d21a49c2755de58ade7b36ad20e4b0a9720d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): langfuse/web/src/pages/api/public/media/[mediaId].ts:24 \u00B7 langfuse/web/src/pages/api/public/media/[mediaId].ts:78 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/media/[mediaId].ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dc37d001cf68eef37c6aa67e4a69a1ef9b1bce5b94fc330e6903c41bb6f234"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/web/src/pages/api/public/models/[modelId]/index.ts:71 \u00B7 langfuse/web/src/pages/api/public/score-configs/[configId].ts:24 \u00B7 langfuse/web/src/pages/api/public/score-configs/[configId].ts:52 \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":"langfuse/web/src/pages/api/public/models/[modelId]/index.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"370060eea00c4eac242e780095b52e4827c752ad65b0b2c627047b6feac1a7f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): langfuse/web/src/pages/auth/sign-in.tsx:242 \u00B7 langfuse/web/src/pages/auth/sign-in.tsx:264 \u00B7 langfuse/web/src/pages/auth/sign-in.tsx:286 \u00B7 langfuse/web/src/pages/auth/sign-in.tsx:308 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78e1de3d54d41ac6feaad0f0e2faa4a7440f1eb411472f218b9faeed0aa5860"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/evals/configs/[configId].tsx:38 \u00B7 langfuse/web/src/pages/project/[projectId]/evals/configs/index.tsx:15 \u00B7 langfuse/web/src/pages/project/[projectId]/evals/configs/new.tsx:15 \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":"langfuse/web/src/pages/project/[projectId]/evals/configs/[configId].tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a5287f645067f987d8e5abdc4a9215bf4be0c43d01c436d4d8ea7048ae0b67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/experience/index.tsx:528 \u00B7 langfuse/web/src/pages/project/[projectId]/experience/index.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a52ac0d5f324bb2b5df7ee8999912222b073f748c30ed7d813e8e3b63aaf872"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:58 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:54 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:51 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec13cf3cc881ab61729bae421caec3e0256f3e9f772b54861aaba6f26111212b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/traces.tsx:18 \u00B7 langfuse/web/src/pages/project/[projectId]/users.tsx:48 \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":"langfuse/web/src/pages/project/[projectId]/traces.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8c6e185952c7c20f731af80f22c5ccf37c0aa8ceb96fb34746122f53473e02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/dashboardWidgets.ts:23 \u00B7 langfuse/web/src/server/api/routers/dashboardWidgets.ts:37 \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":"langfuse/web/src/server/api/routers/dashboardWidgets.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f50f9054c84ed0cdbc8dfb86c924abc24ee84d67d76fe9e6879f8dace992c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/web/src/server/api/routers/dashboardWidgets.ts:209 \u00B7 langfuse/web/src/server/api/routers/traces.ts:553 \u00B7 langfuse/web/src/server/api/routers/traces.ts:613 \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":"langfuse/web/src/server/api/routers/dashboardWidgets.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d014614d7a45625a17045f79e11f57fd8623d04512bf7e794ecbdf65641836f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:337 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:557 \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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6483a26e682373d55c54ccbe671920967f5bdc73e526f2a53d165bd1a03f87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/sessions.ts:148 \u00B7 langfuse/web/src/server/api/routers/users.ts:30 \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":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"995e1abb00fe3a3c16ae01cf7407a399fa1ad10083e2a761f306c4d3eff4ffc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/sessions.ts:517 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:586 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fc2f258549081ccf87cbc04674c4014ea025945d5c0902f3b9aa74e049c8ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/sessions.ts:648 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:701 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0032c82208ba6ba5a3563970a05eb1d09c92e61f4c2bb4009d3d86cddd8cb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:791 \u00B7 langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts:550 \u00B7 langfuse/worker/src/backgroundMigrations/migrateEventLogToBlobStorageRefTable.ts:158 \u00B7 langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts:159 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3d41f2c2636e56e6b03dd3b7df1e86118233d14b095f762b139e00587465dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts:188 \u00B7 langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts:262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c32ee7dce4cd33c884604397450ca028e5c9c3bb82384f79b076e9cec3e3ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/worker/src/env.ts:324 \u00B7 langfuse/worker/src/env.ts:376 \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":"langfuse/worker/src/env.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0ec0a1f51452d43d8855d234dea196f071ddc0047daf7893585edc69b95ed0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts:266 \u00B7 langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts:178 \u00B7 langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts:226 \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":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdb8f3f9c3cc10cdbef3b990f76c0bb604e22fb0112ebe7b83e55b54bbe011d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts:367 \u00B7 langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts:679 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e978435ca64b5e802793870601aa00385ebfb4fd090086cf21e3b700e54eefa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/worker/src/features/posthog/transformers.ts:84 \u00B7 langfuse/worker/src/features/posthog/transformers.ts:118 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/posthog/transformers.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d390535ae83395606dd7216e292b15436bbf0a9d6cbfda4760c914b94b9dae52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/worker/src/features/tokenisation/worker-thread.js:8 \u00B7 langfuse/worker/src/features/tokenisation/worker-thread.ts:8 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/tokenisation/worker-thread.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"005491de16761c38c6b3b79cc97e84c6fb5c824ab31085a7c31bcee7762702d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/worker/src/queues/evalQueue.ts:23 \u00B7 langfuse/worker/src/queues/evalQueue.ts:42 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/evalQueue.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"493e600425dc59ec245cc2d8e718235596e2cb8141699875824ef7d38979aed5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:537 \u00B7 langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:649 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"175fa544581274be4ffeff3b8c916993f03bfffb2c11c516ac7f97cfd1194056"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): langfuse/packages/shared/src/features/evals/observationForEval.ts:322 \u00B7 langfuse/packages/shared/src/observationsTable.ts:336 \u00B7 langfuse/packages/shared/src/tableDefinitions/sessionsView.ts:146 \u00B7 langfuse/packages/shared/src/tableDefinitions/tracesTable.ts:252 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/evals/observationForEval.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"444bfeb0aac30f311f296de9dbb22acb9ffe6f1974db6aabeb9d4f1782268206"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/packages/shared/src/features/scores/interfaces/api/v1/validation.ts:12 \u00B7 langfuse/packages/shared/src/features/scores/interfaces/api/v2/validation.ts:10 \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":"langfuse/packages/shared/src/features/scores/interfaces/api/v1/validation.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60a1f73593336fb65173debad7f9ef44f175ab902ac71b65258a735d9d4734c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/packages/shared/src/server/datasets/schemaValidation.ts:78 \u00B7 langfuse/packages/shared/src/server/datasets/schemaValidation.ts:91 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/datasets/schemaValidation.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"02556ca4ce74baa8740f88710f286459ed387e8bedbf4e094ee39aa71a3555e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/packages/shared/src/server/ingestion/types.ts:289 \u00B7 langfuse/packages/shared/src/server/ingestion/types.ts:327 \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":"langfuse/packages/shared/src/server/ingestion/types.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c318411854a19160cc8eaccf1bb988887a413dd8492c9ce59c83ea19ccc617"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1329 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1347 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"5496e49a65282be5f89959786ee5d91a1a0b5978256b1fc2a5c9a0cf62b5fcd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:2208 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:2222 \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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0d6406bfad9490a915ebb0c74b341bf51105e7a577d1366e8d230f610a2dd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/packages/shared/src/server/queries/public-api-filter-builder.ts:256 \u00B7 langfuse/packages/shared/src/server/queries/public-api-filter-builder.ts:267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/public-api-filter-builder.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1bbc98060e1e8b790378582f411494c7d084c4383eaaf6cde81e69ddd39b0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/packages/shared/src/server/repositories/events.ts:3089 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1541 \u00B7 langfuse/packages/shared/src/server/repositories/observations.ts:1585 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"681dac7d8ee1fdea0b5dc56c1567bce776b1384954c927fbcfeaef4259d7f925"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/DefaultViewService/DefaultViewService.ts:71 \u00B7 langfuse/packages/shared/src/server/services/DefaultViewService/DefaultViewService.ts:115 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/DefaultViewService/DefaultViewService.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e452a56e523469b51628378655d0b57cf2bb7b15ebb7bb0d7d7ab1b75eb8cf2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts:344 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/generic.ts:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a08d8c2c4d83c5fbd98e60865399603213870cf4424684fbbb7208bd61aea8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts:258 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts:285 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5f35ddd97c2d9f0030664ba4862eeb1596e5548794b8253e283e5d34d0f7c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/layouts/app-layout/hooks/useAuthGuard.ts:50 \u00B7 langfuse/web/src/components/layouts/app-layout/utils/pathClassification.ts:56 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/app-layout/hooks/useAuthGuard.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"784ed51ed715e594b39395b4d324789bef19e5881890949899925ab417751e43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/layouts/breadcrumb.tsx:122 \u00B7 langfuse/web/src/features/organizations/components/ProjectOverview.tsx:314 \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":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d81a5c69eb9b6d5a763679739863f6fe2ff75da994715a3094c858b4a22384"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/traces.tsx:975 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:989 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:1003 \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":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"8166100c2777fb9cd5f6e538fbbabf509369c9ae9a6157d00a71315c829fa3f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts:75 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts:101 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts:164 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts:194 \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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca93cc3c9f3c822ed2a01ed39042d07d8f9dba2f58e3386c01cd3b17a1af5528"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts:58 \u00B7 langfuse/web/src/pages/project/[projectId]/experience/index.tsx:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"88885d601d342517a67c5cdf9c70421e189148e91cc49c9d512302142bb6a926"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx:131 \u00B7 langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx:170 \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":"langfuse/web/src/components/trace2/components/TraceSettingsDropdown.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9347fb7092f39b4a7ddff33da0411eb0898882f67f7fea16047630a57895f553"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts:28 \u00B7 langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts:42 \u00B7 langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts:72 \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":"langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6419f0eea83aa7434c984d44a7263e953c482fef2038b89a2bc98e6fd3b3b6b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/BreakdownToolTip.tsx:26 \u00B7 langfuse/web/src/components/trace2/components/_shared/BreakdownToolTip.tsx:77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/BreakdownToolTip.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c721e6b1d66f6db1ea1384e7423676cdd9d028b1b116e3eeb20adc2af4dd41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:277 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:563 \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":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c486ba4632c658d4a680b34eea1b333c0dd73660c6e5586107f1fb9c50a3a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1330 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1350 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b7ba000291c3a024783577ac736e9a090266dd4068b75699cb43558e599a53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1714 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1732 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1853 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1895 \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":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f8c7d2fe505d35c780de1072e1352cdc105e328140eb857eb726be3c3eb980"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1984 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:2100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c29782e90720c6151ae913873b02cf7e91d3f46b21f3b5affe06abcef3b39f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleJsonViewer.tsx:117 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleJsonViewer.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"790c7ee866667ccbf0d0ad29749fe85495865fc998c08365ca8dfecb6919c7ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx:127 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:148 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c6312f07e7ee9f1c6416020b8dfaf8559e69cb5017b9c64512fb86b2a24d87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx:180 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:385 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:406 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:439 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7361c08fc82b800cfc6f365474e4189d1bda388467956b3207b9e7d79086c39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/components/ui/dropdown-menu.tsx:87 \u00B7 langfuse/web/src/components/ui/dropdown-menu.tsx:152 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/dropdown-menu.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7be99ad1a8cdc27e881a51a53cdd409ed6824b0c99009fdb3a23b738f4105e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/sidebar.tsx:104 \u00B7 langfuse/web/src/features/comments/CommentList.tsx:273 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/sidebar.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ead12021cf0fd0b059a190e55e64f8a57ff25f3c4c5dece8c261844156a38d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/memberships.ts:7 \u00B7 langfuse/web/src/ee/features/admin-api/server/projects/projectById/memberships/index.ts:7 \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":"langfuse/web/src/ee/features/admin-api/server/memberships.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca31d964ff0d3542c12e16b69ebd0b046f11b7284129695083a3d707db6b5a0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/apiKeyById.ts:10 \u00B7 langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/apiKeyById.ts:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/apiKeyById.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d8fc9d36fa6265abf732f97e5577ed5052f6b318d142b1d11c1a5faea59d24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts:131 \u00B7 langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts: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. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060createTRPCRouter(\u2026)\u0060 call, so where these calls are a MATRIX of cases \u2014 one per input, differing precisely in the case each one pins \u2014 the repetition is the enumeration and extracting the shared part would delete cases rather than de-duplicate anything."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/cloudBillingRouter.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb837d0c9054643b57cf937a0197a694cb9a83905e5531828b3d648290fdbc18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:312 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1772 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9588d3d5e6634c746acc1d61377a4843cf7ff8efe0421ca314c10208e2fe802b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/env.mjs:359 \u00B7 langfuse/worker/src/env.ts:399 \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":"langfuse/web/src/env.mjs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a002dca54a4a5ebf96586922632770f3b2c9e57cae19fa8cda2c89736109b295"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 24 locations): langfuse/web/src/features/annotation-queues/server/annotationQueueAssignmentsRouter.ts:98 \u00B7 langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts:86 \u00B7 langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts:346 \u00B7 langfuse/web/src/features/automations/server/router.ts:51 \u00B7 \u002B20 more site(s) not listed \u2014 the 24 copies are spread across 14 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":"langfuse/web/src/features/annotation-queues/server/annotationQueueAssignmentsRouter.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6240d9545a096b96038529a03b692f5736f1a8c9f4f01ae1f2a2b61601e7b182"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 23 locations): langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts:83 \u00B7 langfuse/web/src/features/automations/server/router.ts:48 \u00B7 langfuse/web/src/features/automations/server/router.ts:72 \u00B7 langfuse/web/src/features/automations/server/router.ts:157 \u00B7 \u002B19 more site(s) not listed \u2014 the 16 copies are spread across 11 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":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"453d572104b3a35b95019d5da936758d53db2ba2a5ab1a1c788818000c210e18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts:146 \u00B7 langfuse/web/src/features/batch-actions/server/batchActionRouter.ts:58 \u00B7 langfuse/web/src/features/batch-exports/server/batchExport.ts:101 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:1093 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3116d593a2d8eda5192b2de1e50028c184ff3634b77cd9d4db622e3499e3c939"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts:255 \u00B7 langfuse/web/src/server/api/routers/scores.ts:390 \u00B7 langfuse/web/src/server/api/routers/traces.ts:507 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2280f25d5f8a9a166d7310d66b0494e0ddbc6a620a698d7786aae07add4707f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx:78 \u00B7 langfuse/web/src/features/automations/components/actions/SlackActionHandler.ts:62 \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":"langfuse/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7e1ef6089a586bf7855f6407106d21b0c0bba1cb10245c4c01b1fae8580393"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): langfuse/web/src/features/batch-actions/server/addToDatasetRouter.ts:26 \u00B7 langfuse/web/src/features/batch-actions/server/runEvaluationRouter.ts:23 \u00B7 langfuse/web/src/features/batch-exports/server/batchExport.ts:20 \u00B7 langfuse/web/src/features/llm-api-key/server/router.ts:128 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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":"langfuse/web/src/features/batch-actions/server/addToDatasetRouter.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1eb8600d3b6a7b5ab5243ffcde75631237517c0bb95f46deb76309365c899c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): langfuse/web/src/features/dashboard/components/DashboardTable.tsx:51 \u00B7 langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx:374 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5870e242ca48f50c53b3152552450058f48bf5642fa22257a4cbab7e5929309"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/NewDatasetItemButton.tsx:17 \u00B7 langfuse/web/src/features/datasets/components/UploadDatasetCsvButton.tsx:11 \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":"langfuse/web/src/features/datasets/components/NewDatasetItemButton.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3899b8382c1b3aefcfdf3d049eb169c531c209573273423386317021c93eba27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/features/datasets/hooks/useCsvImport.ts:98 \u00B7 langfuse/web/src/features/datasets/hooks/useCsvImport.ts:112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvImport.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3164bade9abd97dbd2f7af45726334bd8a8d659e6a0291e173d28f7bd71c7b63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1191 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1718 \u00B7 langfuse/web/src/features/evals/server/router.ts:468 \u00B7 langfuse/web/src/features/evals/server/router.ts:588 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4593b06ffb01ffde2c81207d0e0d6b5be6d506eb68ac937c0c7e57796ea8461"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1466 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1532 \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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6e08173da7b265049f20a69497f526a092839a6dec20a0decf5345e9aa7a04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/features/evals/server/router.ts:1356 \u00B7 langfuse/web/src/server/api/routers/comments.ts:194 \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":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"228a45619b80bcc06993f3dbffb442ff70d2460c4ccd3124c788d896094646d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/features/experience-summary/server/router.ts:50 \u00B7 langfuse/web/src/features/experience-summary/utils.ts:3 \u00B7 langfuse/worker/src/queues/autoExperienceSummaryQueue.ts:153 \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":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a41f8f88bd3c1aaf29df5df3f27873274d0df9b1283c31f0b73e81cd3d06819"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx:180 \u00B7 langfuse/web/src/features/projects/components/DeleteProjectButton.tsx:99 \u00B7 langfuse/web/src/features/projects/components/TransferProjectButton.tsx:149 \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":"langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0487d89743c9fc4c870b33b924b82620c0b0725e31c99ab6df67c0515a175cb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8 locations): langfuse/web/src/features/experiments/server/router.ts:86 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:813 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:869 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:287 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/server/router.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"593383ea6bae8a93f22327abbaefab3e72c36df0b5ce1f88a00c890b67ffe7a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): langfuse/web/src/features/orderBy/hooks/useOrderByState.clienttest.tsx:42 \u00B7 langfuse/web/src/features/orderBy/hooks/useOrderByState.clienttest.tsx:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/orderBy/hooks/useOrderByState.clienttest.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c1fcfd46ad3976fe92baa1b9d85051576f3c51a1979399a90b2b387280008f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx:156 \u00B7 langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx:202 \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":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab59938a1b29d354587cad7df5731be7b88428ed72e5a04ec4718a3c658566df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/features/prompts/server/handlers/promptNameHandler.ts:16 \u00B7 langfuse/web/src/features/prompts/server/handlers/promptNameHandler.ts:59 \u00B7 langfuse/web/src/features/prompts/server/handlers/promptsHandler.ts:35 \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":"langfuse/web/src/features/prompts/server/handlers/promptNameHandler.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b18dcd4f0d77187c97fdb1fe04a3313499417e5b0c7586c5d749e863356d0ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/features/public-api/components/ApiKeyList.tsx:50 \u00B7 langfuse/web/src/features/public-api/components/ApiKeyList.tsx:200 \u00B7 langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx:36 \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":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1f8b3464feeb256f62ca707ea5d629fa6a8007ef5a07eeb6a7e84bf1dc34b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/features/query/server/queryBuilder.ts:640 \u00B7 langfuse/web/src/features/query/server/queryBuilder.ts:915 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ea0f1e900fd2437ac86f78e8b25fb208329a3a8f9d8070d14b1d2c23e35cd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/features/widgets/chart-library/HistogramChart.tsx:102 \u00B7 langfuse/web/src/features/widgets/chart-library/VerticalBarChart.tsx:56 \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":"langfuse/web/src/features/widgets/chart-library/HistogramChart.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceb8883f9f89cd58821f85e9fe7462e10d63a1ea29e48aeb29ae6ba2cd3054f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/features/widgets/components/WidgetForm.tsx:572 \u00B7 langfuse/web/src/features/widgets/components/WidgetForm.tsx:598 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b600456557cc70823303f0d52de691f609d6024fafdff42798ea2fc573ebf3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/observations/index.ts:57 \u00B7 langfuse/web/src/pages/api/public/traces/index.ts:145 \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":"langfuse/web/src/pages/api/public/observations/index.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45b053912b5a06592d9ed1ba26042e53bea6827bdbe99f93401a91bfd23a7f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/traces/[traceId].ts:109 \u00B7 langfuse/web/src/server/api/routers/traces.ts:448 \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":"langfuse/web/src/pages/api/public/traces/[traceId].ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada81ea29912eb86d5f41809747b09b739f8e8d28e1b3dbbebd0edf5a8e4ab6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/pages/auth/enterprise-sso-required.tsx:91 \u00B7 langfuse/web/src/pages/auth/sign-in.tsx:652 \u00B7 langfuse/web/src/pages/auth/sign-up.tsx:114 \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":"langfuse/web/src/pages/auth/enterprise-sso-required.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"936bdf43954d3547a81525684f3a70a66d491ab2e3f7884f0efc8d3b68d100f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx:305 \u00B7 langfuse/web/src/pages/project/[projectId]/prompts/metrics.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":"langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1b73cb83a7f55b08039fad5f876e7424cb42caa3fb0743045f1ca943ec7e86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:91 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:80 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:77 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2fa25e2b1197018d6cee59b09b9879a683c2996c32494aa078d8fd18e0d7d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/commentReactions.ts:80 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:813 \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":"langfuse/web/src/server/api/routers/commentReactions.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8792e785231636d932793abc2f61011ff00b78d3be80d09f2b07dce149e32e61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/comments.ts:275 \u00B7 langfuse/web/src/server/api/routers/comments.ts:310 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/comments.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"789f4d0dc388a7e353f388ce9c3568afccfea4be39e5066c6d7dfd177b10f3c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/server/api/routers/generations/getAllQueries.ts:27 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:171 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:230 \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":"langfuse/web/src/server/api/routers/generations/getAllQueries.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"217101cc71d2d873359b716789bd7f8a12cda40e96bf8851285c5b93d5d69132"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/web/src/server/api/routers/generations/getAllQueries.ts:59 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:288 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:318 \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":"langfuse/web/src/server/api/routers/generations/getAllQueries.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"590848455ec7c3c77a910d67cf1f42a9747fbdf084f94e640c7c656abdf3d251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:619 \u00B7 langfuse/web/src/server/api/routers/scores.ts:747 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf305b77ecb047673819d6a5c7187c493143c1f6e6caf1ffd1bd3e3099dfa166"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/sessions.ts:101 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:719 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00e6fc1dfff9c4d2e733679ceec2f64cbca5f3520f883b66571ed6ebcaa5ce0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/addGenerationsCostBackfill.ts:50 \u00B7 langfuse/worker/src/backgroundMigrations/backfillSysIdForDatasetItems.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/addGenerationsCostBackfill.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be82cbbfcd9165a3731d3be6881abefe2073d7cafbf3e2aa40cd170d0cce3d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts:169 \u00B7 langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts:248 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"59128f75087f974f055a03489bd3350a8f49caa6f2c63e2899a189496d3e8fd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/worker/src/queues/ingestionQueue.ts:38 \u00B7 langfuse/worker/src/queues/otelIngestionQueue.ts: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":"langfuse/worker/src/queues/ingestionQueue.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6abeed5c8b476ff58f17fbf81d609d2402ed445a7fb264d90c2dc31c0502ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/worker/src/scripts/refillQueueEvent/index.ts:156 \u00B7 langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:531 \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":"langfuse/worker/src/scripts/refillQueueEvent/index.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13ce944005ca275e36b4c5fafc9c03b128f17ddae1f9fd5b26e7269d554eae3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:249 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:264 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:277 \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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cb76de3511d0581fac00f015f28777906d51c06280038f7d5c63ffd6785e17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): langfuse/worker/src/services/IngestionService/index.ts:1742 \u00B7 langfuse/worker/src/services/IngestionService/index.ts:1907 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84703b6ed1f2e92c9313b5f48bd4fb0732c5e94d50b70fb806b1d64379343f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/scripts/seeder/utils/clickhouse-builder.ts:79 \u00B7 langfuse/packages/shared/scripts/seeder/utils/clickhouse-builder.ts:134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/clickhouse-builder.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab22b42a480d332358885b13b0ebff995c46d70dc4024ca9c055c492a9ea8b50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts:32 \u00B7 langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts:75 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e4628a26de782a063c5c14c2b6f380f170507adab0d4874f5af4679afa0da5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1424 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1474 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1488 \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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f594dc46a33b06919f4ef35884aa37cf86a9793837239ae72521b80d609b6d96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1469 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1483 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1556 \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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"1525939eed0c3ee1d2ef36f0dcacc44f0cd93f7c8487c948b19a2f055dbc2d9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:122 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:153 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:448 \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":"langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c2807b89063f0ecc2408b8b743584644c88de9c445e1bc1f35f8f7eebfa046"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/clickhouse.ts:400 \u00B7 langfuse/worker/src/services/IngestionService/index.ts:1663 \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":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"7184e5329a1cc1e58cfc7d325d61dae79fe2c2c9a4d011afc4526d4c5218b2cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:498 \u00B7 langfuse/packages/shared/src/server/repositories/dataset-run-items.ts:511 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e241000bef505ade6825253694295db115d235538915a20a34c1e9f11d9dfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/PromptService/index.ts:165 \u00B7 langfuse/packages/shared/src/server/services/PromptService/index.ts:187 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/PromptService/index.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6b82f1389a81ef14515e81b458f7c42881f8572c1d9e2ecbd2d4ee8e3b2909"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/StorageService.ts:299 \u00B7 langfuse/packages/shared/src/server/services/StorageService.ts:625 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"73673f96b801d1405c42534aed00a10e8b153554a4927350ebc6f05d89b161dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/src/server/webhooks/ipBlocking.ts:31 \u00B7 langfuse/packages/shared/src/server/webhooks/ipBlocking.ts:58 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/webhooks/ipBlocking.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae15d282253061c8e3341a6ceceaea87f6259473d5757bb2ac10269aa5287d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/IORepresentation/chatML/types.ts:222 \u00B7 langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts:47 \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":"langfuse/packages/shared/src/utils/IORepresentation/chatML/types.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a44990947b7ec418392b53d29554a72563846d71a2c78b82340e11b9f93c3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:326 \u00B7 langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cdd4cb0c58b94b91235442dd5fff1bec1d843369d6b6446d4f4348005be46c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:391 \u00B7 langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:500 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c158531d285cedd8cdbd32a661f072320df2d43d625673a9b042a0961236ec9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): langfuse/web/src/components/session/index.tsx:292 \u00B7 langfuse/web/src/components/trace2/lib/download-trace.ts:27 \u00B7 langfuse/web/src/components/trace2/lib/helpers.ts:492 \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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d5b6a403646142d1e8a63c8163bccd1c20b0e9ab62c000d97f420c0dba27a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): langfuse/web/src/components/table/data-table-controls.tsx:191 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:219 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:242 \u00B7 langfuse/web/src/components/table/data-table-controls.tsx:261 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b790c06d08938cd8a2b0318f79a284a8de978a4a8e64db1742c7c765169a0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/components/trace2/TracePreview.tsx:236 \u00B7 langfuse/web/src/components/trace2/TracePreview.tsx:247 \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":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ca8419a0735db5602a9d4fe27eaca86bb8abaa1f7a2da076ceac76e66155e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts:117 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts:145 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts:250 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4670735359471830c06e681a4a2a8663dcbe6bc47866b1aa74960262c413d4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx:179 \u00B7 langfuse/web/src/components/trace2/components/_shared/VirtualizedTree.tsx:86 \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":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee2de58c4466baad989998109e1d9afb9225d6a418dc3d53bf1e68ed12550de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/helpers.ts:12 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.ts:210 \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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f905df3fea9390f9decec410a09c7d4ac50f092ed256eb6fdc55296cf0988535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:735 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:753 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:771 \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":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9c57cea8251a21cf79f9da54366057d5addbceb535b2fe2971e6d8fa202a20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1080 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"db005595e6d7e71f2f1b7a7e93768aa1824d3215ce7005c6456963f50e500de8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1301 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c16a62c25ac7029b1215796ebb6d13e491b6473dfe984e790777f5549d9e039"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1457 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1487 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1534 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1567 \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":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd2a3c772b11299d47e62e640b5c9b8d91de5fa28f1cb83b12fe1f21e497900"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts:274 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts:360 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3d65ee4ec01002826841729bb4c4cf8e90c403a5002dc4441005ad89785466"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts:20 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts:33 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eab8575100f89c5499596df0aeba381b0f2005c94411ce13bf8eb9e7027db2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/components/ui/dropdown-menu.tsx:58 \u00B7 langfuse/web/src/components/ui/tooltip.tsx:12 \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":"langfuse/web/src/components/ui/dropdown-menu.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5e0cf432e1a01fac8dfbd14ef546d07b52a9d4986b761467b2d2a0e200ce8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/form.tsx:87 \u00B7 langfuse/web/src/components/ui/label.tsx:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/form.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5067fbe2b56fb8518906262436eaf538bd7d5e4e441d4ec8a03556493cfd09a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/components/ui/slider.tsx:28 \u00B7 langfuse/web/src/components/ui/slider.tsx:48 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/slider.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e155a2744e6b39e9481e01a9dce918475aba94998a5782eb359308a5119ee9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/index.ts:53 \u00B7 langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.ts:56 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/index.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ac56a5bd3490ed647e6177edfeef0bd89dd3f27c9c5fa1d5051b9fea316346"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts:19 \u00B7 langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts:148 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7303a27afdd44ce4d63069ce2a8c486bd3ccac0ae21f8c4ee5554991af510d42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts:152 \u00B7 langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/index.ts:39 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a5d32a4cdcb923d11e27014988ebd740e895b71a687b4582934ef81deb284c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/ee/features/audit-log-viewer/AuditLogsTable.tsx:120 \u00B7 langfuse/web/src/ee/features/audit-log-viewer/AuditLogsTable.tsx:130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/audit-log-viewer/AuditLogsTable.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7fa1a70019bc9c2dae3324ea7248754002e953abc9d921b49d6e5b09f87fc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1263 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1476 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf7305c2398354049a93ef42a9a60d201b40e1d63721acc3168e006009155aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/ee/features/multi-tenant-sso/types.ts:10 \u00B7 langfuse/web/src/ee/features/multi-tenant-sso/types.ts:21 \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":"langfuse/web/src/ee/features/multi-tenant-sso/types.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2d0e03f557ed36d7cf8647656a535938a5bd633576d3f95797bb5651fc21e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): langfuse/web/src/ee/features/multi-tenant-sso/types.ts:58 \u00B7 langfuse/web/src/ee/features/multi-tenant-sso/types.ts:99 \u00B7 langfuse/web/src/ee/features/multi-tenant-sso/types.ts:111 \u00B7 langfuse/web/src/ee/features/multi-tenant-sso/types.ts:123 \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":"langfuse/web/src/ee/features/multi-tenant-sso/types.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8f0c190eac0bd1b56dea487e0016a6da2f429c274f128a6ce8d57b6ba6c71c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): langfuse/web/src/features/comments/CommentList.tsx:273 \u00B7 langfuse/web/src/features/navigate-detail-pages/DetailPageNav.tsx:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c6fe09c2d656ceee7a0626713173b97ab82fca8babc21c382eaeff46529d44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:111 \u00B7 langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:125 \u00B7 langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:139 \u00B7 langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:184 \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":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b3b4c16b74ce2abf0721a702c6df7409d793cc74dcaeb00a36c26a11e46616"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:353 \u00B7 langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:442 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcfe69f9f75f54f3bba19ddde9c30a393a4e1d7aa01eb319ffa141e8127bcfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx:48 \u00B7 langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx:96 \u00B7 langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx:61 \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":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1fca8d2a660675de9d6b328266fd57c0791ad66f3a55bb65ebc537455ac0c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/evals/server/router.ts:567 \u00B7 langfuse/web/src/features/evals/server/router.ts:713 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"8508bbfdfa2750aa553cbab5f27663616a493702ca80b32aabedeceb4c1f4b74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/filters/components/filter-builder.tsx:729 \u00B7 langfuse/web/src/features/filters/components/filter-builder.tsx:767 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"72885213e6e5d5b99fc004e98d6a410f9e177d3d4ac61334c0372fe59327ec3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx:1215 \u00B7 langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx:1299 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7de013a4b3fa43a9e004170900b753fafc36b2289263ec0899ce9427c85dbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/projects/server/projectsRouter.ts:35 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:25 \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":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd19a10081ea6e82a00baf00166378c4f189336dff2aeb34da8adee431413fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): langfuse/web/src/features/prompts/components/prompt-detail.tsx:425 \u00B7 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx:116 \u00B7 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/index.tsx:119 \u00B7 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/index.tsx:177 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"09554fefd8c1a18a3dfe0a045986b76351bc8b63dd88fe94e2f689201ecb7e38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): langfuse/web/src/features/prompts/components/prompt-detail.tsx:106 \u00B7 langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx:82 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"88120a762edd698a04cb2a20852f1bd336040f3a6bc48c3d54a69c9dcca85273"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/routers/promptRouter.ts:845 \u00B7 langfuse/web/src/features/prompts/server/utils/updatePromptLabels.ts:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37cdcca59d233b7a0fc799e28ae8f83d4a60b772057171fc7e7caf4c72d7d57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx:186 \u00B7 langfuse/web/src/features/public-api/components/UpdateLLMApiKeyDialog.tsx:40 \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":"langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3399919cfd8db018aa91d2762755a08a4765eceaaa6d6f6f5a17ea2eb876f8b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx:170 \u00B7 langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx:160 \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":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d889c3c3ac0316d702894fefb2b2cfdd94ca708f8b8e422ea35f220142ad53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx:135 \u00B7 langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.tsx:130 \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":"langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedef4106b617b7110f47724ee1ecd9d837276b11e7bdcebf538fa953802520e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/HeatmapCell.tsx:113 \u00B7 langfuse/web/src/features/score-analytics/components/charts/HeatmapCell.tsx:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/HeatmapCell.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"802e5c975467571c43d1cb9ec3544f6e88a601b33cedfe5f367efb5d4ba5a91b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts:354 \u00B7 langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts:368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2952d94f0735464b96cd2c788fa61503e77e83184e5f0babb6c80cf76e79fda0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/scores/components/AnnotationForm.tsx:350 \u00B7 langfuse/web/src/features/scores/components/AnnotationForm.tsx:367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbe7a9addc0d729c2627dfb8bd4be593904b171e30b6b17266c6f829c11b270"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): langfuse/web/src/features/setup/components/SetupPage.tsx:124 \u00B7 langfuse/web/src/pages/organization/[organizationId]/settings/index.tsx:120 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc796c5c3a1bceab743cf6edf3c4e3d76a64628635f46ffdb51d5cebaf2fdf0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): langfuse/web/src/features/slack/server/router.ts:19 \u00B7 langfuse/web/src/features/slack/server/router.ts:92 \u00B7 langfuse/web/src/features/slack/server/router.ts:149 \u00B7 langfuse/web/src/features/slack/server/router.ts:208 \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":"langfuse/web/src/features/slack/server/router.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e24cc487c2dca66ddbcecf4dddcf6e5844d59bdd8925ec250db12b8a6701ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts:1594 \u00B7 langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts:1633 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d4e52b0db1eee49a4c4d87ab59d36e125c1f118d695cea570755b8e8d80a46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): langfuse/web/src/pages/api/public/mcp/index.ts:81 \u00B7 langfuse/web/src/pages/api/public/prompts.ts:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/mcp/index.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bd5263f348601b86a652b839cda69eb975249a46b94a05e2eda3f88924602d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/projects/index.ts:9 \u00B7 langfuse/web/src/pages/api/public/scim/Users/index.ts:11 \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":"langfuse/web/src/pages/api/public/projects/index.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bad8d855cc42666091379f2b5cd905a0346c5118df406d952adcbf06bca299"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/annotation-queues/[queueId]/items/[itemId].tsx:1 \u00B7 langfuse/web/src/pages/project/[projectId]/annotation-queues/[queueId]/items/index.tsx:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/annotation-queues/[queueId]/items/[itemId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ab32ce246e9813a77a71dd2f271e61bfa0bd6f1c9188dae8231bc756e83bbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx:900 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx:438 \u00B7 langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx:380 \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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc706fafceedf0c518cecd497a64b474c2f0e6d07ca246c222f0b6645619809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): langfuse/web/src/server/api/routers/scores.ts:298 \u00B7 langfuse/web/src/server/api/routers/scores.ts:341 \u00B7 langfuse/web/src/server/api/routers/traces.ts:325 \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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdea6e9441c40dcba9f84cf2ba9097eae239e6ef36cc3dba4839c92c3b16bd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:848 \u00B7 langfuse/web/src/server/api/routers/scores.ts:895 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f1db27cd716b48ac876fcc3efad4ed61a712b2133f20092a4c7bc38d5c3f64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts:199 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts:210 \u00B7 langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts:97 \u00B7 langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts:88 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94d5e6eb262e4f8ca010d2a786859ef6186f3b20daa0c8ad52436aea3805741"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/worker/src/features/evaluation/evalService.ts:1070 \u00B7 langfuse/worker/src/features/evaluation/evalService.ts:1121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a5b6ca0e981d67f1c528fa837dbca5ea843bc221d8b66e59f9891aa6f20fb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/worker/src/scripts/refillQueueEvent/index.ts:248 \u00B7 langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:693 \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":"langfuse/worker/src/scripts/refillQueueEvent/index.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ea1cc877f55cc8314b1f2f82e19f0a3c80f701d6b5e84d9479eb64cd15cfb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/worker/src/scripts/upsertLangfuseDashboards.ts:25 \u00B7 langfuse/worker/src/scripts/upsertLangfuseDashboards.ts:36 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/upsertLangfuseDashboards.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e806efd23b2e8f26fc870d216b9f36253f83cb526d27c43652907b2dec8914"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): langfuse/worker/src/services/IngestionService/index.ts:1829 \u00B7 langfuse/worker/src/services/IngestionService/index.ts:1850 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3250cc4271f622ccfba4e52e7353e2d94ebb4706e092bdcb43a531890344bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:284 \u00B7 langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:885 \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":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"746066eda77e6e699b755afc3356df8d38754059e4d6e0faaf2dc4352e48fb1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts:143 \u00B7 langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts:197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"735cccfc39e4bed147f0c85f27d29e1dd83864bbf8fd6a1ca7cb1ce7d41cf176"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/server/ingestion/modelMatch.ts:59 \u00B7 langfuse/packages/shared/src/server/ingestion/modelMatch.ts:70 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a91461e084e1b1f10af8dd171f52db295d30bcd1a596c6bea50d18b67953ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/server/instrumentation/index.ts:276 \u00B7 langfuse/packages/shared/src/server/instrumentation/index.ts:287 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/instrumentation/index.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ff97fa4067513ae6dcc2c4c569ac106ecaa96aaca6de56dac9528a4cbf7238"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:128 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:87 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:187 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts:244 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62afdacd59d7aa66f41db0534c80859ddf19c982c7ae07541b14217a87ca18b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1503 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1526 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f421025ab54311afa6956893f2a63deeaa8873b348e0b75d162f0acdde639ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts:1287 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts:1307 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a62e814f63799caf8059a99dced402207e2f9a81c18e16ca64399504c8b6699"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): langfuse/packages/shared/src/server/queues.ts:131 \u00B7 langfuse/packages/shared/src/server/queues.ts:140 \u00B7 langfuse/packages/shared/src/server/queues.ts:149 \u00B7 langfuse/packages/shared/src/server/queues.ts:158 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"langfuse/packages/shared/src/server/queues.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dca0585fba20fd32f83d3fb3fc786a9ba59d5033f2bcfa4fd49601dc662f40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/definitions.ts:127 \u00B7 langfuse/web/src/features/public-api/types/traces.ts:38 \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":"langfuse/packages/shared/src/server/repositories/definitions.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b23c1d8b72cb4a41f6a6605615b893bca500882e056935fdd3d0ad6740d62a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/DashboardService/types.ts:95 \u00B7 langfuse/packages/shared/src/server/services/DashboardService/types.ts:116 \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":"langfuse/packages/shared/src/server/services/DashboardService/types.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b6966ebc81b738b2bcbd9b313340837dd2a28b3ae7a6494dbfb91e18868ddb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/SlackService.ts:258 \u00B7 langfuse/packages/shared/src/server/services/SlackService.ts:347 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/SlackService.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ecce6303bc2f392ee15f0bbaaa84686ec8deaf4f57d4617e91d64eeb86de9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/sessions-ui-table-service.ts:212 \u00B7 langfuse/packages/shared/src/server/services/traces-ui-table-service.ts:266 \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":"langfuse/packages/shared/src/server/services/sessions-ui-table-service.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24a70e88064fda6a7aa13bd10edc2b9b1c53f4c469715c269827ad55282bb1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts:459 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts:302 \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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ee5004b55175fd14cfa4121b3009cb3470a70aa3fb824997b880095d3a50fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts:55 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts:85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad781b76acf932fdb63b74197ee2c0454e31177d0b9833ae7a3d0a01cb059a05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/openai.ts:79 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/openai.ts:91 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f193df8cedeb8a2c7f22952387f99f41892a4d7986ba992ba0540f09c438b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): langfuse/web/src/components/table/ValueCell.tsx:52 \u00B7 langfuse/web/src/components/table/utils/jsonExpansionUtils.ts:49 \u00B7 langfuse/web/src/components/ui/PrettyJsonView.tsx:198 \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":"langfuse/web/src/components/table/ValueCell.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96d3c443901f3c58ee129f10d66888d6e56b1042c7d147004a82264016caa7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): langfuse/web/src/components/table/key-value-filter-builder.tsx:102 \u00B7 langfuse/web/src/components/table/key-value-filter-builder.tsx:111 \u00B7 langfuse/web/src/components/table/key-value-filter-builder.tsx:120 \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":"langfuse/web/src/components/table/key-value-filter-builder.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f41ee803c0e3eb59259ee0983232f7a1b6c98494bc181b5e1678c21efa5d04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): langfuse/web/src/components/table/peek/peek-observation-detail.tsx:41 \u00B7 langfuse/web/src/components/table/peek/peek-trace-detail.tsx:33 \u00B7 langfuse/web/src/components/trace2/TracePage.tsx:248 \u2014 the 3 copies are spread across 3 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":"langfuse/web/src/components/table/peek/peek-observation-detail.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67a42090e3830689f286931677b7dd0f3f8c8e6c08d375ef56d933c0b50c865"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/components/table/use-cases/models.tsx:48 \u00B7 langfuse/web/src/features/evals/components/evaluator-table.tsx:137 \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":"langfuse/web/src/components/table/use-cases/models.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e79e1bd0afb69179fb4164dfb702c83ab771a839c192ac559fcb4395aa9ce32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8 locations): langfuse/web/src/components/table/use-cases/sessions.tsx:575 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:592 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:610 \u00B7 langfuse/web/src/components/table/use-cases/sessions.tsx:627 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f46c70ad462af2f8dfce69dc7651c75d7c9bb3c97cf141f2ae1a4a022b75bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx:364 \u00B7 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx:386 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99f0992fe82e03c0fb29baff67d3f235720c40fdc8391b28ab1eecfb6f32e61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): langfuse/web/src/components/trace2/components/TraceLogView/LogViewExpandedContent.tsx:64 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts:114 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts:175 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts:224 \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":"langfuse/web/src/components/trace2/components/TraceLogView/LogViewExpandedContent.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ee07f0762a40866b3feb36c96c19c3dc75b8add93a276d69b64677eb59944d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:47 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:119 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a3486f1d60b93f15fa2608bb3e6fcdf89af2093c0410c3acfc3b6091a81e01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:622 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:660 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:691 \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":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"2400ccde0b95cd6b7e33f017d51ff544a3a6757ae5050050ff6e816e1a24ef5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): langfuse/web/src/components/trace2/lib/observationIoSource.ts:60 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.ts:279 \u00B7 langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts:328 \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":"langfuse/web/src/components/trace2/lib/observationIoSource.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d645d1eb9230a4b9b35ae3af4ef3fa0fd98501b5186bbe009ea5940e4545e5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:717 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:819 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:846 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:873 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"f705c323e2631dcea023f3759680c058e46d1c4fba7d80ff19211bc739f6c44b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.ts:69 \u00B7 langfuse/web/src/features/governance/utils/policyMetadata.ts:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44e03cab44a763a11ca722fc9a027a3b8812849f5cff7c24e7193c340765b57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.clienttest.ts:21 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.clienttest.ts:194 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.clienttest.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db86cd7eab47d4ec97928b18833128e54ba2ea6f826021b23f2540556f5ae81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:28 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:222 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:251 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9afa4e62c71c97dfbd86c6b130518d688ee057b028bd5c9695d9d8f5ba61e78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts:69 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts:82 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5808af1788034572687432f826c0df431205555abbc384ba050fae197cf7e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/sidebar.tsx:103 \u00B7 langfuse/web/src/features/onboarding/components/OnboardingSurvey.tsx:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/sidebar.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"87223e168b5b6e902ed48a6b675c5a6ad157ce0748c139d9da8efa6bfc82cd26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/components/ui/time-picker-utils.tsx:86 \u00B7 langfuse/web/src/components/ui/time-picker-utils.tsx:100 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/time-picker-utils.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a37bb9a3b13e4ac8d8e6aac18dc11c70380dd711c530d97e217a0314d4bd08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts:90 \u00B7 langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts:155 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"457e21bed5205a4c1a67d34a1af53c9f1006e24b767644e8bd82ec8b26e18782"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:764 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1901 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca65dc4d61b71b5038f2ec0d683289e06cc3bb739deba166e7ab69e79c8e05b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/env.mjs:327 \u00B7 langfuse/worker/src/env.ts:62 \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":"langfuse/web/src/env.mjs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5948ccdf048a9351648e9105bcc480c9d2b339ef03113ad2c498aba375f6e155"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts:66 \u00B7 langfuse/web/src/features/rbac/server/membersRouter.ts:393 \u00B7 langfuse/web/src/features/rbac/server/membersRouter.ts:468 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:655 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f578948939ea07335d6fdea12dbddcd40822e46d146b4c44c536b642f9b79521"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts:204 \u00B7 langfuse/web/src/features/evals/server/router.ts:1339 \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":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c107c5f1ece3d8eccb7f1e28c290e4f8789a0de021405085be7c59239b9fbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:17 \u00B7 langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:32 \u00B7 langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:46 \u00B7 langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:69 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd64814591cc5bb075ff21b87b1ec25e54775a4d00e74bcc475290c3dd77cf2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx:170 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx:158 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx:130 \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":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfadfffb191ee8aea84c7d2aac22e3af54ee8e35d9de2218a40ce8fe58582a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:311 \u00B7 langfuse/web/src/features/datasets/hooks/useDatasetRunCompareChartData.ts:36 \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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4073b6d6878c81eed9bf81c1301a47c1590bc55f40b10d1b190fc73b13484c58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/datasets/hooks/useCsvMapping.ts:241 \u00B7 langfuse/web/src/features/datasets/hooks/useCsvMapping.ts:258 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvMapping.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdf35b4d328f833ff3179d996a70e42ba94d75c35ea40c012583ca62fa105f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:90 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:65 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd0d8d338f1e1ecb8d164f898791fc541d75f71bfdd0ec39b8015692592a138"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:979 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1801 \u00B7 langfuse/web/src/features/evals/server/router.ts:619 \u00B7 langfuse/web/src/features/evals/server/router.ts:680 \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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e8042420abf528f929f94a16fdf7268ffbec172c7d15db8e9bfb911d34c9a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1646 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1850 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:1892 \u00B7 langfuse/web/src/server/api/routers/dashboardWidgets.ts:181 \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":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"90078ea48cc572b8185b650317be91436a92c7556bb1ec64c40b1517862f1600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/entitlements/server/hasEntitlement.ts:18 \u00B7 langfuse/web/src/features/entitlements/server/hasEntitlementLimit.ts:21 \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":"langfuse/web/src/features/entitlements/server/hasEntitlement.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9d963c9ef35768c12d21c066ce02b7751b4aa70bc89d2938b87c1ef0b359ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx:31 \u00B7 langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx:44 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a99f14bfabffa037ac47a5917e2a227b4827291d7a44781e156558b7153fd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/evals/pages/remap-evaluator.tsx:56 \u00B7 langfuse/web/src/features/evals/pages/remap-evaluator.tsx:67 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/remap-evaluator.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96cb8a54fd0e820d999d304a8d6b1cd9088141cc187cf8dfaf18975378c9135"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8 locations): langfuse/web/src/features/events/server/eventsRouter.ts:114 \u00B7 langfuse/web/src/server/api/routers/generations/getAllQueries.ts:55 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:167 \u00B7 langfuse/web/src/server/api/routers/sessions.ts:226 \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":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8780439c115751c07b9f16853fa337467b16f0316e0072a351c9042715ee9c50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): langfuse/web/src/features/mcp/features/prompts/tools/getPrompt.ts:53 \u00B7 langfuse/web/src/features/mcp/features/prompts/tools/getPromptUnresolved.ts:59 \u00B7 langfuse/web/src/features/mcp/features/prompts/tools/listPrompts.ts:86 \u00B7 langfuse/web/src/features/mcp/features/prompts/tools/updatePromptLabels.ts:72 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/tools/getPrompt.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad061cea39cb7ff9afdfbc66f4004a4be1db7ffebb5c97b53863dedaaa276ac0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx:534 \u00B7 langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx:557 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"676c4fdfc871d466fe07bdbb1153b313e833a78f17a41ad58446656f2d91d026"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:79 \u00B7 langfuse/web/src/features/policy-governance/server/router.ts:92 \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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd564feee3b3da039539b278470a6e347c3271cf590df57b63f6db77f2860e82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/utils/authorizePromptRequest.ts:10 \u00B7 langfuse/web/src/pages/api/public/prompts.ts:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/utils/authorizePromptRequest.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d1346e523601eeffeee19fe8f47cbff14d345c4c7fe56e9bc166c3a1e9b677"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/dailyMetrics.ts:28 \u00B7 langfuse/web/src/features/public-api/server/traces.ts:80 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/dailyMetrics.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f33d994c1826dcff7b48d1e0330d5a7c87ed41f68a760b022f4b388b6d4674"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/llm-connections.ts:70 \u00B7 langfuse/web/src/features/public-api/types/llm-connections.ts:81 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/llm-connections.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b913a78bb764a4f4cb71461505c4f808637ca109abe2d7e00a6968ee6a30d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/observations.ts:190 \u00B7 langfuse/web/src/features/public-api/types/observations.ts:328 \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":"langfuse/web/src/features/public-api/types/observations.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af6c711e95a98be84531acc9aea1073712553a0b07f222e3252ec8d263921d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/query/server/queryBuilder.ts:98 \u00B7 langfuse/web/src/features/query/server/queryBuilder.ts:121 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1acc2a951b4d92b4197b63746ed5a2ed0a26842985b9fe64a47b04d25a48d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/query/types.ts:14 \u00B7 langfuse/web/src/features/query/types.ts:34 \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":"langfuse/web/src/features/query/types.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"395e3a379c86ee8f29d0ee38d796e4afafefec979d842342eb4d2ff85a2d5fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx:72 \u00B7 langfuse/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx:103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"024beaa246742171b3415e374928f8f78809395be050d320ed6259b0df88f06c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/HeatmapSkeleton.tsx:132 \u00B7 langfuse/web/src/features/score-analytics/components/charts/HeatmapSkeleton.tsx:183 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/HeatmapSkeleton.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"894c442a5a8ece741521949e75df3050188b94a7ca64a62fcf7cad2fdceac02d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): langfuse/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx:25 \u00B7 langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8427d1eeec433f7d95d22d1aefb58ed75960fef87d50c0dd0a23d7299c5f7e8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/telemetry/index.ts:191 \u00B7 langfuse/web/src/features/telemetry/index.ts:231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/telemetry/index.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb917a61c488f126da5d3e4b2c6d960a3547809e102b800609a971fd80660047"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts:94 \u00B7 langfuse/web/src/features/trace-graph-view/buildStepData.ts:213 \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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"362929bc73aca732ce8f06a41d7d69d0479cf8c0dfe842a0be40fad0334bedbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/features/widgets/utils/pivot-table-utils.ts:675 \u00B7 langfuse/web/src/features/widgets/utils/pivot-table-utils.ts:704 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/utils/pivot-table-utils.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bf20973b3f6f1a1089c4fe70b34585da0a5c09eadec00a3e5502dd5a357ac1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/datasets/[name]/index.ts:20 \u00B7 langfuse/web/src/pages/api/public/v2/datasets/[datasetName]/index.ts:15 \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":"langfuse/web/src/pages/api/public/datasets/[name]/index.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5e3c6786b2f417a45be0cac8b313325b03160c08ca72633ac5ba4394109c8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/media/[mediaId].ts:46 \u00B7 langfuse/web/src/server/api/routers/media.ts:45 \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":"langfuse/web/src/pages/api/public/media/[mediaId].ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb8c0d8722796f692abe1fb1b066c73214fa160b70be2be4177f866330c3260"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/pages/api/public/slack/install/index.ts:8 \u00B7 langfuse/web/src/pages/api/public/slack/oauth/index.ts:6 \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":"langfuse/web/src/pages/api/public/slack/install/index.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a960128da2b6eb9fd256794d4f263ae87159ab9c504473d4bea9cf2e12f5b055"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/experience/index.tsx:134 \u00B7 langfuse/web/src/pages/project/[projectId]/policy.tsx:190 \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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"047d590835223d0156dcb50d3015094353f089875dd5cd1ace9d79e14a5e0ae3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/scores/analytics.tsx:117 \u00B7 langfuse/web/src/pages/project/[projectId]/scores/analytics.tsx:129 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/scores/analytics.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cfdc8456a915c9a4b10a77188c2ca1415f21df37a94b83e1cd0380eca7289d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/sessions.tsx:11 \u00B7 langfuse/web/src/pages/project/[projectId]/traces.tsx:14 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/sessions.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2c05d12290eccb9f323bb11c55304edf19ebd997274f7e47ab46b5015ea490"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/scores.ts:106 \u00B7 langfuse/web/src/server/api/routers/scores.ts:202 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc3415fb33a03d4a0843f8fb879fe2a1dd0a5d52f4a26f8b5876a493481c82a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts:195 \u00B7 langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts:326 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"167037e4aae83e5e8febea527fd8b25c906b48c64419fe64e7c0fa562e7a25fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts:225 \u00B7 langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts:248 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c1794d95b49815b0b5334875796ce6bafa41d550fdd861fc9e82b533afb5ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts:593 \u00B7 langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts:230 \u00B7 langfuse/worker/src/backgroundMigrations/migrateEventLogToBlobStorageRefTable.ts:183 \u00B7 langfuse/worker/src/backgroundMigrations/migrateTracesFromPostgresToClickhouse.ts:184 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd674bf603433a194eb85fc95a99969ec1b24c28b3e7ee640e2445a35087c136"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:425 \u00B7 langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:513 \u00B7 langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts:622 \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":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f23bbf81782914581aa7be3375cb8b45d2bf1e0fd9d57418916bf54311b9c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:261 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:274 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd7e91cf707f2a125f08b168c9ad5433467f5da87753d0de2eafec24934506b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:288 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:712 \u00B7 langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts:876 \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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cbce61e3c71b4cbfca619e066941a142aa0d6b5407e61ab726e2e8c9997c30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:1073 \u00B7 langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:1146 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d0b3917a9766b13a28c74f8e71ea47c7dbf323f8e01871a126b00f0c2c3e3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:1191 \u00B7 langfuse/packages/shared/scripts/seeder/utils/data-generators.ts:1218 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"29417ae8cd43bf358202b4372c8ca311ab379ebba7c5686f3b1811bdbd609fd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/domain/table-view-presets.ts:22 \u00B7 langfuse/packages/shared/src/server/services/TableViewService/types.ts:7 \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":"langfuse/packages/shared/src/domain/table-view-presets.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c018250e749ef5767ef4b5631766fb8eb712172657890be64e2dfc15a24e78e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): langfuse/packages/shared/src/features/prompts/parsePromptDependencyTags.ts:27 \u00B7 langfuse/web/src/features/prompts/components/prompt-content-utils.tsx:119 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/prompts/parsePromptDependencyTags.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0b97bf43a53c6600d5dba573f31bd124830c7d6813fe8539aec36df742da53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/features/prompts/types.ts:113 \u00B7 langfuse/packages/shared/src/features/prompts/types.ts:139 \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":"langfuse/packages/shared/src/features/prompts/types.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a407ea70a77f3c6822e1a30732198c422ede07c11c5d7a0b50bf38c4d0a322be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/features/scores/interfaces/api/shared.ts:94 \u00B7 langfuse/packages/shared/src/server/ingestion/types.ts:542 \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":"langfuse/packages/shared/src/features/scores/interfaces/api/shared.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2decf284e58b7685beaf9b3df01c4d0cbbbeeaee12ef02737de075ea1ba0c5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/server/filterToPrisma.ts:49 \u00B7 langfuse/packages/shared/src/server/orderByToPrisma.ts:23 \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":"langfuse/packages/shared/src/server/filterToPrisma.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3497ef57a5a7efe3e9a236d154e33a78c8d0374ae789ba34fa52d6ef9290276"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/server/headerPropagation.ts:25 \u00B7 langfuse/packages/shared/src/server/headerPropagation.ts:39 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/headerPropagation.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"494a3c5c59e84715b69d9d189954f1f5538c7bd20224f571322aad471b3f153f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1044 \u00B7 langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts:1053 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc28fa2d2cca2aeb02da5572dce15348016428b326aa997c88702f64e37fd2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): langfuse/packages/shared/src/server/queues.ts:84 \u00B7 langfuse/web/src/features/batch-actions/validation.ts:26 \u00B7 langfuse/web/src/features/llm-schemas/validation.ts:20 \u00B7 langfuse/web/src/features/llm-tools/validation.ts:20 \u2014 the 4 copies are spread across 4 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":"langfuse/packages/shared/src/server/queues.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c628bb5c79abd1c85d7eaf1799cc27620f119d8d649ad3b320be8c39591bf9b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): langfuse/packages/shared/src/server/repositories/events.ts:192 \u00B7 langfuse/packages/shared/src/server/repositories/observations_converters.ts:88 \u00B7 langfuse/web/src/pages/api/public/observations/index.ts:102 \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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c13ecc12d42efe226cdcb39e33ab1cc546869da79997782b27a4f383d27f4ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/DashboardService/types.ts:123 \u00B7 langfuse/packages/shared/src/server/services/DashboardService/types.ts:136 \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":"langfuse/packages/shared/src/server/services/DashboardService/types.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa0452c373323ebaa8672dd6ea2a40bcdcf963b7f9ed349e05e5d56e766ae04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/InMemoryFilterService.ts:215 \u00B7 langfuse/packages/shared/src/server/services/InMemoryFilterService.ts:318 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/InMemoryFilterService.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"16efd804f91f747a1b47532505212536f32c3f905d4181c49ea44c1500dbda2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/IORepresentation/chatML/toCompactVerbosityChatML.ts:25 \u00B7 langfuse/packages/shared/src/utils/IORepresentation/chatML/toCompactVerbosityChatML.ts:53 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/IORepresentation/chatML/toCompactVerbosityChatML.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"600286d54f730dc7845817d81bb7d403e0c248aa2c4cd3b18ff43a1b609284c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts:187 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts:228 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"618be721edc404c4d98f7efe7b1f680977f71e9adaef96150665e44505e5de24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts:369 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts:419 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1de88a793c07c35071c9009931ae3e5397db688755936dfa9b45305d9c65efb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:85 \u00B7 langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:93 \u00B7 langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts:101 \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":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d2edd7fa961662268612fded1f3cce6e6d9a5ce3ce097eeaa1dc731e161665"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/components/trace2/TracePreview.tsx:193 \u00B7 langfuse/web/src/features/annotation-queues/components/processors/SessionAnnotationProcessor.tsx:70 \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":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a5f120823b57c4d6d8a41355d5c5112f3243c0ec75ed0fb9af820ab109faad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.ts:76 \u00B7 langfuse/web/src/components/trace2/components/IOPreview/hooks/useChatMLParser.ts:41 \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":"langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6d87888e815421993cb7e9fe663b90d45833a98651c828e6c8d2610b4f4569"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/TraceLogView.tsx:141 \u00B7 langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/TraceLogView.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a5c5983948b4bf2ca48dc801a50cbcbf54697bbc167e3ca8b531612ccb26b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/log-view-formatters.ts:46 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/log-view-formatters.ts:95 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-formatters.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8ed11351b7457d49cbd50abda6e6ab852d71ed56bccf2281cdd4abbd30583f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:98 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:573 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c820e9c3c529779b41700319889a5ecbf16f06557b9e56a25bd45992c3722fbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/tree-building.ts:774 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts:242 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76ec44ffeb5a4596a56ec57bfbaf0b95fe3d9ab1fecd1c1be67e344d68025bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:59 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:93 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:118 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4326826722276027584a688ff1659426796290ee6d69bf8bdf7d00313a93233c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:226 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts: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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"26052678d088ee5a184e6d82de5230723860fb5e9a2c76017c38551fe788407d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:516 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:556 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b38d508d25ce277ddcc5c73de1b2cb22609d79dad6a48a16976d5500e13125"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts:95 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts:116 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"821b22e9c76c7775373ab7fd2d8eb462212ce478fe471917d066440965d85c87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts:239 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts:308 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf98b88d720f541afc38a6154579500c5dd203dc7e1bf3ab2d23fc8024720c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): langfuse/web/src/components/ui/accordion.tsx:7 \u00B7 langfuse/web/src/components/ui/alert-dialog.tsx:11 \u00B7 langfuse/web/src/components/ui/dialog.tsx:14 \u00B7 langfuse/web/src/components/ui/drawer.tsx:97 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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":"langfuse/web/src/components/ui/accordion.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef9c3acc73f5e77b23de29b1dd0dce96d99d7c607f10fe7de1c23ad08601541"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): langfuse/web/src/components/ui/accordion.tsx:41 \u00B7 langfuse/web/src/components/ui/dropdown-menu.tsx:119 \u00B7 langfuse/web/src/components/ui/progress.tsx:6 \u00B7 langfuse/web/src/components/ui/scroll-area.tsx:6 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/accordion.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c380a71e7390b2d10ab4df50ee9ff73cf67eeaa3976087c45b5cf641b21127b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): langfuse/web/src/components/ui/avatar.tsx:4 \u00B7 langfuse/web/src/components/ui/checkbox.tsx:5 \u00B7 langfuse/web/src/components/ui/tabs-bar.tsx:4 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/avatar.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88710800f3fabf39be9f28c2b01c840f04de67ab7e75c0b538e53d68975a58a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): langfuse/web/src/components/ui/avatar.tsx:1 \u00B7 langfuse/web/src/components/ui/progress.tsx:1 \u00B7 langfuse/web/src/components/ui/radio-group.tsx:1 \u00B7 langfuse/web/src/components/ui/scroll-area.tsx:1 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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":"langfuse/web/src/components/ui/avatar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f200d3c9844e869b7b0b7619dc3be4924a5459279a60e2e19a462c8eafa7fc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): langfuse/web/src/components/ui/scroll-area.tsx:21 \u00B7 langfuse/web/src/components/ui/select.tsx:51 \u00B7 langfuse/web/src/components/ui/select.tsx:68 \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":"langfuse/web/src/components/ui/scroll-area.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"430afc6e1bf78cebc11928c5eb0cc3356a2ef716efc3f1840f54c0c97e4f5a26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/components/useBillingInformation.tsx:53 \u00B7 langfuse/web/src/ee/features/billing/components/useBillingInformation.tsx:69 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/useBillingInformation.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb21b7bf0d1b809e1fe59277f3cf90013fddba4bc4f82639d8297cdd074c708a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:558 \u00B7 langfuse/web/src/ee/features/billing/server/stripeBillingService.ts:1550 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfb03343d700c5e88dd3c93a30f09af46de1843ae40c6ebc24ff416e483e3b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx:165 \u00B7 langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx:185 \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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"17358cfb1d165cf390c42dcd22e72b7d759b4287e008bace034038b61d4f672e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx:201 \u00B7 langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx:211 \u00B7 langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx:221 \u00B7 langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx:231 \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":"langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"952bda5b8c81795fb4a083ad8fff987d6bbd6163c0d7b1b39d10108935a51a46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 17 locations): langfuse/web/src/features/automations/server/router.ts:141 \u00B7 langfuse/web/src/features/automations/server/router.ts:560 \u00B7 langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts:28 \u00B7 langfuse/web/src/features/evals/server/defaultEvalModelRouter.ts:11 \u00B7 \u002B13 more site(s) not listed \u2014 the 17 copies are spread across 8 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/router.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"11502f424846971ee80462b1e11e9457d90afe2db6bfb3cffb3ff2e8301feb28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:250 \u00B7 langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts:262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e70b4dfd4f61b9566fe973210098fc5aa393d995851e43dcf51d01b1dff3bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx:112 \u00B7 langfuse/web/src/features/public-api/components/ApiKeyList.tsx:314 \u00B7 langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx:46 \u00B7 langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx:245 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce2999c8368dcdbf53319aa80bc84dd70789dda24d7eed7a6cda1c9048a249d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:708 \u00B7 langfuse/web/src/features/datasets/server/dataset-router.ts:718 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf21a0002e47ab564e02d3ae0bf0330926f6974c59eb7adf9ed8274391956d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): langfuse/web/src/features/datasets/server/dataset-router.ts:1803 \u00B7 langfuse/web/src/features/evals/server/router.ts:623 \u00B7 langfuse/web/src/features/evals/server/router.ts:683 \u00B7 langfuse/web/src/features/evals/server/router.ts:1356 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1c5449680b265237f0552f1e7698e8631d4d7b2393cec348d67480b6d6ce3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts:277 \u00B7 langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts:304 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"05149fdfc00852bd28912a2add2bd6f7353dff93dbbe1eccf889bc1916dc16f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): langfuse/web/src/features/evals/server/defaultEvalModelRouter.ts:12 \u00B7 langfuse/web/src/features/evals/server/defaultEvalModelRouter.ts:42 \u00B7 langfuse/web/src/features/evals/server/router.ts:216 \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":"langfuse/web/src/features/evals/server/defaultEvalModelRouter.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cf320b42d6a34310a3cd85df26a07aa2da61b69f1a924235ee1ec98abdeef7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/evals/server/router.ts:57 \u00B7 langfuse/web/src/features/evals/server/router.ts:136 \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":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7915fd889308bf61b2de58dfede2395d11809afdb010fa13ae8317fad5acde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/evals/server/router.ts:298 \u00B7 langfuse/web/src/features/evals/server/router.ts:477 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd46e2977c52b8f5af9a309cfb3de128483b2fa1943ec74bc0244afd3ae572c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/experiments/utils/evaluatorMappingUtils.ts:145 \u00B7 langfuse/web/src/features/experiments/utils/evaluatorMappingUtils.ts:183 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/utils/evaluatorMappingUtils.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0525f2a4a34c0aef955040059657c4ca2eb5140884d44f6b31b90950e7409bc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/playground/page/storage/windowStorage.ts:112 \u00B7 langfuse/web/src/features/playground/page/storage/windowStorage.ts:121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/storage/windowStorage.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d526178067839e5266e86ab9cc5be57f4ef9f2a2a445329b65546805afe2ce3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): langfuse/web/src/features/policy-governance/server/router.ts:915 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:206 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:258 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:332 \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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a19093f6ed2b10de4be84d4972ffa7b3fb1751a281c45a0a95d1449141f818"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/prompts/components/prompts-table.tsx:208 \u00B7 langfuse/web/src/features/prompts/components/prompts-table.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a347c3f2859ff2e534a36af434939cba88b5834d01b38fb6aef0ea011cf51021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/routers/promptRouter.ts:1066 \u00B7 langfuse/web/src/server/api/routers/tableViewPresets.ts:154 \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":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a7433fa6ebd0b33bbfd2c0b894f35a1529934ac1b8cb2a08cc52498895c059"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/utils/authorizePromptRequest.ts:11 \u00B7 langfuse/web/src/pages/api/public/mcp/index.ts:81 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/utils/authorizePromptRequest.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fde773e0446b45bca996815546d9931377b0911c962923f5802062e6ba1647"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/datasets.ts:121 \u00B7 langfuse/web/src/features/public-api/types/datasets.ts:262 \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":"langfuse/web/src/features/public-api/types/datasets.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25ebef08bbaf4f328c1fa49660dc40cd9cb12416e68e8a4d7219f401125de8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/models.ts:33 \u00B7 langfuse/worker/src/scripts/upsertDefaultModelPrices.ts:10 \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":"langfuse/web/src/features/public-api/types/models.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"989dbbe84f407449e9b0dcc885fe2e3c8517cf2a387fd4e6a785745dc85c7373"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/cards/HeatmapCard.tsx:79 \u00B7 langfuse/web/src/features/score-analytics/components/cards/HeatmapCard.tsx:92 \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":"langfuse/web/src/features/score-analytics/components/cards/HeatmapCard.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d0747160b2b40a15750f7a9aba6e5a2798d41ea17295f154f80caedd7b2a4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx:233 \u00B7 langfuse/web/src/features/score-analytics/components/charts/HeatmapSkeleton.tsx:149 \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":"langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"158e757aad99990edb06678993acae55dc0971da1e64c9aa6a05e55a0cef1d62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionNumericChart.tsx:93 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesBooleanChart.tsx:97 \u00B7 langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesCategoricalChart.tsx:96 \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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionNumericChart.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a435750df0d55f46cb3bd6b9ba73eb244ecf4d4836813a57e6e8a8168564c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/lib/color-scales.ts:593 \u00B7 langfuse/web/src/features/score-analytics/lib/color-scales.ts:603 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"393ddd562d9c1484fbd2f23f05ab5293a6975f77d381e6e48c873011b0a7fb5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/pages/api/admin/api-keys/index.ts:109 \u00B7 langfuse/web/src/pages/api/admin/bullmq/index.ts:210 \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":"langfuse/web/src/pages/api/admin/api-keys/index.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf7bd55e5bc187c6926d68208279a464829f40e131d24c38b666d3d1721abf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/pages/project/[projectId]/policy.tsx:280 \u00B7 langfuse/web/src/pages/project/[projectId]/policy.tsx:317 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1295e5ef1a429cf28aae6a4971be19902c4d305280fe6b18491dc8c47008de5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/web/src/utils/chatml/extractTools.ts:76 \u00B7 langfuse/web/src/utils/chatml/extractTools.ts:88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/extractTools.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8727443ce272d0df72686efc7f4ee7881d43f9c93679d1b17247f132f46391df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/worker/src/backgroundMigrations/backfillSysIdForDatasetItems.ts:16 \u00B7 langfuse/worker/src/backgroundMigrations/encryptBlobStorageSecrets.ts:22 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillSysIdForDatasetItems.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd06a178c122a28158cb8b69cbb656af47edc33c92b1770089eae05ddd84fd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): langfuse/worker/src/backgroundMigrations/backfillValidToForDatasetItems.ts:68 \u00B7 langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts:60 \u00B7 langfuse/worker/src/backgroundMigrations/migrateEventLogToBlobStorageRefTable.ts:71 \u00B7 langfuse/worker/src/backgroundMigrations/migrateObservationsFromPostgresToClickhouse.ts:95 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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":"langfuse/worker/src/backgroundMigrations/backfillValidToForDatasetItems.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2ca329b871164f600ef58a82d00910120997f69e08cfb434d5db0c9942c9aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/worker/src/features/tokenisation/async-usage.ts:109 \u00B7 langfuse/worker/src/features/tokenisation/async-usage.ts:164 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/tokenisation/async-usage.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"389fc1914ee8a5d1e92bec9446f28e694caf5dbbf05e70d1bff66e597180e332"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): langfuse/worker/src/services/ClickhouseWriter/index.ts:122 \u00B7 langfuse/worker/src/services/ClickhouseWriter/index.ts:144 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/ClickhouseWriter/index.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6e5f4a1db5dcaad070b4599d80fd3486b0f11f9ce714d860f314aee8671d92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): langfuse/packages/shared/src/domain/scores.ts:74 \u00B7 langfuse/packages/shared/src/features/scores/interfaces/api/v1/schemas.ts:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/domain/scores.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"87491d3e7d86a34fb218ff231e503770913a9e7ca0629df3b74a4ea72cbbfec2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/env.ts:18 \u00B7 langfuse/web/src/env.mjs:424 \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":"langfuse/packages/shared/src/env.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e4eb39e12652aa148761ba349846c819535651782fe2a7772e1fe8594091f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): langfuse/packages/shared/src/features/evals/types.ts:34 \u00B7 langfuse/packages/shared/src/features/evals/types.ts:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/evals/types.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0614a5231c1d6df49f47a2c312ecfc4ecbc2f97bdfe421a1d6f6d5d897a460b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/features/scores/interfaces/api/v1/endpoints.ts:26 \u00B7 langfuse/packages/shared/src/features/scores/interfaces/api/v2/endpoints.ts:25 \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":"langfuse/packages/shared/src/features/scores/interfaces/api/v1/endpoints.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68a534d20d65fee2a0b47d845605afcafa7f7348e561ee2ba2c90a735ac45c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/features/scores/interfaces/application/validation.ts:61 \u00B7 langfuse/packages/shared/src/features/scores/interfaces/application/validation.ts:103 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/scores/interfaces/application/validation.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dca6b8e38d754d71da89250e4c35cab82ed67dc99eea950080d0920976401b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/interfaces/filters.ts:62 \u00B7 langfuse/packages/shared/src/interfaces/filters.ts:69 \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":"langfuse/packages/shared/src/interfaces/filters.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cac2350bd5284c612748160472bf805acc9710b79ab08fb91c6c30440d71ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): langfuse/packages/shared/src/server/orderByToPrisma.ts:30 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts:37 \u00B7 langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts:90 \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":"langfuse/packages/shared/src/server/orderByToPrisma.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed871dc52f8058792f01dc0acc13dfaf3939281a8b309b9c87cfdd223050010"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): langfuse/packages/shared/src/server/redis/s3SlowdownTracking.ts:39 \u00B7 langfuse/packages/shared/src/server/redis/s3SlowdownTracking.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/s3SlowdownTracking.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e67b01335c973816ed850adb272bafb885b1a06bf265747fcd7df7235091a83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/automation-repository.ts:52 \u00B7 langfuse/packages/shared/src/server/repositories/automation-repository.ts:150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/automation-repository.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74da41296c08c5b8ba72f6f900ccfd3bdce40e9e01cc1cf6ac2feca1a98d3c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/clickhouse.ts:373 \u00B7 langfuse/packages/shared/src/server/repositories/clickhouse.ts:475 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fee9440ece663f05e5a33ae9fcc6e08d33ccee4ca04265e340bb2a73e5faadd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/StorageService.ts:363 \u00B7 langfuse/packages/shared/src/server/services/StorageService.ts:398 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59fce20b604b965e1bb9eacac676bd42672ed474a1b18e83867864ca1b55714"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts:174 \u00B7 langfuse/packages/shared/src/server/services/traces-ui-table-service.ts:259 \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":"langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"939176fb84d94e677bd8acd50aa4a234f6ea0223afd52f60d9d64de7d7d061c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/server/utils/headerUtils.ts:41 \u00B7 langfuse/packages/shared/src/server/utils/headerUtils.ts:63 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/utils/headerUtils.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bccf34fa2ce0c062d53fb50de6a3838076cd2571054f89a25f8b5aa8875e457"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/generic.ts:17 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/generic.ts:25 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/generic.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c01eefe6a61e5081b1efc7fd9567cc61821afabb62e0a71019fe40f0b8ab5f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): langfuse/web/src/components/table/use-cases/traces.tsx:628 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:650 \u00B7 langfuse/web/src/components/table/use-cases/traces.tsx:696 \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":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0bb97219737a1e618d71514435919a81b74cdb60eea176c8fb4e7eccb04dc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/web/src/components/trace2/ObservationPreview.tsx:373 \u00B7 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgeModelParameters.tsx:31 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1ad108655a660561e97b8c2680e6ebd80e24374fc3e601b16707ffbff1b6cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts:136 \u00B7 langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts:149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewDownload.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e22a56056f5d0f3d96487daa03645f43acbc03bc961a7ef0af53c04086c24d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx:115 \u00B7 langfuse/web/src/components/trace2/components/TraceTree.tsx:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/index.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa8a0bd2a31031a2e5d2129aa82a83f600157ee8932351160479d3453f436a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1547 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1580 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1617 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts:1653 \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":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc14351e4495d1ef61459764f3752a980dca75b95df926e63c029aceb1b1df73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): langfuse/web/src/components/ui/alert.tsx:38 \u00B7 langfuse/web/src/components/ui/breadcrumb.tsx:33 \u00B7 langfuse/web/src/components/ui/card.tsx:23 \u00B7 langfuse/web/src/components/ui/card.tsx:50 \u00B7 \u002B3 more site(s) not listed \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/alert.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f466c217d6c18a1b444d40fb089ee2ae65a0ab2adb2bbdb98290abd2cd4dd80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): langfuse/web/src/env.mjs:98 \u00B7 langfuse/web/src/env.mjs:110 \u00B7 langfuse/web/src/env.mjs:198 \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":"langfuse/web/src/env.mjs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"553141adde98ca7c59d0ca709e16a2e021cab282df37c80461827da7b8fd6a13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx:254 \u00B7 langfuse/web/src/pages/project/[projectId]/experience/index.tsx:117 \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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"89201d8891aba45ad03f23820ab8479290e6a129f1a4c6b586a6ff72ab00196f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): langfuse/web/src/features/error-analysis/server/router.ts:890 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:89 \u00B7 langfuse/web/src/features/projects/server/projectsRouter.ts:119 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:619 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"0017d4faad6ef321c894280eb357e2166bdfc37101772bdbbf45f3ac5e2dc6dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/web/src/features/filters/filter-integration.clienttest.ts:417 \u00B7 langfuse/web/src/features/filters/filter-integration.clienttest.ts:482 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/filter-integration.clienttest.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1966f9e8674f0273e06fd34c21b1702bc075212110078970539c9e10532a8c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/web/src/features/filters/filter-integration.clienttest.ts:511 \u00B7 langfuse/web/src/features/filters/filter-integration.clienttest.ts:521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/filter-integration.clienttest.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0798333698b882ee43cec04e493caa43f88e879fc21b8179e6ddd72d6cc087f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): langfuse/web/src/features/policy-governance/server/router.ts:116 \u00B7 langfuse/web/src/features/policy-suggestions/types.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdddb4c186bb6e4897ad1d6ebcb98b190ecea26ab37b97050681b3f515e90cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/web/src/features/public-api/server/observations.ts:26 \u00B7 langfuse/web/src/features/public-api/server/observations.ts:120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/observations.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71fcb06d587d5ec1cca5d9f0e5d184e7f5413f4439195d8f0e4774080005009"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): langfuse/web/src/features/public-api/types/datasets.ts:114 \u00B7 langfuse/web/src/features/public-api/types/datasets.ts:224 \u00B7 langfuse/web/src/features/public-api/types/datasets.ts:255 \u00B7 langfuse/web/src/features/trace-graph-view/types.ts:75 \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":"langfuse/web/src/features/public-api/types/datasets.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f12cb0631677eb2e37243dd983fbe0233fd548f1873241694ac59438b286679"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/web/src/features/score-analytics/lib/score-analytics-transformers.ts:72 \u00B7 langfuse/web/src/features/score-analytics/lib/score-analytics-transformers.ts:81 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/score-analytics-transformers.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f13d2436208b974a5494ff8f642826b818e86c3e28616fd94d9eb3573fb133"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/web/src/features/support-chat/plain/plainClient.ts:352 \u00B7 langfuse/web/src/features/support-chat/plain/plainClient.ts:364 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/plain/plainClient.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8256575eeff6b0392075e17c29c524d1a70de92a2b8d390fbf4c4f063a8f5e78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): langfuse/web/src/server/api/trpc.ts:420 \u00B7 langfuse/web/src/server/api/trpc.ts:525 \u00B7 langfuse/web/src/server/api/trpc.ts:598 \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":"langfuse/web/src/server/api/trpc.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7e30e22c2e0d219985ca2fc0bdb6577e1aa9c19037cce09588322f858128c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:139 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:147 \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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1231eb2a8102d4ee7bff2b76fb952e32ed015c2986e31b783b4ca26c78c753e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/packages/shared/src/env.ts:59 \u00B7 langfuse/web/src/env.mjs:235 \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":"langfuse/packages/shared/src/env.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8671fbf789490387e98e347f10946426ba1aa6a2d9a8c92d9c81b63232acbbc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): langfuse/packages/shared/src/env.ts:213 \u00B7 langfuse/packages/shared/src/env.ts:225 \u00B7 langfuse/web/src/env.mjs:228 \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":"langfuse/packages/shared/src/env.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f005691236cf0cc8a69c85efc375e1bdb3fd05957b15ad98334bde433d45b889"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): langfuse/packages/shared/src/features/scores/interfaces/shared.ts:15 \u00B7 langfuse/packages/shared/src/server/repositories/definitions.ts:127 \u00B7 langfuse/web/src/features/public-api/types/traces.ts:38 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/scores/interfaces/shared.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e37384b52d9277c8100a3b555b3023a8116ca730f48c8d920501278888db7e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/packages/shared/src/server/repositories/observations_converters.ts:385 \u00B7 langfuse/packages/shared/src/server/repositories/observations_converters.ts:391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations_converters.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9f24af53ba61dc8462acc58b12197a1d444737fba644d8a9182574c4a49c76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/zod.ts:49 \u00B7 langfuse/packages/shared/src/utils/zod.ts:60 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/zod.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff85a7b138977b043f89e862bcbdaef6b39e952e4d5f43130e84bacb20c441f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts:21 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.ts:774 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc741eff81f6ad2fa4f36e26b04f684efd698d50215ae39ce85c117082c13f4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts:21 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts:242 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff9ae2417e50ff73ca6703dadaeb87a8d82b876e205f1ba188f077ad56fc96c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts:21 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts:321 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c88733800c8ad8dcfc0d8aced881baf1329da6b7e7f67a12ac8f71c62b39ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:78 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:123 \u00B7 langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:465 \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":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b15fb90acd5f9badd14086dd3997b307e76074ead67f6c6bc94a4a6e3427581"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts:509 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.clienttest.ts:23 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:44 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:537 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"08230a83c6f7f3725722a10f0562be574390656f8403f31f31bf33c8a1f72b1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts:245 \u00B7 langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts: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":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"199feebe17748edd7b5761dd10910d212fb670b8c511d635263f9fa7ae548c58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): langfuse/web/src/components/trace2/lib/helpers.ts:115 \u00B7 langfuse/web/src/components/trace2/lib/helpers.ts:223 \u00B7 langfuse/web/src/components/trace2/lib/helpers.ts:414 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.ts:483 \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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"023470bb4f202a4004ba6ffd170ec56a7ab883e1dd11e5387f89ddeff0d87601"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/components/trace2/lib/observationIoSource.ts:49 \u00B7 langfuse/web/src/components/trace2/lib/tree-building.ts:268 \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":"langfuse/web/src/components/trace2/lib/observationIoSource.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e500ab44a2c435126e16a4e4e9e4d7724d786a050f43cb1a1b523aeea87eef3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.clienttest.ts:59 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.clienttest.ts:105 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.clienttest.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd876b58e45ee89fcc18a8626ea40c76e614924622d7832521344c8b69194499"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:468 \u00B7 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:505 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5f8b66d9af35b575b058ce49489728287bb474023cd609351cc37872384c2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts:535 \u00B7 langfuse/web/src/features/filters/filter-integration.clienttest.ts:421 \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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd2a82f9d9dc6dbddf35509ebaa707a9a7cf9ee2ba39c62ea4d170b76e1bcec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/time-period-select.tsx:30 \u00B7 langfuse/web/src/components/ui/time-picker-input.tsx:80 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/time-period-select.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a86413c5cc53283bf879ec983143d8006b8468932919e3af99a13f51895460"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): langfuse/web/src/env.mjs:152 \u00B7 langfuse/web/src/env.mjs:158 \u00B7 langfuse/web/src/env.mjs:176 \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":"langfuse/web/src/env.mjs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccafbd2e98d2f07147f78c3d3c22e286bfc3595bf08f75d6ce0e18f8e3d696c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/features/datasets/components/DatasetsTable.tsx:333 \u00B7 langfuse/web/src/features/prompts/components/prompts-table.tsx:144 \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":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4054ca53fbd7b1b1aa6372a413c5aa9a7bb7b565e4962fa71df64c3bb106362"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:1710 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:1226 \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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dee43c8284c691b724cf6028038096d6fa15716ece8a0e26fd1719ad5c810f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/metrics.ts:148 \u00B7 langfuse/web/src/features/public-api/types/traces.ts:60 \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":"langfuse/web/src/features/public-api/types/metrics.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"399c95c7267ea449e184e7828a8da2d9f8407c56f1cfdddd936d5f29b8fd24eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts:607 \u00B7 langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts:614 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b680fb2936e3beafa114c325933720553f3bf40c6895aa27deedbb836cfd88a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/web/src/server/api/routers/observations.ts:33 \u00B7 langfuse/web/src/server/api/routers/traces.ts:393 \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":"langfuse/web/src/server/api/routers/observations.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"01087c1dcefb9fec7aea1567da59748d55ddd8962eabce14ff9f0a395145f7e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): langfuse/worker/src/ee/usageThresholds/bulkUpdates.ts:50 \u00B7 langfuse/worker/src/ee/usageThresholds/bulkUpdates.ts:156 \u00B7 langfuse/worker/src/features/batchAction/processAddObservationsToDataset.ts:156 \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":"langfuse/worker/src/ee/usageThresholds/bulkUpdates.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"489202fab74960b7690fb9ba1bf3fa43693d82c22ac3487972044cff0322345a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/worker/src/env.ts:26 \u00B7 langfuse/worker/src/env.ts:269 \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":"langfuse/worker/src/env.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"07166ebba485e61efc27921a024a9e67ca090d58442ef18141cc732cd8146ee8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:61 \u00B7 langfuse/worker/src/queues/autoErrorAnalysisQueue.ts:70 \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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"af00f2db9b14f99d5baaaba9ba9c3399674664e40448008741b3e0ef54b60263"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts:194 \u00B7 langfuse/packages/shared/src/utils/chatml/adapters/generic.ts:3 \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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"be38e25d7930bf36c2bd968e7bee2e9a0e906b11f3b8631dbeb530f7931ffea4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts:292 \u00B7 langfuse/web/src/components/ui/PrettyJsonView.tsx:940 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"44200ba17876f80d75de5dfcd38f5112152f05666afe1f40bfb81284c3b3dddf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): langfuse/web/src/ee/features/billing/components/BillingDiscountCodeButton.tsx:23 \u00B7 langfuse/web/src/features/auth-credentials/components/ResetPasswordButton.tsx:19 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/BillingDiscountCodeButton.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef885e5f58ffffdc4cfcc55140fada1c9274d122fb12259e4c3c9820737b31b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): langfuse/web/src/env.mjs:169 \u00B7 langfuse/web/src/env.mjs:189 \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":"langfuse/web/src/env.mjs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"17503a8eeda61560df4f3e6f120dbd6dc2ad1954fb5f5ccab14287ae7f87bff7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): langfuse/web/src/features/error-analysis/server/router.ts:1817 \u00B7 langfuse/web/src/features/error-analysis/types.ts:179 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aff4c8fc6be6a7b6229332dd6d0eb649e2f93b7ae0685c52ba9ac0256bbd1b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): langfuse/web/src/features/experience-summary/types.ts:40 \u00B7 langfuse/worker/src/queues/autoExperienceSummaryQueue.ts:73 \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":"langfuse/web/src/features/experience-summary/types.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"97690091d3fd52f3a09680e3c7a2776f2a14d4e557a7b18d65a18685491f2b1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): langfuse/web/src/features/filters/components/filter-builder.tsx:432 \u00B7 langfuse/web/src/features/prompts/components/delete-folder.tsx:20 \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":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3f042ffc4bbf7a4a18549ea122d646e5c72592af1370512df7b441501af90e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx:1354 \u00B7 langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx:1360 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14607e9947ee3b8f2e6e995345cb355ffc8cbb0f2cc33cdfa29668b8a7fc72d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): langfuse/web/src/features/prompts/server/routers/promptRouter.ts:703 \u00B7 langfuse/web/src/features/prompts/server/routers/promptRouter.ts:885 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1faf43678cec5c1dbb0e5aeee692c74ee686acb5f14b4d636de0528b6bf9d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): langfuse/web/src/features/public-api/types/score-configs.ts:109 \u00B7 langfuse/web/src/server/api/routers/scoreConfigs.ts:43 \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":"langfuse/web/src/features/public-api/types/score-configs.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e7116c0a1e0903915a88731eb4341aff5821462374e029c4699a09e7429f47"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: langfuse/packages/shared/src/server/clickhouse/client.ts:3 imports @clickhouse/client/dist/config, 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":"langfuse/packages/shared/src/server/clickhouse/client.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4376114caef0ae35693ecb16138b37b2734c2d64a183a92c61d92166a406c987"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: langfuse/packages/shared/src/server/repositories/clickhouse.ts:11 imports @clickhouse/client/dist/config, 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":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"390fb43e6bb84e73567b9305c68db21c1e32099018fb9f43557f86e662f2f919"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: langfuse/packages/shared/src/server/services/email/batchExportSuccess/sendBatchExportSuccessEmail.ts:2 imports nodemailer/lib/shared/index.js, 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":"langfuse/packages/shared/src/server/services/email/batchExportSuccess/sendBatchExportSuccessEmail.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a161b709ccc11966e4fed021e535e70f5eba2dc6406d551561c6542aebc489e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: langfuse/packages/shared/src/server/services/email/cloudSpendAlert/sendCloudSpendAlertEmail.ts:2 imports nodemailer/lib/shared/index.js, 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":"langfuse/packages/shared/src/server/services/email/cloudSpendAlert/sendCloudSpendAlertEmail.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"767b2f0a202a36661ea9b7e5fb5d621226e931bcf7e041b4b15950197cbd113c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: langfuse/packages/shared/src/server/services/email/commentMention/sendCommentMentionEmail.ts:2 imports nodemailer/lib/shared/index.js, 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":"langfuse/packages/shared/src/server/services/email/commentMention/sendCommentMentionEmail.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ae09bb6775859fc9249e39b5702aa7ae666d353c28a3957bf3dff217cc4b64"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: langfuse/packages/shared/src/server/services/email/organizationInvitation/sendMembershipInvitationEmail.ts:2 imports nodemailer/lib/shared/index.js, 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":"langfuse/packages/shared/src/server/services/email/organizationInvitation/sendMembershipInvitationEmail.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c82ff9565a56cf9f76b8c43fd71da5c24ebe1a6299c9f062ce57e69c3b027cd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/sendUsageThresholdSuspensionEmail.ts:2 imports nodemailer/lib/shared/index.js, 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":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/sendUsageThresholdSuspensionEmail.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa7d08955bf7cb3724c66a20bf87348d8b5bc330d4d5d2f55e8d3d586e78b41"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: langfuse/packages/shared/src/server/services/email/usageThresholdWarning/sendUsageThresholdWarningEmail.ts:2 imports nodemailer/lib/shared/index.js, 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":"langfuse/packages/shared/src/server/services/email/usageThresholdWarning/sendUsageThresholdWarningEmail.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d14b8946b15012f476f090a6e0f0d3563e639b8b32c1be28e758f7e1311c94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatisticsCard (cyclomatic 107, cognitive 93): StatisticsCard has cyclomatic complexity 107 and cognitive complexity 93; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be981f3e30e0b6451f4dd94dad8087d6cb001fb94d0fc1dac567722c4049ef4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGraphFromStepData (cyclomatic 103, cognitive 193): buildGraphFromStepData has cyclomatic complexity 103 and cognitive complexity 193; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29007634141d3367f49f094d9c5aad1a2bf635a03533737583f6dd597e25516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertObservationPartial (cyclomatic 94, cognitive 93): convertObservationPartial has cyclomatic complexity 94 and cognitive complexity 93; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations_converters.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d256c1ea5af5b56b7d749ec0f603d93bf0a83a2c1bb8b887875ac86e9b84041"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTurnMetadataSummary (cyclomatic 81, cognitive 116): buildTurnMetadataSummary has cyclomatic complexity 81 and cognitive complexity 116; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fca845e5af310161917662728ca4c9599b0cf88d2b929270add3bda4e859ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferErrorTypeKeyFromText (cyclomatic 76, cognitive 28): inferErrorTypeKeyFromText has cyclomatic complexity 76 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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10b7531d9511c416c56132075ce8a85455a71c76feedbc4103794ca3d68e5cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferErrorTypeKeyFromText (cyclomatic 75, cognitive 29): inferErrorTypeKeyFromText has cyclomatic complexity 75 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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25c5f1094e0ac6f6aca970e415595694048dc6bc769246c96b0ad34df36b8b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyClickhouseObservation (cyclomatic 72, cognitive 78): verifyClickhouseObservation has cyclomatic complexity 72 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c93d682203a8a9339e0ff4f6d3757635799fef97ef663c644e08bc78b8c6fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractInputAndOutput (cyclomatic 70, cognitive 97): extractInputAndOutput has cyclomatic complexity 70 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb22b29a35927baa549da24a547b2eed31e0fed0b59a0c79ed1898ffb7119cd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 65, cognitive 105): (anonymous) has cyclomatic complexity 65 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7572e89b2f6a5dd8b20f338337526b9f9bb8576d14245d0e787f974eb6c1bfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoErrorAnalysisQueueProcessor (cyclomatic 65, cognitive 99): autoErrorAnalysisQueueProcessor has cyclomatic complexity 65 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdff58a2bbf30e09b597123e061b5783c9bc470700cb5b3b5997ea23bfda90b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createEvalJobs (cyclomatic 61, cognitive 125): createEvalJobs has cyclomatic complexity 61 and cognitive complexity 125; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e243bf8f47ba4f4ec868cf87364a5f24c232837f7060379e1aec0705e178d6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 57, cognitive 57): (anonymous) has cyclomatic complexity 57 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3bf1e410a151e9284252bce0f05420a8f27fa05d22779b48f91e312f1e607f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildHierarchyGraphFromStepData (cyclomatic 56, cognitive 89): buildHierarchyGraphFromStepData has cyclomatic complexity 56 and cognitive complexity 89; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"328355056382d1a5c2ca3aa478a130b92f9cc8d8894bef59d8d4ebb012387386"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchLLMCompletion (cyclomatic 56, cognitive 71): fetchLLMCompletion has cyclomatic complexity 56 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"555a8daf180181eecf26509446ef285ffbb1c567abbd9ca5d7c57a15ce01dd84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PolicyGovernancePage (cyclomatic 52, cognitive 48): PolicyGovernancePage 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":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65550dc3faac19bff49742f97a126d822fb633f19a87f774e852835d770f297"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ObservationDetailView (cyclomatic 51, cognitive 43): ObservationDetailView has cyclomatic complexity 51 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d38a911385f091d1c0326f50ab4d63af02ae3c5d5d78135bdd1bf4de3c8703"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InnerEvaluatorForm (cyclomatic 51, cognitive 43): InnerEvaluatorForm has cyclomatic complexity 51 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a2494d30b3cc84e14c0866e1558ffadd19ef07a0e734810747a04a8569d514"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 99): (anonymous) has cyclomatic complexity 50 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca9b30caf7ab0153518c2e8e5d8ea317624ab75f94803053c9dee4664a8301f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleBatchActionJob (cyclomatic 50, cognitive 68): handleBatchActionJob has cyclomatic complexity 50 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":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfc1a24441865ee6ccd8dfc81579c53569fcb8a93ef01c09d90491463c7904e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataTableToolbar (cyclomatic 50, cognitive 39): DataTableToolbar has cyclomatic complexity 50 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-toolbar.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"190843fb88b19259a5a2dca0c72d6e9ce652642f1d4b6d330250bdede7fcfe55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SpanContent (cyclomatic 49, cognitive 38): SpanContent has cyclomatic complexity 49 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":"langfuse/web/src/components/trace2/components/SpanContent.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d977c697e3a8f0318b351292d259d51ebbe45700f26ee5bfaa3c05d1bfb433e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTracesBaseQuery (cyclomatic 46, cognitive 59): buildTracesBaseQuery has cyclomatic complexity 46 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":"langfuse/web/src/features/public-api/server/traces.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafe3070b93ed91c669d5823c3c455cd850a89a945629f821b7b08e26dc256de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LogViewToolbar (cyclomatic 46, cognitive 38): LogViewToolbar has cyclomatic complexity 46 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":"langfuse/web/src/components/trace2/components/TraceLogView/LogViewToolbar.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b0fcff6bfd11a1ab700103f699c9eccc28dc4f798563d20bf1fce93d0d2414"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 43): (anonymous) has cyclomatic complexity 44 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b486bcce6cdb0dd0c835155265e9d10522cb5b5ef503cc726af55d39d1761ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ObservationsEventsTable (cyclomatic 42, cognitive 41): ObservationsEventsTable has cyclomatic complexity 42 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacd60916959754d953e0af1f4b10c2eee449830bf35a13d7fe58d19046158a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SSOButtons (cyclomatic 42, cognitive 41): SSOButtons has cyclomatic complexity 42 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b54f403c0352a6d82381b6d0ee661e86f4c882a9045326fd2e9f5cff3b1691"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMatchingEvents (cyclomatic 41, cognitive 43): buildMatchingEvents has cyclomatic complexity 41 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/dashboard-v1-v2-consistency.servertest.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6f7c01a0550a857c152c7cbf700a6e9bbcc926aa510f613d03d0fd87869acd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMatchingEvents (cyclomatic 41, cognitive 43): buildMatchingEvents has cyclomatic complexity 41 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/sessions-ui-table.servertest.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"88322b9d20ced835b6cefa692dd7124d0f774ce460cae658caea10391c11bd01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ObservationGovernanceAnalysisPanel (cyclomatic 41, cognitive 38): ObservationGovernanceAnalysisPanel has cyclomatic complexity 41 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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd70a1b22ce20d0659d73155f29dc7b068adf363916942478fca574c686d406e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WidgetForm (cyclomatic 40, cognitive 37): WidgetForm has cyclomatic complexity 40 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2571c5252853ee8bd8bf8137800935ad3d04996b870f6b5ebb0aef805c9868b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyErrorTypeFilters (cyclomatic 39, cognitive 58): applyErrorTypeFilters has cyclomatic complexity 39 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed627f93439c60968ac2bd4db135ed3bda7d33c109f1c15a32d06fc7e8b6e7b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detect (cyclomatic 39, cognitive 55): detect has cyclomatic complexity 39 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"173491aab30bbc12e9a4a0115ec7349f8b2cc340a6df506484afe576d725f073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ErrorAnalysisSettings (cyclomatic 39, cognitive 30): ErrorAnalysisSettings has cyclomatic complexity 39 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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c6970857bb74caa7c2895ac79ca826b22139d309111e1593a87dafad193521"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function usePreviewData (cyclomatic 39, cognitive 22): usePreviewData has cyclomatic complexity 39 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":"langfuse/web/src/features/evals/hooks/usePreviewData.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"083a48c463f820d83a6b72025b3e65c096275627cb46fdc7efb9f12d7ac2dc75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractUsageDetails (cyclomatic 38, cognitive 73): extractUsageDetails has cyclomatic complexity 38 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b04a713f82e1d3ae877fd046b9219b9bd348a761a7214b74a4c0d74cd20e37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ObservationsTable (cyclomatic 38, cognitive 37): ObservationsTable has cyclomatic complexity 38 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7f85c02e7b7165721e8f69d9963e4d3ce5fac1afc7047f117257cb52cc39d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TimelineBar (cyclomatic 38, cognitive 27): TimelineBar 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":"langfuse/web/src/components/trace2/components/TraceTimeline/TimelineBar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd3302681d27e86293527919e8e7fcbd8c32e3e7280b2e45bc684202b498259"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 37, cognitive 59): (top-level) has cyclomatic complexity 37 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":"langfuse/web/src/initialize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d268a2f17a3a55ca6d9037cfa1949831a9885dac5943c119b3c944f6bfd8250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detect (cyclomatic 37, cognitive 46): detect has cyclomatic complexity 37 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":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eb238113739ef0e3850e66cdc84a6756fb8c81d9b076ba86825a1899e03edf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 39): (anonymous) has cyclomatic complexity 37 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb215aa820807e8cc799b8ed3184ec9c4ff416e3e027dc96cb697731f71551d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeEnrichedSpans (cyclomatic 37, cognitive 36): writeEnrichedSpans has cyclomatic complexity 37 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6d764d3cf483cefbb0601d0a37b8f685e49fbab0fc95dc356f3065d300c835"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ObservationPreview (cyclomatic 37, cognitive 34): ObservationPreview 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":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b414f99598be31ed20ce14ecbc52511943203f2285440c38874861270a4a413d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeSection (cyclomatic 36, cognitive 35): summarizeSection has cyclomatic complexity 36 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"025f07b8ecd786c0189b3dbf80fa47708dcb79227a365096a74ce33f4d293e45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateLLMApiKeyForm (cyclomatic 36, cognitive 32): CreateLLMApiKeyForm has cyclomatic complexity 36 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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b5191d68677b10868ce34c68674843f7665bfad995978cae7606c397656538"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyClickhouseTrace (cyclomatic 35, cognitive 38): verifyClickhouseTrace has cyclomatic complexity 35 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bdbfeb3abe13bd0cf998fbf1f7d2bec230605aa419b9f7067b72d58ec4a820"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deepParseJsonIterative (cyclomatic 34, cognitive 105): deepParseJsonIterative has cyclomatic complexity 34 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/json.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5910ec5121c209eb5ef320810db8a0c19343807e03f6384473e7571389d70ba6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeGeminiMessage (cyclomatic 34, cognitive 46): normalizeGeminiMessage has cyclomatic complexity 34 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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"963fcbefae0e3896bba28e695999cb2689caaf098b0654e65c1fcb5ae1a36409"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 38): (anonymous) has cyclomatic complexity 34 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9210851c2fbd2782d5677ffff8a1902b4830d7ebe1d02657550ba807d25d42a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusStep (cyclomatic 34, cognitive 26): StatusStep has cyclomatic complexity 34 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/StatusStep.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9358f3d94fbd6ad448a877a6af2d9a51b3f168fa191c667dfa5a798d85118e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 32): (anonymous) 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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a01a740ecdc043ddb54ef7e5bccb1ac1e0b467f94361f3fd61de003d582547f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildScoreComparisonQuery (cyclomatic 33, cognitive 32): buildScoreComparisonQuery 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":"langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c9bdf1fd46fefd606160ca970b04870cb1e9315a72a202df86bcb4da9bc7f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TracePreview (cyclomatic 33, cognitive 30): TracePreview has cyclomatic complexity 33 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"036addcf79b0765eecf835241babe83a6e53a26012e6f34b98fc5fe32f5adfd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createEventRecord (cyclomatic 33, cognitive 30): createEventRecord has cyclomatic complexity 33 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a85eba13b0db64713797a962fd8591b624756f298c1e3e3ae53123ca08d4c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 41): (anonymous) has cyclomatic complexity 32 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"539fe7c503b4311a911b20d4167510f21656db1dc351fab54ee8cc761d893d9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 41): (anonymous) has cyclomatic complexity 32 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dead73644ae545c20c9aeeb47ed74370d6c8ca1da255a681e7d3f8781b4a01f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 37): (anonymous) has cyclomatic complexity 32 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/ingestionQueue.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5007ac6a7c32c12108d7e79304417d656888e108339c1339372ec89ce6134397"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatMessage (cyclomatic 32, cognitive 34): ChatMessage has cyclomatic complexity 32 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ChatMessage.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e42a9034c014a130842dd798542914686d51c7ba744b6b8a680ca359afd24b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMessage (cyclomatic 32, cognitive 33): normalizeMessage has cyclomatic complexity 32 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":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc40a58f5be0fefcf800842ab3e9f354b3fdcea125fb4ed64fecfee1818eb16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TracesTable (cyclomatic 32, cognitive 30): TracesTable 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":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2bf8ec79cc46c97b7fc14335ce54e3b2860373b26dba8d76b517e510553e88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdvancedJsonSection (cyclomatic 32, cognitive 29): AdvancedJsonSection has cyclomatic complexity 32 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":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fe2c6458d683882a134de8435ace619bf102f143625259f3080d125c9579fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 29): (anonymous) has cyclomatic complexity 32 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":"langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07be1b252c604ca97846549b67dc0f736d3789d96478e44945c7fe5d3352f57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PrettyJsonView (cyclomatic 32, cognitive 26): PrettyJsonView has cyclomatic complexity 32 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"597311c0dfce50d45f347f6803105406db39b99bf3c0bb7484649b9f8685d4ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSampledTurnContext (cyclomatic 31, cognitive 45): buildSampledTurnContext has cyclomatic complexity 31 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec2d8950be4cf97fc5c90da57fc2df43d2cfded5eb1480d8b13f9dc259f6bdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preprocessData (cyclomatic 31, cognitive 33): preprocessData has cyclomatic complexity 31 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":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd6707246e39be90bd25309f4f03e783c3fddade3805367b63c28f502a8a614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DashboardWidget (cyclomatic 31, cognitive 29): DashboardWidget has cyclomatic complexity 31 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4b4b0f2130c3a2c1da6ced2942d8b436c731eeab4ae31174e1494661cfaf02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 28): (anonymous) has cyclomatic complexity 31 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/sessions-ui-table-service.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"712b64b889647a33a74f64116845177a95b18e89ec0b1d20e638630e97bed71f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getServerSideProps (cyclomatic 31, cognitive 20): getServerSideProps has cyclomatic complexity 31 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":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4141986500c2e949c78d79bafc3795560d6887da089a9aa064e387322d71e48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeUnicodeEscapesOnly (cyclomatic 30, cognitive 73): decodeUnicodeEscapesOnly has cyclomatic complexity 30 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/unicode.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6d364738a961a7d538f90d4233925222ae07ce86f9eb89bb1417cd99b1ed6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractTools (cyclomatic 30, cognitive 48): extractTools has cyclomatic complexity 30 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/extractTools.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9998dc73590d1c69acdd263e95b6928389778b9ca073bf562375f68d9a0cbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSubmit (cyclomatic 30, cognitive 46): onSubmit has cyclomatic complexity 30 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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5666d7ee61c3da5a99be7a693c6a5b934847bc47fced5b282244577f7ce468"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 26): (anonymous) has cyclomatic complexity 30 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a47a2b36cf28e8a107d9ec68dc0c8bc13ef9f0b8a167a59d19528d76075b04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 18): (anonymous) has cyclomatic complexity 30 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":"langfuse/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b370a98f3418bd8d082a7f06654fb02e7ce521b7913b6710e5bed997bd0b17ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 29, cognitive 53): handler has cyclomatic complexity 29 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dd517caa6e943ae1e982605e46520f689d72af74e234a485937a4ea24abfe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 31): (anonymous) has cyclomatic complexity 29 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":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19ad6ad647df45ee4a9357ed5c4bcb746ee9252ebdcdeb978720e1ddc7680aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptDetail (cyclomatic 29, cognitive 29): PromptDetail has cyclomatic complexity 29 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5be37f3619b280ed65bcef4ce03a2671c375723e7f393c5e2bac14e6b1f3d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractModelParameters (cyclomatic 28, cognitive 40): extractModelParameters has cyclomatic complexity 28 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"de59023bde371fb3e876f17ee15dc50a4ec9689e53afec4cdef528fbf5c77a16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 38): (anonymous) has cyclomatic complexity 28 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd165fcc23a5e6f31fbdb7096b89064dc04183a06edd81d107aa65dc7030d2da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 36): (anonymous) has cyclomatic complexity 28 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"da674274b184473a9bc50a566e067324e7502561c9882e142f276d6cc91b4b8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HeatmapCard (cyclomatic 28, cognitive 26): HeatmapCard has cyclomatic complexity 28 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/HeatmapCard.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd07f5c64e611363a679a4f05bc9e727dfe5ff7755539f69b6726e5eabbe35ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExperienceSummaryPage (cyclomatic 28, cognitive 23): ExperienceSummaryPage has cyclomatic complexity 28 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fdb98e5504664c3adc65df25e75f2e82870c1b495443b59e61c9fb1a199c0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeErrorAnalysisResult (cyclomatic 28, cognitive 15): normalizeErrorAnalysisResult has cyclomatic complexity 28 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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bada73aa27909e2848a62ff9d73e45430d2f92769f3f0dcbbdf2953634f66d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 48): (anonymous) has cyclomatic complexity 27 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c65d54895e59197a291d08dc074e1543e1e406a71f246a1d3759b23b2d15cd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeFiltersGeneric (cyclomatic 27, cognitive 37): decodeFiltersGeneric has cyclomatic complexity 27 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/lib/filter-query-encoding.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fc59c0cfe116e60743f79754a88726480fa5e9dc5e170d1845537636dbfa87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 37): (anonymous) has cyclomatic complexity 27 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a606b87e8f768c8388ed91b8fb023ac3937d5fc81a8bfef38b28a72ce1d3596"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 27, cognitive 28): fn has cyclomatic complexity 27 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/traces/index.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff651b167e098ca4dcb80862dcbb36fa8110b2dbec781d3bbe240fe1754feb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 26): (anonymous) has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/observationsTable.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7b64d888593539c184dd27b0a645285af7228b011aaf8a31998f9636b7f851"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubscriptionChanged (cyclomatic 27, cognitive 26): handleSubscriptionChanged has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5692e8a2eee44f58df3657c3cd3d7c2e420e15511a83309437da3748009f96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 26): (anonymous) has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aec7fc46bd7f7e0c9ea3274363fa1f8d5e9c8869a782e93d8eb1f816b436e2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 27, cognitive 26): fn has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/v2/scores/index.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"51358169453b07818b2cd4d3d7ea3f7048b6d2b5862e9ed9ee0c0e3853f3b613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PolicyGuideCard (cyclomatic 27, cognitive 23): PolicyGuideCard has cyclomatic complexity 27 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbaf7426bfc1d4423cd7d74dd7549e71d0228d72e318fae9432b4dbc3b5cf574"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExperienceSummaryHintSectionContent (cyclomatic 26, cognitive 61): buildExperienceSummaryHintSectionContent has cyclomatic complexity 26 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8c1902c036193ec63d89411202c36bffa52b227ce7d0cdbf71e1a4546f241b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 46): (anonymous) has cyclomatic complexity 26 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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"b110020b6cb6631b12be69a89ffb00b1976da905b8d6c332f894fca9b4346162"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 26, cognitive 38): handler has cyclomatic complexity 26 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scim/Users/index.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dacb71b33feebe3897db582c8e5fdb43f45eaa65c30ef981442b864232c5f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 25): (anonymous) has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"a795dc43434800e68adb10475ec51c74342177e1a7f7486018feba2f43f79469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function translateAggregation (cyclomatic 26, cognitive 14): translateAggregation has cyclomatic complexity 26 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":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f95cbc24a1a53984a8e1eb4cedab2563f8bc978ae62a3d0ed35dbf5f5af575"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyClickhouseScore (cyclomatic 26, cognitive 14): verifyClickhouseScore has cyclomatic complexity 26 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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0b4f320221f57407d7682c0ee62c5fd7e2270954e53c4f1660a34f2bc7352e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractToolCallsFromRawOutput (cyclomatic 25, cognitive 42): extractToolCallsFromRawOutput has cyclomatic complexity 25 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"522b9bf4dc6fa4cdd31d8949f4a74edf23bdf3d30494609c3a2ce86ba3995f0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterAndPrepareObservations (cyclomatic 25, cognitive 32): filterAndPrepareObservations has cyclomatic complexity 25 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":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a2a4a5caede419ee9a1810fa658ae8e4f4baae0cd5256072bf0927a014f271"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 28): (anonymous) has cyclomatic complexity 25 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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca667eb07cd763835e0235eaf360fdb48b2fd3fbf96e9886c84f7d35590aa22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommentList (cyclomatic 25, cognitive 24): CommentList has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"585d878fa971050d34280d7221c93666c4f7d8fa6a817661270521b2f7917797"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JSONView (cyclomatic 25, cognitive 23): JSONView 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":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2926b7490582d029526b9a2f4114944356f5eb81259a0fba724274dca53704c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CategoricalFacet (cyclomatic 25, cognitive 20): CategoricalFacet has cyclomatic complexity 25 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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"c948164737ad92e04a94a22638a531b6eea4274ee6069b3911ef53cc15b5e1a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 42): (anonymous) has cyclomatic complexity 24 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/public-api-filter-builder.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ef89fa6b088907258c4040e397f728f2d710201b173f331baa53aba78d26b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preprocessData (cyclomatic 24, cognitive 32): preprocessData 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":"langfuse/packages/shared/src/utils/chatml/adapters/generic.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e9ddc02cccde98de07784966941ad49cbebaf18971761a6f3de53cad61f89f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MembersTable (cyclomatic 24, cognitive 24): MembersTable has cyclomatic complexity 24 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f9ffb515cef41e7e9ece496ce7636bcb598731e9df13229a959274fadd5a7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScoresTable (cyclomatic 24, cognitive 23): ScoresTable has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd95ca94e452e29a16dd10a2cbe13daf497fac60c226ed8b5603b3e19aab92b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DistributionCategoricalCard (cyclomatic 24, cognitive 23): DistributionCategoricalCard has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdceb9d5855eed1898e0f8b097f5bc8cc2b7c0889ccffd6a290805afa355c2d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BlobStorageIntegrationSettingsForm (cyclomatic 24, cognitive 23): BlobStorageIntegrationSettingsForm has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"984ddba19fdf5f02a9e1d707e7f4a8261a69bb14c86e21e6bd70025b2a8ff14a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MultiStepExperimentForm (cyclomatic 24, cognitive 20): MultiStepExperimentForm 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":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8774ac7f14530a638c15d90ffc86b1025f4018e5db475d77a9e897fdc8cf394"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateIntoMultiUnitBuckets (cyclomatic 23, cognitive 58): aggregateIntoMultiUnitBuckets has cyclomatic complexity 23 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b297d1a7b39465bbc561e2b9dfac685d1ed5623279eed4bd9dab7e85efb3df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedSynthetic (cyclomatic 23, cognitive 53): seedSynthetic has cyclomatic complexity 23 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/dashboard-v1-v2-consistency.servertest.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8729cf19fb744d163aab8537168c6847d9f3ac9915e21ef63e102f8429c472d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTreeNodesBottomUp (cyclomatic 23, cognitive 45): buildTreeNodesBottomUp has cyclomatic complexity 23 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7d4f573a2595daa2791dcc6e37fc08ff5d297d24d829e09e7c5ca751de644c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 39): (anonymous) has cyclomatic complexity 23 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d335721a05378952ad11bb40c0a565f6e634eb629dc92f588b913bd66bd760"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePricingTiers (cyclomatic 23, cognitive 36): validatePricingTiers has cyclomatic complexity 23 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/model-pricing/validation.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f49a53528588a397fa4f930c3cc9b4af5c5840ccf1019f68e93aa2c80fc25dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertDataset (cyclomatic 23, cognitive 36): upsertDataset has cyclomatic complexity 23 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/actions/createDataset.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca957963bcff09dc40c09252c0eb9a9ef3267eb28d02efbe23aa474fcffb000"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PolicyConfirmationDetailsSheet (cyclomatic 23, cognitive 22): PolicyConfirmationDetailsSheet has cyclomatic complexity 23 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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationDetailsSheet.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"774ee1644c2a57f98f1194e4f0afa77237b49423a67634a91975ee9ff9de7d7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SignIn (cyclomatic 23, cognitive 21): SignIn has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa8708d57804089a024283af60e9cdd63d4853dc67a03546795622fa653de29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TraceDetailView (cyclomatic 23, cognitive 19): TraceDetailView has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb17c6685a18713cf1d43cdff691078a85ee87151e7a3c49e43f7a662513158"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 12): (anonymous) has cyclomatic complexity 23 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":"langfuse/packages/shared/src/server/filterToPrisma.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"276d0e440e06d33434db8e2a4f9b338cb92407bdcda7fa64cf4f95f3504407a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMessage (cyclomatic 22, cognitive 44): normalizeMessage has cyclomatic complexity 22 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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f0fe6cf267baf2f9833639d63ad0fc7a54b95ca0eb06c8ab0ed0873888301e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 33): (anonymous) has cyclomatic complexity 22 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":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6382c52be7c6cb7497d9326d351685b8bf5b9ffc610c71088fd026767ff65ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createProjectMembershipsOnSignup (cyclomatic 22, cognitive 23): createProjectMembershipsOnSignup 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":"langfuse/web/src/features/auth/lib/createProjectMembershipsOnSignup.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f726c8531e009f922d68b011b8aa45b945621f69f88fd52fcf23747a010227"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f938df564bb51b2631c2bc95d0e9f89f689d134759b5196de0f2646f3bb5b63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/hooks/useEventsFilterOptions.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbe08f20cacbde30648c242726f670c84d12aadae90dbd42c09b679e725f9cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildColorMappings (cyclomatic 22, cognitive 21): buildColorMappings 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":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f6d5f7087d9b26a2efab73452b67c64a8e4191c6fe43b8ce02135d2e331b9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 22, cognitive 18): fn has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"82db90c1d88cf6614dca781dd182d44f49e58deb550535370290d68c59d0bdd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VersionLabel (cyclomatic 22, cognitive 18): VersionLabel has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/VersionLabel.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f232ebe829149370381f96eae0e2268073dda2e23b186c0b50ce9dd6138bf5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelUsageChart (cyclomatic 22, cognitive 18): ModelUsageChart has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46ca9b7a1675e0a8c123782817166a6d22bed03234e75aae290079bbc69638e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DatasetItemDetailPage (cyclomatic 22, cognitive 18): DatasetItemDetailPage has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemDetailPage.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"27895a6d9e188bf216828e812cc82df851d888a6abcdad5fea3a26260b995187"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 16): (anonymous) has cyclomatic complexity 22 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":"langfuse/web/src/components/ui/chart.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4525415d68536895417a62c60e4dd19c9afbfb72211bc40c575b64e1646821"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Heatmap (cyclomatic 22, cognitive 14): Heatmap has cyclomatic complexity 22 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":"langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a768c59cf5545e2ec4b09643941385084bcaa8ecd2d1b8a536e2764858b2a887"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAndCoerceTypeClassificationResult (cyclomatic 22, cognitive 13): normalizeAndCoerceTypeClassificationResult has cyclomatic complexity 22 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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e828673989acfacfbb5a567abcbf62ec9ab34409811206ad0a6ff160f158d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAndCoerceTypeClassificationResult (cyclomatic 22, cognitive 13): normalizeAndCoerceTypeClassificationResult has cyclomatic complexity 22 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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3d003f4c1aed1d4fbdb41c4b1dcf4484e5b09ff82d5b4fdbba7a429540988d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 35): (anonymous) has cyclomatic complexity 21 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/apiAuth.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"416ab640037fc9e5b8bfad5ada5a2a61ced44772ab1799bf0832eab670fc7b0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 21, cognitive 31): run has cyclomatic complexity 21 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d48628410471b81fe37b94e982e3d91409090d21686a096f2370a555fd83a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPrismaWhereFromFilterState (cyclomatic 21, cognitive 28): buildPrismaWhereFromFilterState has cyclomatic complexity 21 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":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11efe1150f48811f41bd77197d8515d0403e4ca0022705753535cf3549afd1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 25): (anonymous) has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"856a7ecc78797943271d39523e8d0beaf2a2c5fa47c4fef5c39ed84e602e7384"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 21, cognitive 24): fn has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/otel/v1/traces/index.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d7ef9601f4d535259f1c8307af597883aa9ab30ef5de1bffccef45d3727cc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processObservationEventList (cyclomatic 21, cognitive 23): processObservationEventList has cyclomatic complexity 21 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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b90b7120bf5b1a561f22b3644c78852512e7b79275f24a24d3045286469953"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoExperienceSummaryQueueProcessor (cyclomatic 21, cognitive 22): autoExperienceSummaryQueueProcessor has cyclomatic complexity 21 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":"langfuse/worker/src/queues/autoExperienceSummaryQueue.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2805a1d117bb0895430428e143487c676ad49f22ca78abca90c63a370f792a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 21): (anonymous) has cyclomatic complexity 21 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/otelIngestionQueue.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a91e72bad59e105ef02df02d4f4fe16b8e988a2c59581a78cbf32aebdeac21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionsTable (cyclomatic 21, cognitive 20): SessionsTable 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":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"73631cfae4244070eafc81aaa00e3fa593db49159228d6866cff1a9d688630af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DatasetAggregateCellContent (cyclomatic 21, cognitive 20): DatasetAggregateCellContent 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":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5f7f6eaa8e85f3d98bef91ba71f6283c39907692d0bd33275ea51e9b21c269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewPromptForm (cyclomatic 21, cognitive 20): NewPromptForm 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":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"76821a22ce4cd8489ef975892cf9ceeb4bbb243f4042a3c9798018a1e251a251"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DistributionNumericCard (cyclomatic 21, cognitive 20): DistributionNumericCard 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":"langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a4968f17af645510ae586e46967c65b4101fbc0a45abb896b53143facbcd01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TracePage (cyclomatic 21, cognitive 19): TracePage 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":"langfuse/web/src/components/trace2/TracePage.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab443e7fdc4466742867e8b824323ac5cc9e16e9636b505236ae0c421e2fdc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnnotationQueueItemPage (cyclomatic 21, cognitive 17): AnnotationQueueItemPage has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e980c129658a22738563e91bbb2701af3fbd2de40742f55ccd2cb931beb2506"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 21, cognitive 17): (top-level) has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"619cf2475184282f94a55458ea6bc424925169364cd7059daf59f7fd8b27817f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ErrorAnalysisDropdown (cyclomatic 21, cognitive 17): ErrorAnalysisDropdown has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e3147e5ac34cf0c09184d28afbc08e651e43050013c717288dd1fbd95f74a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewEvaluatorPage (cyclomatic 21, cognitive 16): NewEvaluatorPage has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/new-evaluator.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"466713ad8c10b19940c2aa027782c6245f4f497cb5a2e817946f8c88a48c28e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractVariablesFromTracingData (cyclomatic 20, cognitive 46): extractVariablesFromTracingData has cyclomatic complexity 20 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":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b84c087ba5c440a7513787b6150638684787d94a14e7b54a58cab5f4287a1bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 43): (anonymous) has cyclomatic complexity 20 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/hooks/useChatMLParser.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee54b901097b657364d165c733c0d57f07b71723feaeb9cff2f547d728a147c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCloudUsageMeteringJob (cyclomatic 20, cognitive 31): handleCloudUsageMeteringJob has cyclomatic complexity 20 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":"langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"25339f9e2e5bb6b656f8514d8198eac9ac26213f5ba84541707b10b3f15156a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preprocessData (cyclomatic 20, cognitive 30): preprocessData has cyclomatic complexity 20 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cfcbd11ad5eed4681c0ea2241691a1d4dbb9ccdb24b51aa8329d8e065a74e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptTrace (cyclomatic 20, cognitive 29): adaptTrace has cyclomatic complexity 20 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":"langfuse/packages/shared/scripts/seeder/utils/framework-traces/framework-trace-loader.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bf552c045fa4778828d1dee55e0bb51c2a5c6b16c6107d02fa5997417526a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preprocessData (cyclomatic 20, cognitive 28): preprocessData 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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d57823e265f304d464e159c0cceaa6fbe25da088fd3f2674543413fdc941ba4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 20, cognitive 28): run 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":"langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cb849b91557a43f1fefff2a401333fcd59325d0eeaace24471b829be177e89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detect (cyclomatic 20, cognitive 25): detect has cyclomatic complexity 20 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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf89337dacaf775320bb898602b899a82db5acba17d538dd5d844fbd07140a4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toCompactVerbosityChatML (cyclomatic 20, cognitive 24): toCompactVerbosityChatML has cyclomatic complexity 20 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/IORepresentation/chatML/toCompactVerbosityChatML.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ccb129b9f46fcadb3c05433da3fa2bb941ddb94f1db06877acabfacb3eb7da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 21): (anonymous) has cyclomatic complexity 20 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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"431770bc02bfd1d006762c93e435cdd825b6c5ef96f3d015eafbbbb4d139b815"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewDatasetItemFromExistingObject (cyclomatic 20, cognitive 19): NewDatasetItemFromExistingObject 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":"langfuse/web/src/features/datasets/components/NewDatasetItemFromExistingObject.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfe1a256ce46fc23c6fc4dac3525620da1bcdd49ed4ead274bd3e6ea42a8677"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 20, cognitive 19): fn 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":"langfuse/web/src/pages/api/public/v2/observations/index.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3933cf4115a8f45b49b526e15cc81b76234f63036f68752ae7da6656fd357491"}},{"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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b640b041d715c51153258526152b9aac0d9a9579c84746a04ef0c59216d8c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DashboardDetail (cyclomatic 20, cognitive 18): DashboardDetail 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":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"33851af2ce072f2651deee677f07d01da704afd6501eeece9f70cd1a553f29c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelDetailPage (cyclomatic 20, cognitive 18): ModelDetailPage 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":"langfuse/web/src/pages/project/[projectId]/settings/models/[modelId].tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b0740a9e44503f56844821692942c5b45dd3745f6ad12a61881e7ab27cbbdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MappingPreviewPanel (cyclomatic 20, cognitive 15): MappingPreviewPanel 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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingPreviewPanel.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"796c3f2a3fe967fc3b3fb2490f223fd1976719c7b9f9873cf37ae27b8b6ea990"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCommentFilters (cyclomatic 19, cognitive 51): applyCommentFilters has cyclomatic complexity 19 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/commentFilterService.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6f77f9f7421d3d033d20d143be00dc85826e5cb8c4def1de780061637b5b83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyFieldMappingConfig (cyclomatic 19, cognitive 42): applyFieldMappingConfig has cyclomatic complexity 19 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/batchAction/applyFieldMapping.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c2cc7443005ad195f32fa31c241660db41ab1c48f7803de90ee7031f9e1a11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFromParts (cyclomatic 19, cognitive 35): extractFromParts has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/pydantic-ai.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadba08db0b89be916a434ab659d61b2692c55fff71f53616f9e1a7037bc24d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 31): (anonymous) has cyclomatic complexity 19 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":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7a1611a9036a23e403c1a0e8700dc3d427ea2b894e397d2ac461538d40d84b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCloudSpendAlertJob (cyclomatic 19, cognitive 29): handleCloudSpendAlertJob has cyclomatic complexity 19 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":"langfuse/worker/src/ee/cloudSpendAlerts/handleCloudSpendAlertJob.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"416439dc823a7d6877fb1fb9b719eb14dde2406892406682f215e5b2a2fe4e29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 24): (anonymous) has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"418671f437f7af69439d47c37b1c00a423daea22d9268f6023eda3d8d96b9bd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processGitHubDispatchActionConfig (cyclomatic 19, cognitive 23): processGitHubDispatchActionConfig has cyclomatic complexity 19 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":"langfuse/web/src/features/automations/server/githubDispatchHelpers.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee22ac4ca7457bc43aa2528172aad91a2f6869c2941f8468d6f4a270f66db41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleBlobStorageIntegrationProjectJob (cyclomatic 19, cognitive 23): handleBlobStorageIntegrationProjectJob has cyclomatic complexity 19 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":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"28726bfdde5ba394ab02320e5cc7c5068e7483a11aa227940f66e2cc5d93660d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractExperimentFields (cyclomatic 19, cognitive 20): extractExperimentFields has cyclomatic complexity 19 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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d11a47c73836f5a06d617f8b727538eb9433555fdc7533c00bff7ce1c6a078"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleBatchExportJob (cyclomatic 19, cognitive 20): handleBatchExportJob has cyclomatic complexity 19 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":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adaa6a5c109efe4b681a2df6fb586cda75b3cb3de60b70ac2cfb8e9049b8e54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detect (cyclomatic 19, cognitive 19): detect 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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"44457491935e6e428aa4940ea0523546ff51ffeb78d713e7be59cb118a0c3345"}},{"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":"langfuse/packages/shared/src/server/repositories/scores_converters.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90e138ecf92cde43b848c8e152d9f802a455c8cc92f99f4ad12f379ca3c8503"}},{"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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7a0069639b5bf32264c755aa680eaf6c63ff74215c8e726218dacbb20ea7ec"}},{"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":"langfuse/web/src/features/datasets/components/DatasetActionButton.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa5bc7cce474a041a82e6f23d46caf0e6cba8726a8fe5e911888c448aedb9a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTraceEvent (cyclomatic 19, cognitive 16): createTraceEvent has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4993c970fc73130ec0f6ffc807fc2fc730149f707071004cf28dbe5b8773d4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkdownView (cyclomatic 19, cognitive 16): MarkdownView has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/MarkdownViewer.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aeb3fcc4c8a7e093df5f606e0fa27a0af9dced28b87bd75073ea9dfac5e22d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d956ea95a1cd91f300a6b8700a5c98103f46dfa7525bcf98c01d9c9a79470eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrichSpansWithExperiment (cyclomatic 19, cognitive 16): enrichSpansWithExperiment has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef286682d3e327952cf794a1294d5b57b80e265f3d2817aacd26b270ca252da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createObservationEvent (cyclomatic 19, cognitive 14): createObservationEvent has cyclomatic complexity 19 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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99d9f66bc27b33d545c4954aea3bebad73af2b370e200c7ea78f415f4e97c2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CorrectedOutputField (cyclomatic 19, cognitive 14): CorrectedOutputField has cyclomatic complexity 19 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":"langfuse/web/src/components/trace2/components/IOPreview/components/CorrectedOutputField.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c56b26dc0e0fdd514e549ff83dffaec17c688f050cb8f01f2a1edd45aba48b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 14): (anonymous) has cyclomatic complexity 19 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":"langfuse/web/src/server/api/routers/traces.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18481d1aca365482f6346d603bf8b199e955f68d79ea7893f6c03a28b5f5c1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DatasetItemContent (cyclomatic 19, cognitive 13): DatasetItemContent has cyclomatic complexity 19 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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/items/[itemId]/index.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b697abcb2b173aa1abc59dab36247c719c875a5ad4308ceb27fa4c0a21b9cd47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assignGlobalTimingSteps (cyclomatic 18, cognitive 37): assignGlobalTimingSteps has cyclomatic complexity 18 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildStepData.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0351b340c0c8fa5e8cccca6cf5e1941fddd7b0c1e264c71d2cfb5812e60663a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 26): (anonymous) has cyclomatic complexity 18 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c348bcdcbde3e7e6da4bab3bad39739c172947fa9c28aba607477864038c22f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFromParts (cyclomatic 18, cognitive 25): extractFromParts has cyclomatic complexity 18 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":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffce708ab0f5fea8a4aabc9640e5f7f63cc248bbe83023a4ea401be831b19dcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUsageUnits (cyclomatic 18, cognitive 23): getUsageUnits has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"807dd80cbbf95ecd8f3bdceff5e970cfc1aa3847b7aa95840bad8841537497bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectionToPath (cyclomatic 18, cognitive 21): selectionToPath 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":"langfuse/web/src/features/comments/lib/selectionToPath.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7340ffa56395b9e50d6974057dbf7fdd911ef2065e16c5b7bc01ad56d5378f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 20): (anonymous) has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc8bf67213c1d12e2c63eef476ce54ba5b708b50a04d0c364d245924a3d1097"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 19): (anonymous) has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/factory.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b47d0d75f2b7ac2bf5c0a6253b0d5c011d9c19be4517038de0126567fd2d118"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getParserSuffixLabel (cyclomatic 18, cognitive 19): getParserSuffixLabel has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/nodeNameUtils.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc84aad8d4cc97c55bc0f57dec7b8d07def376142110990a67120e463c62f3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateUsageCosts (cyclomatic 18, cognitive 19): calculateUsageCosts has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa00a78de70b15d65ece07e0b0d6a1c5f37ef1bfcd755f666bd2e9d1eab276dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 18): (anonymous) 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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"229342daed7633df7475cc124f761c6fe4ae9ef12c4c0cb183573ba9831b6d99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"3377eaf506ede63ca1609f471975c65497bd3e547c395523e716a3c6306a4bc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"69529bd98a8dfd47e46c0d3d98216e64661a18833b710533c0617fa0eb25543d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Dataset (cyclomatic 18, cognitive 17): Dataset 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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06921da67c2959325510f920edac263c9efde3f07a46ee25a75234bdeb62944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSubmit (cyclomatic 18, cognitive 16): onSubmit has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"068901fe44d3f5541a61cff04f6054ceacfe0a71a0cf9e4187b71a006b61abc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 16): (anonymous) has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faf559e49b686e1bf8e82f03a87bc0de6cd46532c24afd7ab1fd3a57c2f7735"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CellWithData (cyclomatic 18, cognitive 15): CellWithData has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/HeatmapCell.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"035459fe9bbad324608e5c863401eade2f90902a4135f5996f6f79d93e824b49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddObservationsToDatasetDialog (cyclomatic 18, cognitive 11): AddObservationsToDatasetDialog has cyclomatic complexity 18 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":"langfuse/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f9f4466df134a19fcae9669805ecfdcf37e4218b2f43d7db0989a54976e99b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFromParts (cyclomatic 17, cognitive 28): extractFromParts has cyclomatic complexity 17 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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c0f79be55aefef04fcb326fef5242984681b270bdef955f4f811bada22380a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getObservationsFromEventsTableInternal (cyclomatic 17, cognitive 25): getObservationsFromEventsTableInternal has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eceafdaf56c9e242f4e114eb1de4e1256e63c4b7155bebc42388b87ca718042"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateCategoricalIntoMultiUnitBuckets (cyclomatic 17, cognitive 25): aggregateCategoricalIntoMultiUnitBuckets has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57f5bd2952788a94a7a931ef7ceebf43ff2ef45fa6b47624326f9c45126a27f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 17, cognitive 24): run has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dc6188185f4a8b57a12c17d97ddae220af0ed7ddc3f64cc4ade0bb73d69040"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 23): handler 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":"langfuse/web/src/pages/api/public/prompts.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0dbb6f6519b9bfe18a4e0eac9d51ace3dc2b91e84c5a04add0897bca2c2c87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMessage (cyclomatic 17, cognitive 22): normalizeMessage has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"401ebfddab4578f8de8db3f2b819afa2d422a1e380d818dc97df588c53e85a6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 22): (anonymous) has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/auth.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"307b10f5f07bf20152dfcd371246dc31ffdfe68d3f88276fc6666f8f6df743f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 21): (anonymous) has cyclomatic complexity 17 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":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a14dbc4028d6b697eb0bb9a359e473229f5ef50d24658c013622e1ae8c4641"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCommentMentionNotification (cyclomatic 17, cognitive 20): handleCommentMentionNotification has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/notifications/commentMentionHandler.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce93a7a453784ac0cf58c52a9d51bf4bc3ed3555a4dfd099c9bc57b71e910c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processThresholds (cyclomatic 17, cognitive 18): processThresholds 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":"langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecbd6c7fcef059264428b983ceaf73394427db9237556179cd58c103a3b3a49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/multi-tenant-sso/utils.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46d2ed3cfa90777a4723c4f13d589c7b43b2a51ada2bbfc3efead52b7d346a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 17, cognitive 17): fn 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":"langfuse/web/src/pages/api/public/dataset-run-items.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f1eb1cc23b91c0505f8791a8b43be36163a39afa025186aa9f41a763f96a5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionEventsPage (cyclomatic 17, cognitive 16): SessionEventsPage 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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"829f5e34875e45fb96a949b4722fb31d28f4a875524ed927377f320e9e08fb79"}},{"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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"6230552742715a41809f57831e40b89ee19ceeb2929d58bffed3f0a1425fafb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DistributionBooleanCard (cyclomatic 17, cognitive 16): DistributionBooleanCard 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":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"234572a14dd30d26d8d5aade4ca12d51baa67aa3cc9749aa2d3124346c6d5608"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 17, cognitive 16): fn 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":"langfuse/web/src/pages/api/public/scores/index.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0111c7c5a4278eb0551c721b6585738a16f0d4a249e8ac657f450f6fcdbc4622"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8f8c76f4467a53565b459ce55da3679954f4242a3412a544b06e6f2d2e216d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMockJobExecution (cyclomatic 17, cognitive 16): createMockJobExecution 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":"langfuse/worker/src/features/evaluation/observationEval/__tests__/fixtures.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"37249e75231335daa398ae7c4448e403574dae84c5c5bcb8a0abdf0bf2a0f45e"}},{"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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b787789cb9f399ea4d115cc47032dc94c122f3334ffef6df27f9c4474788210"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CollapsibleSection (cyclomatic 17, cognitive 15): CollapsibleSection 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":"langfuse/web/src/features/playground/page/components/CollapsibleSection.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"81175ee0e5d35d33db1563b2434eaa923a3be7294dfd327544cfd31da8a063f3"}},{"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":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a690ec9e6c225109f3ae10635a26d5bbd09deb939a9ebd69ff853809eb0a38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InnerEvalTemplateForm (cyclomatic 17, cognitive 14): InnerEvalTemplateForm has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de49cdef8e31bd5bf8f80a52a7515577b24755deb4a2db1b69087af9b89d938"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateOrEditAnnotationQueueButton (cyclomatic 17, cognitive 13): CreateOrEditAnnotationQueueButton 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":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf7d97471fb58e1faac6332674aa7e053f5da3b9f500c05e67e6379647c9a18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SetupPage (cyclomatic 17, cognitive 13): SetupPage 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":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a35e04d667043b5dd7ede95c84da4f805bf025ae1e99795432e94bfb4e2cf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PeekViewEvaluatorConfigDetail (cyclomatic 17, cognitive 12): PeekViewEvaluatorConfigDetail has cyclomatic complexity 17 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/peek/peek-evaluator-config-detail.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"009854e6a9b14f4f9c1a1b111f7d66785a9b835c2b63e0c5319795841a1ee7a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 32): (anonymous) has cyclomatic complexity 16 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":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c54072aa07f73d7ff1b71596120833f2612bc48e5d2ab8e7e983ea4ad8532"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createManyDatasetItems (cyclomatic 16, cognitive 26): createManyDatasetItems has cyclomatic complexity 16 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":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b5710f684d6603e2d5951a8f985feae13f82b91861f058d8b04d712ec6f6f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateTraceMetrics (cyclomatic 16, cognitive 25): aggregateTraceMetrics has cyclomatic complexity 16 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":"langfuse/web/src/components/trace2/lib/trace-aggregation.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"59aa4d597a380d052d4a973413b14567b988635740f3c9d69ad2b8c929bb9784"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 16, cognitive 24): run has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"685f50a139f70f7eaf206fd9754d2d4777eb7e0acd422da0cad1e99ffb2dacb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cell (cyclomatic 16, cognitive 22): cell 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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a67d73d56862eed6aa7b33bd7676c9e5edf887773bf06dbb26a2582b81cc0c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processWebhookHeaders (cyclomatic 16, cognitive 22): processWebhookHeaders 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":"langfuse/web/src/features/automations/server/webhookHelpers.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9870f328cd246e36a96581a739045fba08d10ac124c48638ac1cacb6d00bf8a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScoreAnalyticsNoticeBanner (cyclomatic 16, cognitive 19): ScoreAnalyticsNoticeBanner has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/ScoreAnalyticsNoticeBanner.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"85866c383f37c7ac63f92c8d25f28b6835ee16384888688a8da7b10583a29e54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPlainEventSupportRequestMetadataComponents (cyclomatic 16, cognitive 18): buildPlainEventSupportRequestMetadataComponents has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/plain/events/supportRequestMetadataEvent.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a265f44bec0ad9159f8cb026e75815c2fb5005a7c2258f28c8e187cead7e73d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 17): (anonymous) has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"749fbb4a5130ff695844d3de80feaf10e5e2629ac9cf24d9ea48be22e6bbd81b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 17): (anonymous) has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/lib/costCalculations.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"083833f99c01e3c3fdecdb8dd5690bb308f1405607f06906a284f1daf33ef67b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/definitions.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"04931728177567ef1247fa8ade31d388b624a2e6399eec1dfbf3bba29892a9cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataTablePagination (cyclomatic 16, cognitive 15): DataTablePagination 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":"langfuse/web/src/components/table/data-table-pagination.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"86707d9fb6b1a50520c7a165e058f2ceb6ede7bdd0b09d843d6cd1a86f57bfbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f2bfca24665c1dfae38a3066befe746eaf47097bd5cd5aacfdda4f6da48573"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TraceGovernanceBanner (cyclomatic 16, cognitive 15): TraceGovernanceBanner 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":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ed3fc189b2e65e5df4a47a1cba982785c82e734ed1adba0267b6bc7ef14f58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cell (cyclomatic 16, cognitive 15): cell 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":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e8d46469980d41ccb90c2181a9ef6cff74fb1fff97e4223eff838cdf5ab1d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DatasetRunsTable (cyclomatic 16, cognitive 15): DatasetRunsTable 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":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcac2d214e46e0e96ed04a58d8a8a3dbc4319f6bfd65287c7e315b3bfa068e70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TimelineChartCard (cyclomatic 16, cognitive 15): TimelineChartCard 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":"langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc2cf62d0de921c29356811b20a91e2d7d8fcf6301ff6c855dda230808fb0d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 16, cognitive 15): fn 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":"langfuse/web/src/pages/api/public/observations/index.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ae31ad83b41ded6c83cd16f8ff63ce70b74a6448d7a2e2ccf3d6bbb846e753"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMockJobConfiguration (cyclomatic 16, cognitive 15): createMockJobConfiguration 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":"langfuse/worker/src/features/evaluation/observationEval/__tests__/fixtures.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ce06b5a66f0ebbd284af76fdc82cc30d2f18a1944a6e3bebb1e335138c390f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BlobStorageIntegrationSettings (cyclomatic 16, cognitive 14): BlobStorageIntegrationSettings 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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbef62f0424a84f5eb0f53b9a3235a466edc9615197648e41adc579b4fa9150b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractTags (cyclomatic 16, cognitive 13): extractTags 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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f77d4e6c8bc3c203a48394ad45c05d832de3d4ad0d46c89131b08dceadd8745"}},{"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":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81b7a075d86a075622617c8f34023d2bdf9ff7e1a14c1fa32b8522f68950c1b"}},{"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":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c086e7a2d05d3bc82d826d8725a9e194cc191a06ab2f21022f89e656c85ad3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 12): (anonymous) has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdc18d0d34ef844a5c0cbf9d115e2ebc47e944f5338642f6cdbbc3bc48f7f67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 11): (anonymous) has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/app-layout/hooks/useAuthGuard.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6010dab1fbcb7fa55789093f22197d7c086a3f9119b61fe04b71dc1bff560e37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateExperimentsForm (cyclomatic 16, cognitive 11): CreateExperimentsForm has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/CreateExperimentsForm.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c19ba9b0bb3f8fb150e6b7a11a93565913a568a531a72e25a9c721cc1868dc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IOPreview (cyclomatic 16, cognitive 10): IOPreview has cyclomatic complexity 16 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":"langfuse/web/src/components/trace2/components/IOPreview/IOPreview.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb84e9e21b594a30dc500ed4b956b5dbbbd9ded331509347e197972b5bc80438"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 15, cognitive 35): run has cyclomatic complexity 15 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/patchLLMToolAndLLLMSchemaAuditLogs.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd82c612eea0246a1c88bba4f243d9cb907a39492f4b44e21059ad94fa2088c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillGapsInSingleUnitData (cyclomatic 15, cognitive 30): fillGapsInSingleUnitData has cyclomatic complexity 15 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f2e4657ced1cd66f3516ace612b857c2a1f4f6fa8872e2fee6de570c17bf6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processUsageAggregationForAllOrgs (cyclomatic 15, cognitive 30): processUsageAggregationForAllOrgs has cyclomatic complexity 15 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/usageAggregation.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f4afa999be0ec83014e4ef3ea6fc3e3404eacec2c2f993df5ff388077cb957"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractToolsFromRawInput (cyclomatic 15, cognitive 27): extractToolsFromRawInput has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"83719efc7cb19eff38698d9662d98f2c5da0c5aefe29168a0f91991bed4cd867"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 24): main has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc3f2662e49c3bc84c698f2c18c7d4f57090af1cae3982ec8b94a75ae144369"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildKernelObservationIoSourceMap (cyclomatic 15, cognitive 20): buildKernelObservationIoSourceMap has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/observationIoSource.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c980716c76ab73e4a05178f239cc05e28db03d285a3420593254d488113c0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePolicyNamesFromMetadata (cyclomatic 15, cognitive 19): parsePolicyNamesFromMetadata has cyclomatic complexity 15 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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c511a01a07312bd50cfb8905fef1053a44184d72a27b910805ea1fc936b118"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePolicyNamesFromMetadata (cyclomatic 15, cognitive 19): parsePolicyNamesFromMetadata has cyclomatic complexity 15 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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a707d9a1063b75c89b95d19b4b30eec912cebdd4513c009953668b33a191d502"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testLLMConnection (cyclomatic 15, cognitive 19): testLLMConnection has cyclomatic complexity 15 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":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fa427ffd9907221ca103739c345567af62ebae816bafed863eae4a3851d86a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 19): (anonymous) has cyclomatic complexity 15 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":"langfuse/web/src/features/support-chat/trpc/plainRouter.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2913397b15fa0c2fae7d0e81cf785a4dcf5e8d45126ad5090666d7b0726bc7ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build (cyclomatic 15, cognitive 18): build has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"022c7a3e583bb0e582aa0a792f15891b49b6ef40718762bcc9f65032f2eabd49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelParameters (cyclomatic 15, cognitive 16): ModelParameters 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":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dbed17288615cbd0acbc5196cab5f55955b8458daab4eb09d3fe8ad841d19d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) 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":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4486d8574da72186854d2b2de589bf0689a4ef44e7383efe57bddff03fa4d49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function traceException (cyclomatic 15, cognitive 14): traceException 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":"langfuse/packages/shared/src/server/instrumentation/index.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aac4e6c88f5d909705281b4f2de44712ecb315f1cb4d5119012860a93a2ef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AppLayout (cyclomatic 15, cognitive 14): AppLayout 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":"langfuse/web/src/components/layouts/app-layout/index.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4400366ef08ae09f6da181c275d9d68a181d10798f4cede588091c53bfba7ac"}},{"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":"langfuse/web/src/components/table/data-table.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32d9b911d87425820d81be0483998630ff26c5852369a3e8aa916f21fcc427c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDragEnd (cyclomatic 15, cognitive 14): handleDragEnd 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":"langfuse/web/src/features/datasets/hooks/useCsvDragAndDrop.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a017916fd19e53ae47a4fa9aa44f9d3be1db9f88ccb92fb2fc14d768e433c3ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RemapEvaluatorPage (cyclomatic 15, cognitive 14): RemapEvaluatorPage 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":"langfuse/web/src/features/evals/pages/remap-evaluator.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cc0bc1161f455330c5077340ecae75046c2c585e94681301b733c9b922f7d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _handleGenerateScoresForPublicApi (cyclomatic 15, cognitive 14): _handleGenerateScoresForPublicApi 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":"langfuse/web/src/features/public-api/server/scores.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01df9a340f163654414f116d5efd939dc67c3240d4d4499d3ac89972a4ebdc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UsersTable (cyclomatic 15, cognitive 14): UsersTable 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":"langfuse/web/src/pages/project/[projectId]/users.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10c0bd8ae3cde6792d0f45387696783d41f852a5957be77f4ffc83011bf598c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertValueToPlainJavascript (cyclomatic 15, cognitive 13): convertValueToPlainJavascript 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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e81d921b59825a2ad8909c6b6803ba8ed6fcca626c2afeaad7d68f618ec8f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/ToolCallDefinitionCard.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a4336b428496909901e33d20047e5643d3f2a5439f2c2ce96605e8de4ce070"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ObservationDetailViewHeader (cyclomatic 15, cognitive 13): ObservationDetailViewHeader 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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailViewHeader.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2c8897dd649b612a7e80b636d82863f4146ae9dff651201c419385e79846b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signupApiHandler (cyclomatic 15, cognitive 13): signupApiHandler 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":"langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"01660c93b90f48c9ec851d2048e930b024dab36d2b28c15e63a194540c1088bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PolicyConfirmationStatsCard (cyclomatic 15, cognitive 13): PolicyConfirmationStatsCard 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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"009eb9e0c78a6e23a036e52f804dec83036e1907efe5a2937cc6b4f0a40ed0c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewCsvImport (cyclomatic 15, cognitive 13): PreviewCsvImport 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":"langfuse/web/src/features/datasets/components/PreviewCsvImport.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0470b34fd3bac7c793bac08546e12ed7a151d286d72138c1939a6ec66f7f7ced"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EvaluatorDetail (cyclomatic 15, cognitive 12): EvaluatorDetail 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":"langfuse/web/src/features/evals/components/evaluator-detail.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1bc8b0f0dbf79523abe44ea6aac0092f8c24c1da54629ffa54c1cf107c43f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MultiSelectKeyValues (cyclomatic 15, cognitive 12): MultiSelectKeyValues 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":"langfuse/web/src/features/scores/components/multi-select-key-values.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e993bdb0a9abf5cc3b8268cadf20a3845cec9900c3654f871a48fef0447e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 12): handler 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":"langfuse/web/src/pages/api/public/projects/[projectId]/memberships/index.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8c5a9ec8da7b6e15b58f81930d5bf2486d0738a4596b9a944b3b623fa568af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IOPreviewJSONInner (cyclomatic 15, cognitive 11): IOPreviewJSONInner has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSON.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a18bb7492ab709b22c6273e3b4760cdbcd290dd1d4b4498987030256e22cb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JsonRowFixed (cyclomatic 15, cognitive 11): JsonRowFixed has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonRowFixed.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"773d7f4f970678983720ef58246694244699b8d81e17b2da881ff66b58d06698"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 10): (anonymous) 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":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c0d811ebdeabd4d5cf991296e43c208b9a259bcc7ce637212fbdc00e24cfb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatPlainError (cyclomatic 15, cognitive 9): formatPlainError 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":"langfuse/web/src/features/support-chat/plain/plainClient.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e117ee91afac3143a4de8f037723d3c10eb4e2a856e955e7d157634f48ade6b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAllDatasetItems (cyclomatic 14, cognitive 37): validateAllDatasetItems has cyclomatic complexity 14 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/datasets/schemaValidation.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a922ec8b923c353a3ef3e60259b57b6e03c55418093a88c50b97c3d6dd556a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFirstJsonObject (cyclomatic 14, cognitive 29): extractFirstJsonObject has cyclomatic complexity 14 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf646ff74c07c6a1c3308e91cdbf3e2965967f173b7107ac2f83677d239c984"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFirstJsonObject (cyclomatic 14, cognitive 29): extractFirstJsonObject has cyclomatic complexity 14 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"236a1c004ec3a4d9f8dc308c340f06420b6dec1f84896703f660b81670ea68d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchWithSecureRedirects (cyclomatic 14, cognitive 28): fetchWithSecureRedirects has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/webhooks/redirectHandler.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"069e79838339a3dd229943ecab693652fd69b7f5f43b41098ca1efbc33ef91c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 25): (anonymous) has cyclomatic complexity 14 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":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f41ec5843863a5f1efca809a218000529ff46b1213fcf3a5313eb85f8d78b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleBulkAnalyze (cyclomatic 14, cognitive 23): handleBulkAnalyze has cyclomatic complexity 14 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":"langfuse/web/src/features/error-analysis/components/BulkErrorAnalysisButton.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd785010918b653258c2b6c41c300b2f2271614d79e88c6b7498cf24672d2aa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertDefaultModelPrices (cyclomatic 14, cognitive 22): upsertDefaultModelPrices has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/upsertDefaultModelPrices.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8408fa0da963bed5f6662c8227ca367318b7c82bec49a54eca39744c3b5866"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"4767ae8dc4b07afa6db447d9224716c2d6f119123062afcd2ed9b3cc3df3bd7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04139ff74453c0a3eb88755d5f254c09d8ab07f5c29dcf0c9e7b2a8b65657fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateLayout (cyclomatic 14, cognitive 19): calculateLayout has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21f92bb81a960028b40cc2813cce37ea4407dbc226e4a8a4bbd15ae74eb5d9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMicrosoftAgentMessage (cyclomatic 14, cognitive 18): normalizeMicrosoftAgentMessage 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":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a9dff81b2c76d30c143cc0d34c73873c160c4a07cc9285a521902847a464e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleUpdateProject (cyclomatic 14, cognitive 18): handleUpdateProject 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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/index.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed017e370577d7590249138c3d2dfa80e38e3a26da0201b365f3d48eba74af0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 18): handler 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":"langfuse/web/src/pages/api/admin/evals.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bf3d3a4d8b6307e3783bdbe943c67aa6b689f42943d065459ae1faf5836745"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCreateApiKey (cyclomatic 14, cognitive 17): handleCreateApiKey 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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fd03dd26b7826f814e2c110a479316b2fc3b3efc5f6c72ee4646eb4ef10b41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMutate (cyclomatic 14, cognitive 17): onMutate 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":"langfuse/web/src/features/scores/hooks/useScoreMutations.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ead72e6798f9ff7e316bf4c34ad9ae88c8988f58431e06a5d6c5ad6c00820e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 16): (anonymous) has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c90b31b7017bd32b05856ba3159cfddd58c57052d21b855e02d077c2ebe7a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) 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":"langfuse/web/src/features/public-api/types/models.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b519cebcb42538d2451a77fc0c0cfdd5d81f31603cd923f031272f2405cb0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"add7323328167e0c189fc578fc525f47853241c40314175ff3b7fae7a41cd706"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScoresTableCell (cyclomatic 14, cognitive 14): ScoresTableCell has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/scores-table-cell.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d979c5e0ce5d7a100ffc680f3c683ef600d7904451c6a3eff0b42eab5722a24e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdvancedJsonViewer (cyclomatic 14, cognitive 14): AdvancedJsonViewer has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d392c7619036f82d17243ea1103a17a57780d28dbf5c72910d3da3ba1fd777ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1514c94bad63c34efa91afd8a70b0c9a6997ebf743caf692c66cf31b2d85af07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 14, cognitive 14): handleKeyDown has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff2989600af9c0b152d52273f5b7219de2f07ad03211f0c259d373762c7184f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPrompt (cyclomatic 14, cognitive 14): createPrompt has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/actions/createPrompt.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8d9ec03aec5fdb54214e466fd66e77b630381d18566340cd18fd8569c4ae42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptsWithFolder (cyclomatic 14, cognitive 14): PromptsWithFolder has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/prompts/[[...folder]].tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8a2b98982c3ff88b8e954a0016056e060061c9db78f5a760545c80f0738d19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toDomainType (cyclomatic 14, cognitive 13): toDomainType 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":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad9f0619ad778f72e0509f0db8e3a52ef03b506be63f1aa9e87516c5949b470"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeMirrorEditor (cyclomatic 14, cognitive 13): CodeMirrorEditor 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":"langfuse/web/src/components/editor/CodeMirrorEditor.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb304fa5a95ef03ddbd046836719aee6deec731ddcef6f064f37d7351acc75a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionPage (cyclomatic 14, cognitive 13): SessionPage 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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"65052463cc8284f6b1b9e1b9ab1eef027941a4e034d24337dcbdfbb08bfb7cde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d475dca28e6a625d5ae63a8a825392e1c45ec75efe7e3832ae576b056e20b02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IOPreviewPretty (cyclomatic 14, cognitive 13): IOPreviewPretty 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":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewPretty.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bf24e386b8eb49f377a4fd71c5186e2bc79aa99771ef7680925ac8bff96447"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MultiSelectCombobox (cyclomatic 14, cognitive 13): MultiSelectCombobox 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":"langfuse/web/src/components/ui/multi-select-combobox.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"406076d713be8a3d6d2bdebf73d58c8d541c66e7b7d89f7a34a4529e1300da31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MultiSelect (cyclomatic 14, cognitive 13): MultiSelect 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":"langfuse/web/src/features/filters/components/multi-select.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f33b5e11ff6630b0a2537a0ee36b24e9dc7caeb36fd2c34030f92b7c909276"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"921605ea38d690c9699312d2df30d4be145022de8ae7e24f007c2845853fe77c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateDailyMetrics (cyclomatic 14, cognitive 13): generateDailyMetrics 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":"langfuse/web/src/features/public-api/server/dailyMetrics.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6d82f9f9a227e454b96435614261b1608d0ce03ba0bb89616dd46b3f067639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/_app.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"481605100334d20ae6447f43339bef05b1733905fa0f0b4879cec2308d9cb70e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TableViewPresetsDrawer (cyclomatic 14, cognitive 12): TableViewPresetsDrawer 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":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3246469d883231b238ee51404cdf5990fd876c9275474a6566b875267016a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JSONTableViewRowInner (cyclomatic 14, cognitive 12): JSONTableViewRowInner 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":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableViewRow.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce2905746cadb67883945e8e15747ab7450f328dff24b3b9c2ba3557afd4af1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EvaluatorTable (cyclomatic 14, cognitive 12): EvaluatorTable 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":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b091f270ce6050015afcd6e1410dd8fdb0aeaf4e3755f407276a1d63fe8126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptEventsToTraceFormat (cyclomatic 14, cognitive 12): adaptEventsToTraceFormat 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":"langfuse/web/src/features/events/lib/eventsToTraceAdapter.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2e92a05e74a340a381238965c74c4c309329e389294a2578c7fc194ba32658"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"981a26b043bde32e749cc9e103003a0b5d5ce255630749d823d22d1ad76659c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6851cb74f109c6e57e6db28690d487636d82eeb95d46c2d57c78508da2d92030"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JSONTableView (cyclomatic 14, cognitive 10): JSONTableView has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableView.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c683521d2bf600e5a491aef836f1e1ce7fd398d0ef56e0ce2fcc4c68e3a117e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3f06876aa1eed536ba34051286423f99fa93b5499c247c2dbfcc7aa49f7f81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatFileError (cyclomatic 14, cognitive 10): formatFileError has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8e4b2a38a553a3c8998c000a9c2e007969132381f7768573e8172ee03012d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDatasets (cyclomatic 13, cognitive 33): createDatasets has cyclomatic complexity 13 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":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca5be42566e1c0b942d20a68dd1d9b6bfb03d2fa5c3d1e633540b42fbc57f42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deepParseJsonRecursive (cyclomatic 13, cognitive 30): deepParseJsonRecursive has cyclomatic complexity 13 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/json.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"61404a1165383e3c7f1c62a2d7eba6df6c6d27684cfd97f6bd28888259b23a7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFirstJsonObject (cyclomatic 13, cognitive 28): extractFirstJsonObject has cyclomatic complexity 13 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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4a7dbfcaa2c58adccd4bc98a0976f828ab6b757d91edccb1c095693db191b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateFilters (cyclomatic 13, cognitive 27): validateFilters has cyclomatic complexity 13 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":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f88809bb93e3bf7ef9f0720cfb68660c8b766bda0a0335a6ccf4386643ed316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 24): (anonymous) has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"efce236e68a8a9a834d4e4596b7511200dcbc650f8465eba7a1283b49772c412"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 23): (anonymous) has cyclomatic complexity 13 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":"langfuse/web/src/features/prompts/components/prompt-content-utils.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc2e685fafb3d9f70961e08b9aa98d8a3eab552b836f4ef8e66e6a77ca868f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 13, cognitive 22): resolve has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/PromptService/index.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"7108e7f20484113aedb97937732bc275049abe223af50031b6df975ccbac2f93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/useLogViewAllObservationsIO.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bebc0145a35e73612e7d25f42306ca8926eaf1a9d866ba179cd9aaf3487bfd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43962014be764bb2ba1c635f32ede1f803a1e838b8398eca33de2a2e7ee29b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractToolDefinitions (cyclomatic 13, cognitive 18): extractToolDefinitions has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a2721e57c7585e02e07dabace80b2ad7b8c06251f6a9c4d664384b0f4d9381"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWithBeforeCount (cyclomatic 13, cognitive 18): runWithBeforeCount has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49a59f33829cd2e4ddc4cf7f6b774463515209dd4634517c943c25b4b5b2526"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cell (cyclomatic 13, cognitive 18): cell has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ea8ad19fa708803a9dd52504a83d762ab86ee21f12948bacfe4a7d05370cf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMetadata (cyclomatic 13, cognitive 17): extractMetadata 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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"b409721b982cf5534eabce8334de008949c0e8ee3887ce867142c245d06659c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleRole (cyclomatic 13, cognitive 17): toggleRole 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":"langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7206446cbbefe0320b71ba4bbc81b0953da0ceeb4e4415e084ce1b384e67450"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCreateProject (cyclomatic 13, cognitive 17): handleCreateProject 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":"langfuse/web/src/ee/features/admin-api/server/projects/createProject.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c597a3a4c0446eca6d367ce914897aec6e064a80003dab0753e516db6a29ef1b"}},{"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":"langfuse/web/src/pages/api/public/media/index.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8eac2f45cf1889867f05d27f38897b5a7f313f88e141d607008daf0fd06999"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useCsvImport.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae94c4ba13b599318f0fa28a5ab5e9ba9a9ad571ab3ba47b83343e2ff390350a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 16): handler has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/mcp/index.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"865437ebcc6a5681ee3530f8d31f2cdf3df577910282b636dbd6b956eb101447"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePatch (cyclomatic 13, cognitive 16): handlePatch has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scim/Users/[id].ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd94e01261e7f6d9308c8f6576773f929ca70b13b7d9cce3662b62f96965a9a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function contentToString (cyclomatic 13, cognitive 16): contentToString has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/playgroundConverter.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbe143e89b884dbed7f007c2568f020d55cfc4afe559116520cbd415f23bde5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14dff97196b1569741fcd6132faadee7b18e596e07273aebad7844b6affcdda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateScoreDiff (cyclomatic 13, cognitive 15): calculateScoreDiff 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":"langfuse/web/src/features/datasets/lib/calculateScoreDiff.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4d9b139aaefa0f1d29d1b857fbc968e5bc29a2d5278680f4e0f543ad49d745"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSubmit (cyclomatic 13, cognitive 15): onSubmit 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":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceadc7393baa5c7aa4190ed2b090a1395d4d3491bf1e7bf6709efbe196fd39d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/components/TraceGraphView.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc41e423f9d3e55215231fe503ec3a67a9367398389bc8169cab5fd106a1153"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 13, cognitive 15): fn 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":"langfuse/web/src/pages/api/public/dataset-items/index.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba3f1dfe2281cfd75b0d6acccf550c6b4b8daf13c7f5097c574da03a8ca630c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processTraceEventList (cyclomatic 13, cognitive 15): processTraceEventList 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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb8045b1fb22f2cc996446366d96fdf15d2daa4718268ada3416cec449d7762"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LangfuseMediaView (cyclomatic 13, cognitive 14): LangfuseMediaView has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/LangfuseMediaView.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2650ee72af1bef1ad9813ef5e612644d567049d279e62d307492e283f255fe67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseErrorTypeFilter (cyclomatic 13, cognitive 14): parseErrorTypeFilter has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6eda114fc15d1087b2c351231e526b30b2449867b819533119f0e5529aeec8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStructuredOutputSchema (cyclomatic 13, cognitive 14): parseStructuredOutputSchema has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"289642e207f5b8022c567c7e4811fbd498c6235ed2903a9e98e760e747454939"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePostHogIntegrationProjectJob (cyclomatic 13, cognitive 14): handlePostHogIntegrationProjectJob has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3746692a031a698751a7b8fd5aa727dbef43a71b89e24806e57b393ef1b17c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function truncateOversizedRecord (cyclomatic 13, cognitive 14): truncateOversizedRecord has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/ClickhouseWriter/index.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f0ea96fc3b5235e8154fee4c5369b56e22191c87bb47782e846c6fd4c607c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMediaUploadEndToEndTest (cyclomatic 13, cognitive 13): runMediaUploadEndToEndTest 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":"langfuse/web/src/__tests__/media.servertest.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de39b01d3e4dbe94a377e121ce8e8e8210b20113c9495456b6605fc5bc01d2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/table-view-presets/hooks/useTableViewManager.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e7cee2bf65efca3ad338efef3baaf0dd618c0b8fe9819b9c025139fc5d7e3e"}},{"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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f0dc85eaea96f66a04fa8e376110852db5c126484acb89d67f944be7c85c52"}},{"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":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1d21558343fda726a4fb486d1c943323a850290e4b13c3744d572c1bee6a25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataTable (cyclomatic 13, cognitive 12): DataTable 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":"langfuse/web/src/components/table/data-table.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"89273133480d1588658f187881cd6f33cb73775c0199535dca1d65b387344385"}},{"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":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"732904eed770426db76c183c565bfd83465a6a169a950403b12e1eff0e66ad90"}},{"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":"langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7462bcfbbb9f0ed85ad6a929cec702d94e2db2838e651efb8ef57d495e06100"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChannelSelector (cyclomatic 13, cognitive 12): ChannelSelector 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":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83d0bed37ea4d08844d5a2803c77c407b87cee241eeea2528d9548c77835dde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BigNumber (cyclomatic 13, cognitive 12): BigNumber 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":"langfuse/web/src/features/widgets/chart-library/BigNumber.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e300875babb3fe83bbb16c793d54f78b00850d200e6daf65d8a27c93e6bb338"}},{"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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"181214f1c7d0563b5853b4ab2aa94ec0338e3dcce58e0bb1ba402cbb314cdb59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SignIn (cyclomatic 13, cognitive 12): SignIn 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":"langfuse/web/src/pages/auth/sign-up.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2294e1aca23c4d54039c26bf1faad7b456f47e8ada8b81aa3f582dc22a66d74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertChatMlToPlayground (cyclomatic 13, cognitive 12): convertChatMlToPlayground 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":"langfuse/web/src/utils/chatml/playgroundConverter.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f393402b120187744fc544b0e7ec4f697f4897e9e32a9a1f3e274457257dc4d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMockEvalTemplate (cyclomatic 13, cognitive 12): createMockEvalTemplate 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":"langfuse/worker/src/features/evaluation/observationEval/__tests__/fixtures.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbafa38f85ba38ebd7127e167d1b36d086a6a39a2b684aa4161acb13e222375b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScoreConfigsTable (cyclomatic 13, cognitive 11): ScoreConfigsTable 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":"langfuse/web/src/components/table/use-cases/score-configs.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df71520a390af0bc6c0c99dfd063b52eff3083bf43e8a4ccc1dea916b29361d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ResizableImage (cyclomatic 13, cognitive 11): ResizableImage 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":"langfuse/web/src/components/ui/resizable-image.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b0a4e90a279853da052189a98b248e5f2b126f3c4e1590504c9b66883ae67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createNewSsoConfigHandler (cyclomatic 13, cognitive 11): createNewSsoConfigHandler 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":"langfuse/web/src/ee/features/multi-tenant-sso/createNewSsoConfigHandler.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1fd29932b56360021a59486e4ff2aa391b344e2d65f55f20f0b9b28f011e25"}},{"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":"langfuse/web/src/features/command-k-menu/CommandMenu.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3212c5f085680c26e81202c5dbb4da160fe41c42dab12bb93c41e2238f19a82c"}},{"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":"langfuse/web/src/features/filters/lib/filter-query-encoding.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c99c5955fb9178ffc3f3287eb451e6828483797c84128b00d22508932936db5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateConfigAgainstBody (cyclomatic 13, cognitive 10): validateConfigAgainstBody has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/validateAndInflateScore.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"418ca6d317ed0abf70c08ae54213a26fb0faf9697650611abc9d5366d2666287"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IOPreviewJSONSimple (cyclomatic 13, cognitive 10): IOPreviewJSONSimple has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSONSimple.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c657f4e70166aec6e4941250ef3c975226d3dc862fba5f39c7f991af1f3b26b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useEventsTraceData (cyclomatic 13, cognitive 10): useEventsTraceData has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/hooks/useEventsTraceData.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedaa3b16a2619abaa9be574ea3528a99ab5c0378e11b4beac8cabe8fd8c952e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FilterBuilderForm (cyclomatic 13, cognitive 10): FilterBuilderForm has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b0601ff6b6d70777483dbeaaea41cd34ebdc32618a9134864623d872c16ac8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GovernanceOverviewPanel (cyclomatic 13, cognitive 10): GovernanceOverviewPanel has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd416aec9f6f1c3d3197ccd0dcede2fa6cf543695d81f019d98fea84ff43668"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4275013b0fca850eab708ceed12d96bd334b8b43b06b7b948e0785905b20a9bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flattenToolCall (cyclomatic 13, cognitive 9): flattenToolCall has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/extractToolsBackend.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"71502a1ae00601803f81b47201b4821071d10da4a08336451e0a24d85f260f64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VirtualizedTreeNodeWrapper (cyclomatic 13, cognitive 9): VirtualizedTreeNodeWrapper has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/VirtualizedTreeNodeWrapper.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f4c3d9bd4cfbb9842d93c4e02d377ffb9f4f493e221bf8f1531525a135c410"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateProjectMemberButton (cyclomatic 13, cognitive 9): CreateProjectMemberButton has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e593f8a83102270bea847ae8bc141b898b63f26c8f6cb522ebb8da24fa9e4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTreeStructureIterative (cyclomatic 12, cognitive 32): buildTreeStructureIterative has cyclomatic complexity 12 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a11c235dca12bb08501142c3faccb0a3014783cb63240e07dcce82d7953358e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 22): (anonymous) has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/lib/aggregateScores.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2660e662e82fcbf9c2ffedd6a2089410601fccda8b77dc711c1793718cd16133"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFirstBooleanValue (cyclomatic 12, cognitive 22): getFirstBooleanValue has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d192c68d7b1ad490eb3b864a0f6fe61fcbd4cc4913b675c4ab416a9941d7bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractToolDeclarations (cyclomatic 12, cognitive 21): extractToolDeclarations has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6b25ef32f0dc6459a2105624167e3e0f09569264ca06bdfe66350f41d430a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/withMiddlewares.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72a2037b24427dc679398d0dd09d84d990129753fda6e6f4e8decf398a25237"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 19): (anonymous) has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/server/router.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d8ff01c4b04ca803cff5f5a5b74f335a39d695da6ef3fa92165ab2a365e09c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getClient (cyclomatic 12, cognitive 18): getClient has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/clickhouse/client.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff928db5eb637fd0bbabb137a2131d6558fb015c561401e74d5ab19194f0127a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createObservationData (cyclomatic 12, cognitive 18): createObservationData has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/observations-api.servertest.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1119c1f40818fc16f89e5f0a46b193ccaa0e6f42954d91b390ef77b02edd96f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPolicyConfirmationDetailsByState (cyclomatic 12, cognitive 18): getPolicyConfirmationDetailsByState has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ccf61bd6569e20a7b7affb3fc1a95c089a01bd5bb8eae41ac6bda0a8c69db3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOrganizationPlanServerSide (cyclomatic 12, cognitive 18): getOrganizationPlanServerSide has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/entitlements/server/getPlan.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84218ffb3d1f935e022ac4015a92042e7eba4353f59bf47edb32673525c1b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRejectedTurnDetails (cyclomatic 12, cognitive 18): getRejectedTurnDetails has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"392878f29132c996ca5777761628e904e5b04ec0c9d48ccf429bbb9efc382c22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/types.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"934cff75e2b013fad477c4a6de3e5a76ec7d76bc43fd04ca4d70fa6738246e83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/types.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"546adc744e2f42a82e9e37cbdb619dcef3d6b51aefad5c12f1354e748a9dfd73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useJsonViewerLayout.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a56e75e37e32146d9a6388e39bba98aff0016379f638a1fc070a0cd46cf4443"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMarkdownContent (cyclomatic 12, cognitive 17): isMarkdownContent has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7038192ba225a4d65a55cd5a30eec3fbfbf5dc3b78a85c4e961b9a44789ba43a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/hooks/useExtractVariables.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"873c5c7c9cda19124dfefbb05ae3c920ffbb71c3d7c72259e169793507c4aecd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePut (cyclomatic 12, cognitive 17): handlePut has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/scim/Users/[id].ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e6bb3b40b59e659b77093152af3e190900c85c8fb5ed5bf3f521d1f2804ca3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 12, cognitive 17): run has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillBillingCycleAnchors.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4418c1b57a0024364f8af0a7089634e1a193eab81e0b80f6aca64e52cfffb9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inflateScoreBody (cyclomatic 12, cognitive 16): inflateScoreBody has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/validateAndInflateScore.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb78978eff5f66978745e29b3186c33e078383c28dcb6c04b943d20e7cd9e06"}},{"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":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c555353833f8cc17b9609aa6ec091ededd9249e55e1362c0f597b986ab9bf518"}},{"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":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ede4d1fbd862a7c067385163b370a6eb239206c6c4b8230ddc679f37eb04d6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 15): handler 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":"langfuse/web/src/pages/api/public/projects/index.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5ec87cacce6cb11d9b1dc97be73d4cadfa900e566a344e7b9b5a6edc9119e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPublicSessionsFilter (cyclomatic 12, cognitive 14): getPublicSessionsFilter has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/trace-sessions.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"763a78e560a37e01e3d8c2551fe21e53e4375d92c38ecf0c73ef1907926900e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function countJsonRows (cyclomatic 12, cognitive 14): countJsonRows has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/rowCount.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2b3c497f5536e825fed590f8e54dcf21e6cf08ca267b749680d6639a83ecb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isChatMLFormat (cyclomatic 12, cognitive 13): isChatMLFormat 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":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2829d9a8b736931c2b8b8c2561040fcb97e268ce6cb9b73cfd63143af294b9"}},{"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":"langfuse/web/src/features/datasets/hooks/useCsvMapping.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df2f2ff2a0934c4cbb7343a547e39a2342a6428e80ec794aa58e4fe431fd40a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 12, cognitive 13): run 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":"langfuse/worker/src/backgroundMigrations/migrateObservationsFromPostgresToClickhouse.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"311b4c561d06fdfcbf8eae88b42329c96d6d227e2d769e263e8ced823aa6a64a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/table-view-presets/hooks/useTableViewManager.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c3c4c2cfdecbbd656e482d550e8de72b4b872feb57b206687bec486c4e68de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApiKeyList (cyclomatic 12, cognitive 12): ApiKeyList 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":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced743a33c7d879dc018cf8719edf87271ddf7c7f11b0684a5c1053e3a371c04"}},{"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":"langfuse/packages/shared/src/server/redis/redis.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c76aea313b44e1ed4ced4d4bdc7c06ede51400a7d0af757d80e2230571af44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isS3SlowDownError (cyclomatic 12, cognitive 11): isS3SlowDownError 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":"langfuse/packages/shared/src/server/redis/s3SlowdownTracking.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce35ba61d07a27eb3e1d4d756ed35742111656cbb5dcc550433b63b54d800ba"}},{"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":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3a9ce683f9a53236574e92f618b3690fa69ff66861f3257cdefc519812b51e"}},{"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":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae0fa181a78f54e5868d56422a985940a67544072d128888685afe4d463649c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTracesTableGeneric (cyclomatic 12, cognitive 11): getTracesTableGeneric 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":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"59326206556bd8028463830466eb7c4132115db2cfa1b8546c7c4ba76b8bfdb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMessage (cyclomatic 12, cognitive 11): normalizeMessage 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":"langfuse/packages/shared/src/utils/chatml/adapters/pydantic-ai.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28723a24de911a6fc0b1623885229f8d09a5390559924d8ece609adf1fa1317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatLocalIsoDate (cyclomatic 12, cognitive 11): formatLocalIsoDate 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":"langfuse/web/src/components/LocalIsoDate.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5361640e078e24181f492163c62c7eac588c5f2abe3dbafc030697b3e083ca8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageHeader (cyclomatic 12, cognitive 11): PageHeader 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":"langfuse/web/src/components/layouts/page-header.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ee0f3f96f4047372df7bcd4d40646d27aaee9159dd56bd3494b58d40bf18ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkdownRenderer (cyclomatic 12, cognitive 11): MarkdownRenderer 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":"langfuse/web/src/components/ui/MarkdownViewer.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2044be9f6e71ef877f725ae95ec8b16cf1573f7e33469dc9e31379b72208ca94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPayloadConfigFromPayload (cyclomatic 12, cognitive 11): getPayloadConfigFromPayload 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":"langfuse/web/src/components/ui/chart.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb6e5f6d540f88798f959032ccc600c6ce12d2fcb23a0fc003b39bb44fb817b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DatasetItemsTable (cyclomatic 12, cognitive 11): DatasetItemsTable 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":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0188abd869195689bdaac52d2f19dfe12b8cc050698491f45da20cfcf3f15fc2"}},{"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":"langfuse/web/src/features/evals/components/eval-log.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aecce7f8f826f1bafef3482738585b67554920cb473e8abd70db121b5a23dcb"}},{"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":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8bfe5d9f40c6fc58dfe921d1f7d61079af7b4842f09f826f800da48ffaed2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SetPromptVersionLabels (cyclomatic 12, cognitive 11): SetPromptVersionLabels 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":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bf69803d1d827d42980c8bf143f6cf0877b16745385cb3ff276bf3fdda0ea0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScoreChartTooltip (cyclomatic 12, cognitive 11): ScoreChartTooltip 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":"langfuse/web/src/features/score-analytics/lib/ScoreChartTooltip.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd8e33bd1778fd2cadbf214c42caa1f14453c8ec2394c38b5cea907ffa1fc9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSubmit (cyclomatic 12, cognitive 11): onSubmit 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":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1bb37b6ffb28c5243609cf7338e260332149ba9c2e5c2ada6c83d3ea2a579d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TraceGraphCanvas (cyclomatic 12, cognitive 11): TraceGraphCanvas 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":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d21d33e5cf527eec0eeb847939d6d10380d84f721fbe0f78e9af6c24a9646f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSaveWidget (cyclomatic 12, cognitive 11): handleSaveWidget 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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a9f0e1e8ec5e12b7a43510c90abe7de039f23cc2d8944ec417f78eec602cec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleUpsertBlobStorageIntegration (cyclomatic 12, cognitive 11): handleUpsertBlobStorageIntegration 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":"langfuse/web/src/pages/api/public/integrations/blob-storage/index.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0a8df4c7c7d3ab612cca1357a2a60f34db57dd9628bfb5370f5bcce7f49bf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FilterValueCheckbox (cyclomatic 12, cognitive 10): FilterValueCheckbox 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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c36cc198beb1767e0d027ef953ce9c252cfaa692dbc3e9db0d21ea243e8c2d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BreakdownTooltip (cyclomatic 12, cognitive 10): BreakdownTooltip 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":"langfuse/web/src/components/trace2/components/_shared/BreakdownToolTip.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fe9b1ece6a3b50cc516dd0fd40b43b49c6c36c6ac201b9dcc2c4e243a5cf6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PlaygroundPage (cyclomatic 12, cognitive 10): PlaygroundPage 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":"langfuse/web/src/features/playground/page/index.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b8d11efb91b3c7e24e50bac5e0f7d92cdc7311ca76b52c85c025915102289a"}},{"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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"153bc817fe2425224ade7cc39b5ade9f52936c62721e84d4013ab00a5dfb890e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 10): handler 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":"langfuse/web/src/pages/api/public/projects/[projectId]/apiKeys/index.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5784b8d5279758f6812e9f6904b5fbddc584186c377e75168190d8954bc79a3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DatasetItemsView (cyclomatic 12, cognitive 10): DatasetItemsView 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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/items.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"412b430d1ebc58446df8175ce2f6d993b1f6600ef76620314123df518bce2a65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScoreAnalyticsInterval (cyclomatic 12, cognitive 10): getScoreAnalyticsInterval 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":"langfuse/web/src/utils/date-range-utils.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8704933089286b711f25476da2ad0355fc93eb39afff15d90359e2a2e7fe7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldSkipClickHouseRead (cyclomatic 12, cognitive 10): shouldSkipClickHouseRead 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":"langfuse/worker/src/utils/clickhouseReadSkipCache.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7fa38c137bd26a80b0050ab8cacc9e7444846ce294f9f11b8a3dc0e0058bce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/__tests__/async/prompts.v2.servertest.ts"},"region":{"startLine":3699}}}],"partialFingerprints":{"codehealthFindingId/v1":"898a3cf3dbd32d91b7f002996051fda669eeb95332d9f7db65bf7edce48d5868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BreadcrumbComponent (cyclomatic 12, cognitive 9): BreadcrumbComponent has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b3278eb78dccd314bfcddb079c600fac996d5b203869499d9fb149de3f9c95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TraceLogView (cyclomatic 12, cognitive 9): TraceLogView has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/TraceLogView.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9ebfe187d587a87e097c48d855aaa2ddbd7ad70655791aea7618dc854552b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatValuePreview (cyclomatic 12, cognitive 9): formatValuePreview has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/jsonTypes.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6151bdd580c526a42eebd39f9c544e4cc91c3cdf02f598256e2be300f02362e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TracesBarListChart (cyclomatic 12, cognitive 9): TracesBarListChart has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbeabdecedc93a96349d0a841de0350e359c073487c6c8e65b1d032365771f3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedDatasetVersions (cyclomatic 11, cognitive 25): seedDatasetVersions has cyclomatic complexity 11 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":"langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8927193423f3b159df6314ea99d74853f76877fd1c23aa45b52ebb97d65a0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 20): (anonymous) has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"f255803c84883f67ebcf64f14e8c3d69949deeb076642272483c71c9bc24c2d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processExperimentBackfill (cyclomatic 11, cognitive 20): processExperimentBackfill has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9b5356cef5b9e2b88985229ec31fad4f2169ad6f1c92aa99507b00c85dfc4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JsonValue (cyclomatic 11, cognitive 18): JsonValue has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16c2fe70b26c4ae022442ecf87917671be34216cdf396b9aaccc99d45a72241"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 18): (anonymous) has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21e380b27294def6d93e7da19ecebbed1465521f103fc8638ed8c7e51fe734f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterRedundantShallowTraces (cyclomatic 11, cognitive 17): filterRedundantShallowTraces 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":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d74237c949a2949d76fe2bed47cc0807c3094ea3da75a2ce93c874a6a84bc24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMessage (cyclomatic 11, cognitive 17): normalizeMessage 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":"langfuse/packages/shared/src/utils/chatml/adapters/semantic-kernel.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1633a89bcc9c6c490331dfe0419377f05cbf258889f00dcaa9df8bfc3627e91f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTracesFromEventsTableForPublicApiInternal (cyclomatic 11, cognitive 16): getTracesFromEventsTableForPublicApiInternal has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c041334cb8f7d45cdb0dd149d1d5946bce1292b2c0bc35a6d09c6e5959ce3072"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDependencyGraph (cyclomatic 11, cognitive 16): buildDependencyGraph has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f28ebdbf9e0f5379569c8535917126eaaf371bd2f11e6516e77ce4e70bccc9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleInputBlur (cyclomatic 11, cognitive 16): handleInputBlur has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/slider.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd933428f32872e1404aad530e0b55569bcee0bf56accd6a65cb6b4d4344ee6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/WebhookActionHandler.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7e930d6b6347f9b46b2c260198067573c79debce5ba45a88084f58137df1f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPolicyConfirmationCountsByState (cyclomatic 11, cognitive 16): getPolicyConfirmationCountsByState has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cda611fc45711d8e9826a6fb0178dcff51c1bd7172607c234135ab76620876"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/hooks/useDatasetItemValidation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5171c8436f79f0c818b123494589de8985b4e83c9ab83262becf672c3ea0fc29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateByOrg (cyclomatic 11, cognitive 16): aggregateByOrg has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/usageAggregation.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"634e255f2cb3a59f481fa94e03143cd5fe0f9bdcf4a8dec03cd6de0fed27f037"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProjectSubsectionMatch (cyclomatic 11, cognitive 15): resolveProjectSubsectionMatch has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee4fdda798e6144be0647d46c5ae508ad285864fc13a2fe1bf5fa71af4ece70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flattenTreeWithTimelineMetrics (cyclomatic 11, cognitive 15): flattenTreeWithTimelineMetrics has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceTimeline/timeline-flattening.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3830f7eaafe57489dea3eea573485aec50fdc34f37aa925f3ca12abf4866eda5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyExpansionStateIterative (cyclomatic 11, cognitive 15): applyExpansionStateIterative has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5745e490935acd3f642b12ca62fae7d85709ace206c4e7a8c5f3630e56cae7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderValue (cyclomatic 11, cognitive 15): renderValue has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluation-prompt-preview.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d43f2d78eb30e2f0d70e0fa6a3b649544c8be147847dcbdd9141392dd95830"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/BigNumber.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eea63e3f521da1c7421131671517a6235b2f0c454d0283e6800ac777a454c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 15): handler has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/ingestion.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de5f15b3e90f1f7f3b6a8abbff6bbdb306772b99def1a92748135b65bc11661"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/playgroundConverter.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"417046bfa151339669949d4e697600fefb3c288d3197281c1fbb508b13ff45c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScoresForAnalyticsIntegrations (cyclomatic 11, cognitive 14): getScoresForAnalyticsIntegrations 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":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cdf58dd62bc196823d18ae561e2e85be452506dfda911c7e307b6794d0ba12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preprocessData (cyclomatic 11, cognitive 14): preprocessData 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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fdaeb78d58a97a360b618a04451fac863c7c8fdb4ba859977dd5f576628c7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createObservationOrEvent (cyclomatic 11, cognitive 14): createObservationOrEvent 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":"langfuse/web/src/__tests__/async/traces-api.servertest.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fa1fb19433fbd5fa65ac50f267846bae8852e2fb3a858bc99eef02f85dec2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrichTreeNodeWithCosts (cyclomatic 11, cognitive 14): enrichTreeNodeWithCosts 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":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"258797d11539a0b20abc83201d7bebfe23774c7bcfed4e93d90ffe49d5c63fd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f65ac18bf49473e28fc468029423c5f006e4a576b5b8588059f1a48012753c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 11, cognitive 14): handleKeyDown 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":"langfuse/web/src/components/ui/time-picker-input.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6597c2755867360d1c903f53940cfb519a3dfea31282321e2021c80de4d419d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"2effec92c2e4464c828a801cbc0497c16b1ddd7e61b58ac295ae62513778519f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/__tests__/blobStorageIntegrationProcessing.test.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bf37809a8a80fb99d25bf90936c62c0798564dcb0373ef36988fe130306057"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/projectDelete.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f154f8ee3ca7bd6323b2b2ded423addcc8e8c6dd85f6d0c92ae9e18251919f06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getValueDisplayLength (cyclomatic 11, cognitive 13): getValueDisplayLength 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/calculateWidth.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aca0656358ec29525ce2f962de8513732d8a497c2ed3ca0b94cfdbbf9309c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMcpRequest (cyclomatic 11, cognitive 13): handleMcpRequest 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":"langfuse/web/src/features/mcp/server/transport.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7b61a8116e49c6211b81eca43eff0f7030e75c094f7f3f187a914f7528abee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateWebhookURL (cyclomatic 11, cognitive 12): validateWebhookURL 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":"langfuse/packages/shared/src/server/webhooks/validation.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"71280ce4eecb51921c420d03b956a87e0ecaf12fd2764c29c102f677b0a6f7b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTraceTree (cyclomatic 11, cognitive 12): buildTraceTree 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":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"236e79626b7b824432b2aabc2f14c5358ff9fa242c9490ef75e8add0173c5160"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processWebhookActionConfig (cyclomatic 11, cognitive 12): processWebhookActionConfig 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":"langfuse/web/src/features/automations/server/webhookHelpers.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f74b13bf5427c739b2f98317651775d86e79876dc0046e7f39e18804be28a"}},{"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":"langfuse/web/src/features/blobstorage-integration/blobstorage-integration-router.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"39130f1258a2ad2c30f2255d3ca407fdde1ee8f7172901746a76bb034a2cd528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 12): run 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":"langfuse/worker/src/backgroundMigrations/addGenerationsCostBackfill.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"475968264c4a556f8dffebad790a7962ace70312df22a4ecf30d63e4d148924c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 12): run 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":"langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6bf1816b7bd1b056b1f8fe739e9aa17023d2b928fe8d3ab0e7f29c1c449fb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 12): run 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":"langfuse/worker/src/backgroundMigrations/migrateEventLogToBlobStorageRefTable.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc08183f22b1161a0a2480cb449677b52e0a35198fd5e5b5e68552bed14775a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 12): run 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":"langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6de8b21d4688dcbfd6c373a0d045d791cf7f6c894273c66af6ba3503b3638c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 12): run 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":"langfuse/worker/src/backgroundMigrations/migrateTracesFromPostgresToClickhouse.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa87ff8792b166abff8461df14881151e40e434a08fa1b2c0b28be8c02edf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTraceWithObservations (cyclomatic 11, cognitive 11): createTraceWithObservations 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":"langfuse/web/src/__tests__/async/traces-api.servertest.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8108c4c2131fe6b25332097f7be3edda2b55752026b4235cb5b0c611b9f9db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPaginationChange (cyclomatic 11, cognitive 11): onPaginationChange 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":"langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3c68a7d141555f632716063b39e846ac9244a119bfdde2d500e27edea46702"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommentDrawerButton (cyclomatic 11, cognitive 11): CommentDrawerButton 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":"langfuse/web/src/features/comments/CommentDrawerButton.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d0b6d213a4ca3e96d23a74d90d10e671d8c3dccfe0c3bf38bac8d3680b3b1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateScoreDiff (cyclomatic 11, cognitive 11): calculateScoreDiff 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":"langfuse/web/src/features/datasets/lib/calculateBaselineDiff.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb7f09f49f1a0a79c8f8531bdae93803d156293c11a1a06c4554bed32c34bed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDataset (cyclomatic 11, cognitive 11): updateDataset 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":"langfuse/web/src/features/datasets/server/actions/createDataset.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6981fc68c358acbeedebb9c966adc18183499e236e03929074872fc6f3907ceb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAndResolveTarget (cyclomatic 11, cognitive 11): handleAndResolveTarget 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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2a9990bacba861463f76267971c031fccbe968fe91c574b31df27957d4eba0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MembershipInvitesPage (cyclomatic 11, cognitive 11): MembershipInvitesPage 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":"langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa77f7c3981f3d2e326bc1144a1e7149a802efb60572395bb1c46dbad6d83176"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SlackDisconnectButton (cyclomatic 11, cognitive 11): SlackDisconnectButton 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":"langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7015132f1f465953e535a12450676d537000ba48e6e07e9cb04d62da1c9e3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleEventPropagationJob (cyclomatic 11, cognitive 11): handleEventPropagationJob 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":"langfuse/worker/src/features/eventPropagation/handleEventPropagationJob.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad27233b2e1af382e17b76aec59b16ff05c4e11302512bef3d5682a309404b29"}},{"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":"langfuse/packages/shared/src/server/repositories/definitions.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b21fcb23ff1198caefa659680cf91c448f6dba2a9fd79c1d3f156c57ab03006"}},{"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":"langfuse/packages/shared/src/tableDefinitions/sessionsView.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d292d96e64715dfd3e2ee3357236b8065fddcfbf5fcc1e339a088a4d511808a8"}},{"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":"langfuse/packages/shared/src/tableDefinitions/tracesTable.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"211a613d1c0bd025d1df63ae03c12c34a8c489d62790c0aa3cdec12e091588d8"}},{"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":"langfuse/web/src/__tests__/async/traces-ui-table.servertest.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"df490eb83913a698d9defb268fff9aad36934585cb92119e2cc54e56c832e0bd"}},{"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":"langfuse/web/src/__tests__/prompts.v1.servertest.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed3e97f992db57720940b767f046a56deb1015611386c05e2c3ade1b75c94c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ButtonContent (cyclomatic 11, cognitive 10): ButtonContent 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":"langfuse/web/src/components/ActionButton.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f94ce31bfd74e46cdbd36056851fa0158a09ce06bee692bdeba05cc4811f86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeleteButton (cyclomatic 11, cognitive 10): DeleteButton 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":"langfuse/web/src/components/deleteButton.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5544d68e278eeac6959067832cf6c7322f0da7f25745bee01f91865219292d24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeView (cyclomatic 11, cognitive 10): CodeView 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":"langfuse/web/src/components/ui/CodeJsonViewer.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b302d57e732f0d5eb3f962829c80c1eafbc4babbd28e13d66e62c23dc280622"}},{"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":"langfuse/web/src/components/ui/slider.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f17a31569c970cfc505f523cb9aa7e157120875c09011dd20d40910e17f8252"}},{"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":"langfuse/web/src/ee/features/billing/components/useBillingInformation.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0691d65f07d5963385e4ea968f64d52ff1e6230817b9fe019e2048f243acb4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ResetPasswordPage (cyclomatic 11, cognitive 10): ResetPasswordPage 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":"langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e916d839ee9887e87e8f083e4d62ed35d864cf931328ea70292a886a1e571fd"}},{"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":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ac23817966e44441c5b31023a6ae8e7e7031985f7f5dd6ecbbef38cdabfa5a"}},{"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":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd04e1779b4aa0730a1cc4502e6c7a6c45405028a3d66887e2035796f13c5b98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FormattedAnalysisView (cyclomatic 11, cognitive 10): FormattedAnalysisView 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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ff31f4d8e1f24c274064f5341816f27b3611fce2fc9de015004e3bf6767700"}},{"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":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a58039bf0714a706142a2dec0a7416b4bb02308559b1087b8f920e1f753d09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 11, cognitive 10): handleKeyDown 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":"langfuse/web/src/features/navigate-detail-pages/DetailPageNav.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a87bae8556f49b68b574ff91c573dfbc0b80f774b7c3e5140912e9151823e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeleteFolder (cyclomatic 11, cognitive 10): DeleteFolder 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":"langfuse/web/src/features/prompts/components/delete-folder.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e615748d222a40a79900425a17a5375b4c0646b530f3a3eb2358e45eb75e43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyAdminApiKeyAuth (cyclomatic 11, cognitive 10): verifyAdminApiKeyAuth 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":"langfuse/web/src/features/public-api/server/createAuthedProjectAPIRoute.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba123f80df92409755bd3917a56c11b0fd9d35eb4b0c85742c0f2094414019de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMutate (cyclomatic 11, cognitive 10): onMutate 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":"langfuse/web/src/features/scores/hooks/useScoreMutations.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f279456706b520e653606b4c69a3afadab311b23cd1449dae947a60edf6a28b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fn (cyclomatic 11, cognitive 10): fn 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":"langfuse/web/src/pages/api/public/metrics/daily.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44c7eeeeb9aa856d874b0eda86fc9e571823771ee512d03dade1d984dab7bbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 10): handler 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":"langfuse/web/src/pages/api/public/projects/[projectId]/index.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3427aeabdb8cb1a1fd99846ea9d82c52a6a861950b64c91fda0fe9e7d41339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptVersionTable (cyclomatic 11, cognitive 10): PromptVersionTable 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":"langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"462ca32be55342ccbdee25a2b44d5ddab20f753d89460f22a83ecee8a2008c47"}},{"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":"langfuse/web/src/server/api/definitions/scoresTable.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6676bd5598fb1c06bb37efec9dfccf91fb96d9980ddab09acba48a23046cc6a4"}},{"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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d95ae2e1e8e3cfa8baa4428e6cce7ac7d9b72045dcbcc6b0e9041ba553a7216"}},{"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":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aebe9e0fb3020b5abbcabcc03427e0349fae2722dbfaaee79efe7465e132191"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluate (cyclomatic 11, cognitive 10): evaluate 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":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"656f95d5004d627517241ca2f36527c7b0c72d7d90e25ca33ee1aa5049fcda69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAndSetupExperiment (cyclomatic 11, cognitive 10): validateAndSetupExperiment 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":"langfuse/worker/src/features/experiments/utils.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2fdbdb3ca9b7807ca87e8ddc7f7e713f94f633e192ba140b606d19d654f848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkSdkVersionRequirements (cyclomatic 11, cognitive 10): checkSdkVersionRequirements 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":"langfuse/worker/src/queues/otelIngestionQueue.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f995edcb7a1e5b383f6241fe4882fbf195e40df632d4d0728a41698bd33b3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TimeRangePicker (cyclomatic 11, cognitive 9): TimeRangePicker 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":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"22acd8a4f172732cd61f4653abd2ce3c6706974a785d69b745a6fa7a0638924f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusBadge (cyclomatic 11, cognitive 9): StatusBadge 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":"langfuse/web/src/components/layouts/status-badge.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8b967cd4c9db1e57453cdbfd35e26a44827a07b58df3c096fde3caa583c68e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FilterAccordionItem (cyclomatic 11, cognitive 9): FilterAccordionItem 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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f994e37da1bfe1c1b9e47ae11e6c77584df7f32a3b38abd9ff6e44e9d9ffb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SplashScreen (cyclomatic 11, cognitive 9): SplashScreen 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":"langfuse/web/src/components/ui/splash-screen.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a02701399ef5176ece64904e81aaec278dffc1d4a716c4f42fa2b25086ce36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TracesAndObservationsTimeSeriesChart (cyclomatic 11, cognitive 9): TracesAndObservationsTimeSeriesChart 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":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc42cc3812a36081bef63d7f8980824227e70dcf6462aabdeb07dfad6f452480"}},{"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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e524d78e78c185e1752f68d2f9b9ea577b0485c51b63f4390632f14c07839d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSummaryMarkdownConfig (cyclomatic 11, cognitive 9): resolveSummaryMarkdownConfig 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":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"979b2f5a27b248166f686c3daea7952258dcb9ed4e0b76ed89321480ffe22753"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unwrapProposalResult (cyclomatic 11, cognitive 9): unwrapProposalResult 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":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"442b45f69ba47f90275d234ca30c9fdb1ec4f58fc5999a24fc385310e10e72ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptTable (cyclomatic 11, cognitive 9): PromptTable 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":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022bcc57c3cf63e3cf55c6de67d9ea3f9a8019711490c837a504604dcdf585a"}},{"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":"langfuse/web/src/utils/numbers.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef344e53f25a761d26032b0c7f59708496ea7dc6952a780cdd40cb149471281"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/api/public/otel/otlp-proto/generated/root.ts: 16409 lines of code: langfuse/web/src/pages/api/public/otel/otlp-proto/generated/root.ts has 16409 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/api/public/otel/otlp-proto/generated/root.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce6977d83d198e512945eca81dbb2407c95ee37509a77dfa20db75a1cd403a5"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/repositories/events.ts: 2843 lines of code: langfuse/packages/shared/src/server/repositories/events.ts has 2843 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2614244a028963d045025104b21181f03c910afb8a27c010fdd26d22c2271028"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/table/use-cases/observations.tsx: 2352 lines of code: langfuse/web/src/components/table/use-cases/observations.tsx has 2352 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dd9afbbff67788ebf10f62cd293136d9e96f56f1431d14197981f06e67163a"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/events/components/EventsTable.tsx: 2262 lines of code: langfuse/web/src/features/events/components/EventsTable.tsx has 2262 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea087064a962f105d79f79fc1a3cd0acb2c3017c7826ee5852e2606a3a90cdc7"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts: 2174 lines of code: langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts has 2174 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4c0992ec7bb66556f547f3e9706e72cd2abfbcb4428fbe4f02445497749d29"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/error-analysis/server/router.ts: 2069 lines of code: langfuse/web/src/features/error-analysis/server/router.ts has 2069 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bc118c98aab0c3fbcd75e7cf518d7a1ebf381e4a8af0ee2f35dea49bcf2786"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/repositories/scores.ts: 1960 lines of code: langfuse/packages/shared/src/server/repositories/scores.ts has 1960 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/scores.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"329086018ad88ddb562e5d54de3ef0d30e4ba3d27867940d31ab12e8a30c23a2"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts: 1920 lines of code: langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts has 1920 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"665737d7bab8cff377930f0b772cdb0b6c9efcbb825fd14e60b8c9cd0b9c93ae"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/repositories/observations.ts: 1892 lines of code: langfuse/packages/shared/src/server/repositories/observations.ts has 1892 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a23f47dc80c8b306334005a783becdf067723728316689af2aba919c9faf0a4"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts: 1847 lines of code: langfuse/web/src/ee/features/billing/server/stripeBillingService.ts has 1847 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeBillingService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8e9f59ab51f8397a2608aba2861ec1dc41e842a453b10eed106652dbf08e60"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/datasets/server/dataset-router.ts: 1825 lines of code: langfuse/web/src/features/datasets/server/dataset-router.ts has 1825 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/dataset-router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f869e2827f3d4ea0f576ef9ad380f9e7d39926b7fb6b11b980b3ce29c882fe"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/services/IngestionService/index.ts: 1757 lines of code: langfuse/worker/src/services/IngestionService/index.ts has 1757 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ac70736cba7dd3bf55b8c62857622d905e8d97d3fcf530517427042b9c2298"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/widgets/components/WidgetForm.tsx: 1733 lines of code: langfuse/web/src/features/widgets/components/WidgetForm.tsx has 1733 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"278c5077412f84ffc37580d21c6c62138a3f6bc325c3b215a22ccb34c6e54819"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/repositories/dataset-items.ts: 1694 lines of code: langfuse/packages/shared/src/server/repositories/dataset-items.ts has 1694 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-items.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c06a96431ac5f23ae0430575174e58ee88c223475cbc681665e3c21507e4fd9"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts: 1559 lines of code: langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts has 1559 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5290297c5fc78525ea924215753bfacc37e2b3ab3c19bd64a5004890f6f35881"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/repositories/traces.ts: 1556 lines of code: langfuse/packages/shared/src/server/repositories/traces.ts has 1556 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b65e0d3529b9835e8dd82f1b2c3eedf13e273065677f793efae60435905aefd"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/query/dataModel.ts: 1531 lines of code: langfuse/web/src/features/query/dataModel.ts has 1531 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/dataModel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0496afb518ff73868a032f01bc4941c867db803897f2e2a8817492e9bfdb6b62"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/table/data-table-controls.tsx: 1483 lines of code: langfuse/web/src/components/table/data-table-controls.tsx has 1483 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5187017637b8182ba8bb5fc9077ea9306521de73ce7ebb744705107de80e18"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx: 1429 lines of code: langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx has 1429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/hooks/useSidebarFilterState.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c60a7ddab06332a631f358211077352cbe80f97aafa6fb13419d94ca0181cd"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts: 1422 lines of code: langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts has 1422 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/event-query-builder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9762d50b4363aec9243adfa371f51c94da95b3b8e79c9065518cdf9de1ec9615"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/evals/server/router.ts: 1394 lines of code: langfuse/web/src/features/evals/server/router.ts has 1394 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9222e4ac9ff31d2a6efc8e6bc74d418bcd6121d03a9e81bed26092433723af"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts: 1393 lines of code: langfuse/web/src/features/prompts/server/routers/promptRouter.ts has 1393 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57010b890473d52bf953e88fcdea2303107baf9efef09a23200141611c08543e"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/policy-governance/server/router.ts: 1362 lines of code: langfuse/web/src/features/policy-governance/server/router.ts has 1362 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07066c7b47f4731c6495a806dda764a2aaafaff41d3121be8e88f9edf5c328d3"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx: 1344 lines of code: langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx has 1344 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ce688c6ca6e7918674ca412129f3b89d2d204b51652a5cb46a3e3536a50d2f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/PrettyJsonView.tsx: 1271 lines of code: langfuse/web/src/components/ui/PrettyJsonView.tsx has 1271 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/PrettyJsonView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0146a663781279d121e827e4887c537af756473d979c0a913d4b170cfc4f04ee"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts: 1237 lines of code: langfuse/packages/shared/scripts/seeder/utils/data-generators.ts has 1237 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37987137c39869389549ac2f613bcb1da24ae7d8c6514a004f3793990859c6d8"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/table/use-cases/traces.tsx: 1228 lines of code: langfuse/web/src/components/table/use-cases/traces.tsx has 1228 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/traces.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb0dea0f6a2e1f31e75dc52f4e9017bacdf314e87e361c4487ed79aa6ecd432"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts: 1209 lines of code: langfuse/worker/src/queues/autoErrorAnalysisQueue.ts has 1209 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a7af95b9c4d6028a2665cfe197ece88286f7338888040049473ea2735641da"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx: 1192 lines of code: langfuse/web/src/pages/project/[projectId]/experience/index.tsx has 1192 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cfcf9502d8fac50f3b3b96f50a0a314304e6d42a3c6c002bbd017f3a98227d"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/query/server/queryBuilder.ts: 1184 lines of code: langfuse/web/src/features/query/server/queryBuilder.ts has 1184 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/query/server/queryBuilder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0767dfff7d20c19be61c4e9ace530da22874b0d33b8e8182f23e2934ccc332d7"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/features/evaluation/evalService.ts: 1177 lines of code: langfuse/worker/src/features/evaluation/evalService.ts has 1177 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/evaluation/evalService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2dc3eb98cff69fea905765a860893cc2f5d5f32531e9e5c9b4fead860de99b"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/project/[projectId]/policy.tsx: 1121 lines of code: langfuse/web/src/pages/project/[projectId]/policy.tsx has 1121 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7ab4d3e80e1418c1d7cec66e0db3b925cac382a6728a6fa195f6f528de4725"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts: 1116 lines of code: langfuse/packages/shared/src/server/repositories/dataset-run-items.ts has 1116 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/dataset-run-items.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad5b3e2552f875f346d7baac0892c3f480e1aa7d62beca3d79e72128b65e92b"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx: 1116 lines of code: langfuse/web/src/features/evals/components/inner-evaluator-form.tsx has 1116 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"005644348a4956ea89ed914ebe044bf40bb9536ed6e6cf1f50151cf779f3f6c0"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/session/index.tsx: 1048 lines of code: langfuse/web/src/components/session/index.tsx has 1048 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4564ddc62b50c721024989c16ad30b739a4672947dc0504a69dd99a9f25308"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/dashboard/server/dashboard-router.ts: 1041 lines of code: langfuse/web/src/features/dashboard/server/dashboard-router.ts has 1041 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"392d7eadc6f41261c9a8e1b3b1eb01d8667fb8d685a43e019750304f8adb9793"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx: 1021 lines of code: langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx has 1021 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/components/TraceGraphCanvas.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"325a851e2a27e34542f8ea1ad6140a1b4e88fa27e65c0d927d9e514f0b79a979"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/filters/components/filter-builder.tsx: 1010 lines of code: langfuse/web/src/features/filters/components/filter-builder.tsx has 1010 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0403128be9eb509b87c18a29c986f0a579ca6a366b4d768686597eb8580594ad"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx: 1005 lines of code: langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx has 1005 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"514433811c95e29e1f73370874f1aca1becef9f19fca9edcfc2bf2134edd2764"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/server/api/routers/scores.ts: 1003 lines of code: langfuse/web/src/server/api/routers/scores.ts has 1003 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"704f8157a8c647b21052a549a43306e105e3054374b2b82a0332616fb41eb9ec"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts: 985 lines of code: langfuse/packages/shared/scripts/seeder/seed-postgres.ts has 985 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c05ac9b1f1ecf34bf943b770db33dc3f6868b26ca1b2df7f911d7dc2848156"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx: 955 lines of code: langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx has 955 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3054055a4833c80a369660be03904a74238ec6f5d38505794ba9431af44bf01"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts: 930 lines of code: langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts has 930 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/server/buildScoreComparisonQuery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"326d7fde7a48c05a295bff20278333ccb501e01f5c786dea29b82e2351e532ef"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts: 926 lines of code: langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts has 926 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f866ceb0e9ca0710a57ebf4ae47c8852272bfc999a1457a185c43e88a8ea0c19"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/table/use-cases/scores.tsx: 906 lines of code: langfuse/web/src/components/table/use-cases/scores.tsx has 906 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee8ace214a2bc84cd117bb486903369173d367d8bb06edaf3ddb502faa6122f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/scores/components/AnnotationForm.tsx: 888 lines of code: langfuse/web/src/features/scores/components/AnnotationForm.tsx has 888 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f875401a25147fc32ea77295200d7f78d731e31b81d85148c433ecc12ae39b8c"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/server/auth.ts: 864 lines of code: langfuse/web/src/server/auth.ts has 864 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"213e28e6020d771579e06125ac646f7979a47ffec359062c58aa0e117011e589"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts: 855 lines of code: langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts has 855 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c44895d9e2663ce7d88e9fad849de3f24e4a223e1517a21d9cb066a879e64e3"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/table/use-cases/sessions.tsx: 853 lines of code: langfuse/web/src/components/table/use-cases/sessions.tsx has 853 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/sessions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084aafa25c87e4eee2358c3e059770dc2e523dfbdeb9e9abc559604c2c4c5c19"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts: 848 lines of code: langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts has 848 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc46a603f3839bf56165a49ef3d1fc66e24e1a84d23b5d1620307d05854863d"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/server/api/routers/sessions.ts: 843 lines of code: langfuse/web/src/server/api/routers/sessions.ts has 843 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/sessions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6877119b9d4dd74e923a744e41c44ed63cdca232090cda87052091e88205719b"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/services/StorageService.ts: 840 lines of code: langfuse/packages/shared/src/server/services/StorageService.ts has 840 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"812b00113eb6fa77c7c08560035dbebe2e487384027b2d00ed4cc2677e6f5087"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/projects/server/projectsRouter.ts: 821 lines of code: langfuse/web/src/features/projects/server/projectsRouter.ts has 821 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/projects/server/projectsRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f2608f649e6c148cdfa4ae1e5c584e821e37b5d4716fff091746492fce20eb"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/policy-suggestions/server/router.ts: 815 lines of code: langfuse/web/src/features/policy-suggestions/server/router.ts has 815 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a72ae214deb91a0865dd0159971dd977f9c2a446d54a023f66357992652325"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/auth/sign-in.tsx: 812 lines of code: langfuse/web/src/pages/auth/sign-in.tsx has 812 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"495318a7d23e1d993087a97057f7f57a8681a7a2fb1bfd854a8831a2b5720b60"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx: 809 lines of code: langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx has 809 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetRunsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3032b2cd3fb08c4d5d72d24770a036619d8b754bb3ce45781d78731f34c2a6"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts: 803 lines of code: langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts has 803 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f003d4fd0728557a3de2fa51cfeab45e14d9b57dba481cb19b8fd2d7b292eea0"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/comments/CommentList.tsx: 797 lines of code: langfuse/web/src/features/comments/CommentList.tsx has 797 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eacb7590bd754a2054938f9bc1d1a74021480b5f4269876b2b33ee42d98e27a"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/experience-summary/server/router.ts: 781 lines of code: langfuse/web/src/features/experience-summary/server/router.ts has 781 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e0e274ac275ddd7fbc343e8a7fe0304e1f64e40de4e47f5db64983088080b7"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts: 774 lines of code: langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts has 774 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"676514086cfa831e976c66c47c65bd44b98aa8180a6df151ac9a82f7466f2130"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx: 753 lines of code: langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx has 753 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79edde5168b95dca1d3bb263d715b81662af3bacec0aba1c0d652d08f99651b7"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/server/api/routers/traces.ts: 753 lines of code: langfuse/web/src/server/api/routers/traces.ts has 753 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f6e4657943b253074b18f37f3d0cac260214ca80ec9afd0a9b43344968a84c"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/ingestion/types.ts: 745 lines of code: langfuse/packages/shared/src/server/ingestion/types.ts has 745 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a3c877ece2e0f2627c5ef1239c5ce98fd353d526ee6719ff2b0bb643307fdf"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts: 744 lines of code: langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts has 744 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d048d7bd121e51812a43a767f44bcc9399ed1c8438961fd8f6da916fc6d3a7a7"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx: 741 lines of code: langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx has 741 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisDropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"430c2c3e9e56592b43f0ea47fffa8da92c7d820e12ee9abf53f19494d0c8a40d"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/sidebar.tsx: 738 lines of code: langfuse/web/src/components/ui/sidebar.tsx has 738 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81881d24bac460215d8fe102481b92708aa39773fc9b95cf94c50f5754cb6cb"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/rbac/server/membersRouter.ts: 731 lines of code: langfuse/web/src/features/rbac/server/membersRouter.ts has 731 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb882156954973ab618eb7adebd496e8fee84ef915cca365fa91ab22190e0ae"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/env.mjs: 727 lines of code: langfuse/web/src/env.mjs has 727 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/env.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64fb990b37387f4a9c0ca05ac3d3ebf91b1a7f9c6c5d4c09d8751cc732dc030"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/widgets/utils/pivot-table-utils.ts: 710 lines of code: langfuse/web/src/features/widgets/utils/pivot-table-utils.ts has 710 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/utils/pivot-table-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a0bb74505286dc34505d9de040a995445f2a9007c990aa2bd753dab7d4f236"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/lib/tree-building.ts: 708 lines of code: langfuse/web/src/components/trace2/lib/tree-building.ts has 708 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7580910495838133f89909b2c904874dda0492a823c532f9bc2eadc60df32223"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/utils/date-range-utils.ts: 704 lines of code: langfuse/web/src/utils/date-range-utils.ts has 704 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/date-range-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"decfa186b655c8713aa947699f41d2b4d54c4a9272feaf6f6844b5bde939add9"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/scripts/seeder/utils/postgres-seed-constants.ts: 700 lines of code: langfuse/packages/shared/scripts/seeder/utils/postgres-seed-constants.ts has 700 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/postgres-seed-constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ae34531e136a841bdd70e340b5eaba579ddf68a19d7149d835c53aad5b9ebb"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/repositories/definitions.ts: 685 lines of code: langfuse/packages/shared/src/server/repositories/definitions.ts has 685 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/definitions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fb6ba8857c45d5e8adc8d19ee9ef3204b6fcfc0c02c3ddb9a25191c4c8f03d"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx: 658 lines of code: langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx has 658 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae7e87e2055d770796a48a6e12bce3df2684e6df9be85e446d4d2bd290d9bb9"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts: 650 lines of code: langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts has 650 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bf00043dc32cebeaf4911774c265230e753d7efc1310123b0bf588e3169584"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/table/data-table.tsx: 637 lines of code: langfuse/web/src/components/table/data-table.tsx has 637 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9421cbbd82535aaf51fa54dccc03b836bbdca3d19402ad2b0c218adac760eb61"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx: 636 lines of code: langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx has 636 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/GovernanceBanner/TraceGovernanceBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b091079c6036fe48d5f52c512009623a04a4ee7901ea2c6416e62814c78c96"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx: 636 lines of code: langfuse/web/src/features/evals/components/variable-mapping-card.tsx has 636 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ee9db236a6a08c11ef87120b727bfac5b97dcec61dc5d3c979ca7dd7ec5c67"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/support-chat/plain/plainClient.ts: 628 lines of code: langfuse/web/src/features/support-chat/plain/plainClient.ts has 628 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/plain/plainClient.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7a93e4bae586bfefbdb9317d4a3009cfb04d3c49f4ec0869a0ad0b9c5fbc0f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/queues/autoExperienceSummaryQueue.ts: 621 lines of code: langfuse/worker/src/queues/autoExperienceSummaryQueue.ts 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":"langfuse/worker/src/queues/autoExperienceSummaryQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ec1bf2ecac14ee02b06856ff9010ab9bfcc733ef1124e1f81b6f56c0b27616"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/rbac/components/MembersTable.tsx: 619 lines of code: langfuse/web/src/features/rbac/components/MembersTable.tsx has 619 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"130a53557d35bf4f1ba32b1a51ea61fbe0cf367a62be1f3a6247273d998e49e8"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/evals/components/evaluator-table.tsx: 613 lines of code: langfuse/web/src/features/evals/components/evaluator-table.tsx has 613 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcc94bd2ab53df4d6fcf6d9ce806114fe45abf075f914ddd45ac2cced3ea81b"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts: 601 lines of code: langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts has 601 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7392e3c5599e672c780d54b2ed2e84fe3562140ae800a15464e3420f9b6393c2"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/app.ts: 596 lines of code: langfuse/worker/src/app.ts has 596 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/app.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8defa04103f4b0ede70f653510ec10bcceb2e2b384c0d91c2c184105ca452d8"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts: 595 lines of code: langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts has 595 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df246f16100c2f0e673166c9ccd0203079ecbafb295cb265087da8218d19719a"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts: 587 lines of code: langfuse/packages/shared/src/server/services/traces-ui-table-service.ts has 587 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/traces-ui-table-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6cdf4450076e4ee05de9966abc2655d330b3b7361bb572b59e3651aa1b3dca"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/server/api/trpc.ts: 587 lines of code: langfuse/web/src/server/api/trpc.ts has 587 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/trpc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa578fbc44f63e4fa258e6c4d03450f575d38810ce0b3c3306701c04e5d97f10"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/queues/webhooks.ts: 585 lines of code: langfuse/worker/src/queues/webhooks.ts has 585 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/webhooks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c19624d9bd9a5ba0636b6603fa86f57b2c39d47bbb8c5040a18d73b5572e377"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/prompts/components/prompt-detail.tsx: 581 lines of code: langfuse/web/src/features/prompts/components/prompt-detail.tsx has 581 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dcb1814d2f54d54521224d31e5c30a6f045cb86bf922a78955355e2a3dbbb4"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ModelParameters/index.tsx: 574 lines of code: langfuse/web/src/components/ModelParameters/index.tsx has 574 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88fe2cab3500c666d8e29c0f1481cfee7133e8a1db08e328a56e8ed7a479a06"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/score-analytics/lib/color-scales.ts: 571 lines of code: langfuse/web/src/features/score-analytics/lib/color-scales.ts has 571 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f738f3a42537caf013b3118930cb43b9818d4e89eaf41aa6d2a32d1b4f99c0"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/automations/components/automationForm.tsx: 570 lines of code: langfuse/web/src/features/automations/components/automationForm.tsx has 570 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ca6ad840bd84e184b10d5c5219e84350e20be82fbd664d81b30dd518b200a6"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts: 561 lines of code: langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts has 561 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ef7481ef6613ad944c029a7441555eae4a1840586a4520ef8cf74dbc7ab2f2"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/score-analytics/lib/statistics-utils.ts: 561 lines of code: langfuse/web/src/features/score-analytics/lib/statistics-utils.ts has 561 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/statistics-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0dd99c3dc7f098045f1b84d229a88b5d11882aaea756776957932ea5d0705a"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/support-chat/SupportFormSection.tsx: 559 lines of code: langfuse/web/src/features/support-chat/SupportFormSection.tsx has 559 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacf4ef671587ab576e1448b3deb3fa964792a7cee3694f84e2905703f53d02a"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx: 555 lines of code: langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx has 555 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67498a30bab6393a5d8220f0a20c69566e484b31f9a8f03801d2aa27380582e7"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts: 553 lines of code: langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts has 553 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b032344959674224382d90531cc6f902ce7302ea79d2494446aa752e82fd6a03"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx: 547 lines of code: langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx has 547 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"932d65b49530e268004ec21b4b5ab3aec493229043e0d2ddfc0d78006992b86d"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/table/data-table-column-visibility-filter.tsx: 543 lines of code: langfuse/web/src/components/table/data-table-column-visibility-filter.tsx has 543 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-column-visibility-filter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33e3c587d618695e7b17470a682a691720568d9634d46cab08bfe7879668a57"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/features/database-read-stream/event-stream.ts: 541 lines of code: langfuse/worker/src/features/database-read-stream/event-stream.ts has 541 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe3e11dc43dd96cc4604e64287c27a177518189e7a5913d585b28c6218bbeb5"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts: 539 lines of code: langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts has 539 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10ba5f7762599bb35b303f47936920246d419be1456bdbae647413f7f5dbbd0"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts: 536 lines of code: langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f4208117e6de2bd7c81b757998a302293b37d9232cd177983c571d37b982e9"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx: 536 lines of code: langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef86aa39bf82a962f59aa67958f3bfeb2dbc165c0b662a1fa0681b424baf288c"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts: 536 lines of code: langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/server/scoreAnalyticsRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc50707b99e9094d41e05421049e175a1e376f53acd18e3c0babc3e130456f3e"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/TracePreview.tsx: 534 lines of code: langfuse/web/src/components/trace2/TracePreview.tsx has 534 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b2aafd93f06191fc34266a16b1716cc955df19e9c1c1685d3383f9cbeba31a"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx: 531 lines of code: langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx has 531 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationGovernanceAnalysisPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb4034e02eadc3fbd13a34fcf524d36bb63c2b46ef8f32693b86764440b1f97"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/ObservationPreview.tsx: 529 lines of code: langfuse/web/src/components/trace2/ObservationPreview.tsx has 529 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e07ac33ee7232c3c9056f997121651dd04986ced772c5811cd9d76dcb80690"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/project/[projectId]/users.tsx: 524 lines of code: langfuse/web/src/pages/project/[projectId]/users.tsx has 524 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/users.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"706127cf3eb7ace86d58bb831ffec3b4d3de53a0a9914ab4dff0e6769d8e2312"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/utils/fill-time-series-gaps.ts: 523 lines of code: langfuse/web/src/utils/fill-time-series-gaps.ts has 523 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/fill-time-series-gaps.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8b33c275980cc7b59f361521040fcd5256c87baefd4b83911356e1322c678f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts: 522 lines of code: langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts has 522 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/experienceSummaryHintMarkdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1514bf0678776ad8ad7049f549a1acc18d3c54ecb585f4eb6620026eb57da665"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/evals/components/template-form.tsx: 516 lines of code: langfuse/web/src/features/evals/components/template-form.tsx has 516 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d3110affb183b058b1962d521b7b64fdee13ab58449b12de78a48a6472ab74"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/automations/server/router.ts: 515 lines of code: langfuse/web/src/features/automations/server/router.ts has 515 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48b0055a02752a26ceb412f7ef98307594aadd30e6ad14f36590779ae64c741"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/date-picker.tsx: 512 lines of code: langfuse/web/src/components/date-picker.tsx has 512 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/date-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f526f00bce4c421025d0293e8f645321304b425886d25f230d8af70cc1a63043"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/filters/filter-integration.clienttest.ts: 510 lines of code: langfuse/web/src/features/filters/filter-integration.clienttest.ts has 510 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/filter-integration.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f0dddb9ff0512563d22eb0bac26656cb95c927f3a12c122a28fa40b1d02d4a"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts: 507 lines of code: langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts has 507 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueuesRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2dabc26077e882d1420e1b8bc39c89e4daeccb4be932697b9acbc049497bf0"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/llm/types.ts: 504 lines of code: langfuse/packages/shared/src/server/llm/types.ts has 504 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/llm/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b474c8b690d81b25c4d8ffe5b6accdb9c20bc22f902664af6dcf278c9773cf29"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts: 503 lines of code: langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts has 503 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba86a2585fa7d50e6352b7171d9ef26d0d0e7473fe3ed63d1c4bd76f2196b26"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts: 502 lines of code: langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts has 502 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f41e30c1af8d15bdf7c5babedf1667311205b99e276fcdc7e5675ccecc479f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/evals/components/eval-templates-table.tsx: 500 lines of code: langfuse/web/src/features/evals/components/eval-templates-table.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":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef6e6df735880cdc8f14010c9d53ea4a0f17984c58efcfe0708cc42004aa63d"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/repositories/clickhouse.ts: 495 lines of code: langfuse/packages/shared/src/server/repositories/clickhouse.ts has 495 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"745a0666c416e460cd415276dc95877b82e9156d122dd97ef1f560518ac9238d"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts: 494 lines of code: langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts has 494 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae59956d1f06a47218aa08129b8948db53df76403267b74ea80191a7c1e7b8ff"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts: 492 lines of code: langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts has 492 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1a2fe1a9e2ef56304a24eff1dab5c1e20d1adaacf06f00644ce7433f8f598e"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/llm-api-key/server/router.ts: 491 lines of code: langfuse/web/src/features/llm-api-key/server/router.ts has 491 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/llm-api-key/server/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4691912f0d6bb152cd2743be0172e44cf265fbfe827ed69955dd47e0b8a038"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx: 482 lines of code: langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx has 482 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/models/components/UpsertModelFormDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"282a1be7c64245cc6a91fff1e3c5828d56f82b10fe526f729c9309b2eb12bbd4"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx: 480 lines of code: langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx has 480 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bc3821e6f0138248c41447c951bf13a128065e5d6a9e2f402371467cf2141c"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/datasets/components/DatasetForm.tsx: 479 lines of code: langfuse/web/src/features/datasets/components/DatasetForm.tsx has 479 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8886baa83bbb37926028293c980bc4c5492dd46fbb33b1c7eab360b8a2482631"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx: 479 lines of code: langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx has 479 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6a7d6115729482de4471f05a8ae5876fb0f59a8513a675f62428b199ce6a5e"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx: 474 lines of code: langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ed0ee0dd254bde17ed60ea5db855e210148a520f51a7f5bf254b647982b9d1"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx: 473 lines of code: langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx has 473 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b98143e6c5b8d93fb50bc80686f9bc4f15390e465cd4a283194cd9063aaa2c"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx: 473 lines of code: langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx has 473 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eb1b612f7ea2db4e36f3fb29da721179beccb1d15717e42020b26b0dd09311"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx: 471 lines of code: langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx has 471 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdb705dc9c6d20bf091392eaa098e783fa8d35fe17c411a1b21a422a8918d50"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx: 471 lines of code: langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx has 471 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"878692880bb65be7be845d996bb07fdae8c2d1987313a9dd10268d8f7a413171"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts: 467 lines of code: langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts has 467 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/clickhouse-filter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4269fd10a760afcd6ce8af3569f9007e5f33f4560f87de83a2fe4cef918c746b"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/services/ClickhouseWriter/index.ts: 466 lines of code: langfuse/worker/src/services/ClickhouseWriter/index.ts has 466 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/services/ClickhouseWriter/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8587f17e7ba66d1391a852a19e6e3de26d9e59f2965339dd75431731d38bd5"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx: 462 lines of code: langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx has 462 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b20c573bd36b80a847d41cf208b2168add1956d60509b6260789b11857edbf"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/MarkdownViewer.tsx: 461 lines of code: langfuse/web/src/components/ui/MarkdownViewer.tsx has 461 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/MarkdownViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"991f5f3bb168029b327371e61c545ff21df5f8752aaa9618fb50e19ef12b574f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/public-api/server/scores.ts: 461 lines of code: langfuse/web/src/features/public-api/server/scores.ts has 461 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/scores.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ba57645068abe432af1a3a0a817973608e2329fef6318394dc0805da37014d"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSON.tsx: 456 lines of code: langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSON.tsx has 456 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/IOPreviewJSON.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd1d001d1be0e3d5b6093bc7a51e59674dd8c61113e7e22f79d2504c7becf85"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx: 454 lines of code: langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"940fb8505fd7a8eab7269d95c01b3ebb2b04c70c2c5662175ce6946816bbd05f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/server/api/routers/models.ts: 450 lines of code: langfuse/web/src/server/api/routers/models.ts has 450 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/models.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2b757daa3016cc68d5999a58c49285d5b16a41947b7752304604422ecbe648"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/lib/helpers.ts: 447 lines of code: langfuse/web/src/components/trace2/lib/helpers.ts has 447 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16af030dad4470a5f884783ff2b44e6aeeb856e73c08f85c420c55dc3cbea77"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts: 447 lines of code: langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts has 447 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42731f292f35d9c69d5ff5c82ede1c656992ec6341238415b01f809735ff5d57"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts: 445 lines of code: langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts has 445 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1500d47ae9c80759e41d019410f7878ec605f5fbf330fde12cdfb02575c02960"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/public-api/server/traces.ts: 437 lines of code: langfuse/web/src/features/public-api/server/traces.ts has 437 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a63315e4023aa34ae005995f0892e8228d6738fdfa40f9cc69f30c71c58b1e"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx: 436 lines of code: langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx has 436 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/prompts/metrics.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5907e5c146418d2b9ce8a3707ce6c3e8a5381e4d5ac6c18e054e8d818bbe72e8"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/queues/otelIngestionQueue.ts: 434 lines of code: langfuse/worker/src/queues/otelIngestionQueue.ts has 434 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/otelIngestionQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df56944ee8bd6330e9a4157e6ca7bffacf13771eaaec44400c1d6350e1f3c17"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/public-api/server/apiAuth.ts: 432 lines of code: langfuse/web/src/features/public-api/server/apiAuth.ts has 432 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/apiAuth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5a2e79e9f93348b832fb6c6cec23969e6ea4f5e32ccac45a3f2c52f828347d"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/services/DashboardService/DashboardService.ts: 431 lines of code: langfuse/packages/shared/src/server/services/DashboardService/DashboardService.ts has 431 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/DashboardService/DashboardService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bda28cecead1cd99f9735843d6b0c4981cdf3d84a91eedf73b2ebe5d0d1c952"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/deleteButton.tsx: 431 lines of code: langfuse/web/src/components/deleteButton.tsx has 431 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/deleteButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34de274ab7db2ee886eaf3b10d8f9298ace8fc66328b44abe4e782af81133564"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx: 431 lines of code: langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx has 431 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2912cafb0eb50389cd0e1e74edcdb3ca9819cc4540db529a34059dd0d04a1d21"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts: 429 lines of code: langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts has 429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f12e4641e57ca5628c12d1826cf78e76f66d4fccbfd5bc91e042211d7c137f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/server/api/routers/comments.ts: 429 lines of code: langfuse/web/src/server/api/routers/comments.ts has 429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/comments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae240770b0f7c6af3e1e8e9e0c622cc251e3b04dae76fa93a9d33f2aab0b37e"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/features/experiments/experimentServiceClickhouse.ts: 429 lines of code: langfuse/worker/src/features/experiments/experimentServiceClickhouse.ts has 429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/experiments/experimentServiceClickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b55321882b56f40deec0d77dd926254df47ba76510776163ba2829edb6300f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts: 426 lines of code: langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts has 426 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"305bdbbc6b4136da082423b8767693c01318ebf9c5bd69530ece99ae3d5811dc"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/command-k-menu/CommandMenu.tsx: 422 lines of code: langfuse/web/src/features/command-k-menu/CommandMenu.tsx has 422 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/command-k-menu/CommandMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98790c4e6cbc7dcfc8ca3518b9eb95966138207dc61a0c91b384ae9e5573b2cc"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/prompts/components/prompts-table.tsx: 422 lines of code: langfuse/web/src/features/prompts/components/prompts-table.tsx has 422 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d911c64327d956d0f4ee20c8045049b05f52606feab061ddb30bd94e8a639f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx: 422 lines of code: langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx has 422 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32622abc7ba6fdd370e9844718ced1d3f941b3686a2afa987d517bc40b9abb9b"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/server/ingestion/processEventBatch.ts: 421 lines of code: langfuse/packages/shared/src/server/ingestion/processEventBatch.ts has 421 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/processEventBatch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725a5118c3262dc6d674da9a87435ef1a81a606155271c6da99bc004b7f25826"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts: 419 lines of code: langfuse/packages/shared/src/utils/chatml/adapters/openai.ts has 419 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecea1932a193c54795c90421c8b1e3bf9eca00567164b5bbbf0f8402d60b7ca1"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts: 416 lines of code: langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts has 416 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7706d064541fce2dc79ebe11ebb54309b47a9109f3a4ecd75d85db3d3706ac"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts: 415 lines of code: langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c181713e2719ad6bd7a9141a92fd56029d561ab1bfda9d8a057f03bd8ea0c59"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts: 414 lines of code: langfuse/worker/src/features/batchAction/handleBatchActionJob.ts has 414 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/features/batchAction/handleBatchActionJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f742e496362c8a4a0b493a7cbbcaa303cd3f560501e6af09d4cb623f0ecae5"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts: 413 lines of code: langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts has 413 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b972320b892a1de5de7b1acb95b6bff1bcbc043da977c19c9070f8838b45b7"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx: 412 lines of code: langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx has 412 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3a2b4369adf20e9e8cccef3f89f2236bb57c464a10b607d8e70170a519b646"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx: 411 lines of code: langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx has 411 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f78f1048a730abbd9c7c9fd3bcae81bb50927770b6a7283e91ecc135451104"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/table/data-table-toolbar.tsx: 410 lines of code: langfuse/web/src/components/table/data-table-toolbar.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":"langfuse/web/src/components/table/data-table-toolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c142d12510c582783380f31457128453fe3631ec1ab2ff5beb86c2adb2ea2af"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts: 410 lines of code: langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts has 410 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillEventsFullFromEvents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1a53743b30a1c13f238e68a7016a35fae1025580c54456354bd4d20e8c3831"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx: 409 lines of code: langfuse/web/src/features/datasets/components/DatasetsTable.tsx has 409 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd0da035484b577d2ea27c02d3a25d482c7eeb7c48d3ba31a2ceae94f85e11c"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx: 407 lines of code: langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx has 407 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aae8dac8a8c3f538310705beac00b8b961421202f85f6ca6c9e1f6f1c43e13"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts: 406 lines of code: langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts has 406 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99688aa3c4ddf522637945c886817a23f221c4631cc6631f73f13fef937e269f"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx: 405 lines of code: langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx has 405 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae107d99c780d666fa5ffc4121fdfc619fc672aa7fd65d2299197b8a9f4a1e"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/scripts/upsertDefaultModelPrices.ts: 405 lines of code: langfuse/worker/src/scripts/upsertDefaultModelPrices.ts has 405 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/upsertDefaultModelPrices.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7181e4dc6934bab4e24909ef7b87b8bf6f458affff886734600ab3e8b3d32df2"}},{"ruleId":"R3","level":"warning","message":{"text":"langfuse/worker/src/env.ts: 401 lines of code: langfuse/worker/src/env.ts has 401 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/env.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87609047431da06bf12e6a485c260d91b9ec8239405c21e88dce5e91a2c6056"}},{"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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8998136748bfaeaebab3a767248254444a5b2cdf3d3af71ff0636a797c5f8dee"}},{"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":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a59aeba1f4e9ecc13675b37eb8c2baaef92e7a879634f44994fb0474b4afd77"}},{"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":"langfuse/web/src/features/widgets/components/WidgetForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfeb3db33da2aabaed1149d2940d2e0c41f513724d07a5a18af9f3a3365b501"}},{"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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d78d50a66aa77045fbfd0528103c375d02a5970e7f822d7737f66418e09bb0d"}},{"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":"langfuse/packages/shared/scripts/seeder/utils/data-generators.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8e3f335d0aa95e918475dc1c9e48b50c44191117e9034b6ffc402552a86d2e"}},{"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":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3c026721fdfec2a8458141df8d93d4113edec0824ce431a929d9949c6eb4a8"}},{"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":"langfuse/web/src/pages/project/[projectId]/experience/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3187d7524c7abc89b06d1e3c30519d45963d8f8e8ad482ad987d34bc9947c3"}},{"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":"langfuse/web/src/pages/project/[projectId]/policy.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e96952ea65b03bb21ae38be8eb085dfc26e059152ea3deee739a233c19c452d"}},{"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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0e9f1c4384ac756e5fc95b25858f835e6dafe7224e406c3b1c532893904e4e"}},{"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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"364b25f1912bbf7fee02e1db291eb86dab6bc866ed693c0814c61a03b663cf9d"}},{"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":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b1256ddd9ec46561954a128e660e2e2b4af30455b6e879b029bd54dabb12e7"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8e3794b5725911f1940a257acf93300677a86068edffbf62e01c8592d232e3"}},{"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":"langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca447e8231890e8d29c39b3b1f0dbbfc239a5cf7bd0807a31b6152c27d63cdc"}},{"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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed74ac11c316b805f1a2de38340b4e9374dcf8be7f53a0f7bede72b0b05ff674"}},{"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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"004cb98a29ebc3bb7d31b85bfe8cf0cf74c0ef9182cdf9654518761a3a86471d"}},{"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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daef78e266ed96bc001a3ff96d3f37d32aa420c7aab1ddc0e70a5943631a47a7"}},{"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":"langfuse/web/src/components/table/use-cases/scores.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fb96da2b6bf21b878e0615fafbca9f5d2fdc83d9e24cca867dc8eeb49eef47"}},{"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":"langfuse/web/src/features/scores/components/AnnotationForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97a71874a298e504c50840e3fc8c9d3c363801549170bb412f23f955bcff0fb"}},{"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":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69ad4a1417857952290e6122db092d89955e5176167be13d1d432c07d9345f8"}},{"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":"langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b1b7f1cab5ccee72a05074246d22121fd94f77d3d6c80d289fe3062bd9b00b"}},{"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":"langfuse/web/src/pages/auth/sign-in.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cdc7047f212752499444c12d6667573af1a9ff79f6b2b493fc5be3df0987cd"}},{"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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e293338d77e6d2f55b910d2c4148af5305365057b67adfd17b1cafce76566c03"}},{"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":"langfuse/packages/shared/scripts/seeder/utils/postgres-seed-constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa632ac3c92aaa2d76a6e4ce46b1c451b39bfebe20141ce074ce452698d89c6"}},{"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":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18de5493b29dc3ddab06f4aedac064ffaf679a27fb2fb426e4af28993db410f0"}},{"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":"langfuse/web/src/features/policy-governance/components/PolicyGuideCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"683f49c33309c23e21d57d0dfcf746c078aa11263dfc75650a9646dc71ba72a5"}},{"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":"langfuse/worker/src/queues/autoExperienceSummaryQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b1aaa5cf3f27198ef3d6f09fd956916cfa5372480e2f7a4bf05d844091368e"}},{"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":"langfuse/worker/src/app.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108646b0d424c6078eccdae653fa36ee8f3cb770ef6beb381b2f217c18607e23"}},{"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":"langfuse/web/src/features/score-analytics/hooks/useScoreAnalyticsQuery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f482cb7d3f3d28a03dd38a97902b8a79cc511649073ab009b6cf1497d064d33f"}},{"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":"langfuse/web/src/features/evals/components/variable-mapping-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c33f98005c5449176a4657bf5f852e34768592ef791013f499f23c2a682d0a6"}},{"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":"langfuse/web/src/features/rbac/components/MembersTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ffc85bb9889630144caaf3bafb03b0dcad21464ae837a1748b53c6334e41d7"}},{"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":"langfuse/web/src/features/evals/components/evaluator-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c636035134732b9439b05b944c6e07fd31c1ba5d40fcae86edfecc393e5f81"}},{"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":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"384e82e2d62d10ee9637a72d921a3137d4b21794f30d6ade2d4800c140512fc2"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f8e0aedfeef1409bc4c8a8634f21c7d40f51be4d7ecb02455804fa52c6fbd4"}},{"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":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adc2dbf1d18be2894eb809766555fe9d3ab9f168df568829ddffc5dc1090353"}},{"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":"langfuse/web/src/ee/features/billing/server/stripeWebhookHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"567bb3fe37927780813dd3dce641fef5b32b84283c20a67bad17ad5df018df71"}},{"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":"langfuse/web/src/features/prompts/components/prompt-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f2da60a880cb63741b9cee686f0ec66c91c5e5e888e4c922ac25589817795a"}},{"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":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f745ca2ffb8e525f1d342c549eebfaa61c4506784c50accb508cf69961cd3df"}},{"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":"langfuse/web/src/features/automations/components/automationForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab04879990c7952e78adcd94257a8391c9e3db0ab4aeb53b7c39d006357c6a3"}},{"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":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f965bda32269dc6ccf11954bf04099a289a806555790a88ed0b68cc5b100ed"}},{"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":"langfuse/web/src/components/ModelParameters/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eb2ac6cdde550d66eeb75a7dc7b25114f0938f376c4b8d7c13bda415f84989"}},{"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":"langfuse/web/src/features/error-analysis/components/ErrorAnalysisSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a37191e02c50c298bba1d91ec241d1314ca0110435b3151b47eef69d455da6"}},{"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":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ed36b5447a75999219766724840e73bb696ef585c45b336aafb4822098d00e"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7797378f9c619fa04682fe22f6d177089c77b02645d08d64aa4e08e5f494d89e"}},{"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":"langfuse/web/src/features/filters/filter-integration.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b66b30398da42c9a3861172d3aaa619aaa0ab04c66896481acf3460b0c36323"}},{"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":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ead7410c2f7fd96dceb1c28d0004a7ab7d393fa7362380e8f71fa53c8d4abb8"}},{"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":"langfuse/web/src/features/score-analytics/components/cards/StatisticsCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09da7db00d49b1224fd8f38d570cc57e3706ff06d49ca7e751218d72be881af"}},{"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":"langfuse/web/src/pages/project/[projectId]/users.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba3b9eb7e68c4365220c6d64c5ede2c00172a7e2d3c69bb8fced6f6dbd6b3aa"}},{"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":"langfuse/web/src/components/trace2/TracePreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b60fd5daa0e25660bc928ec21245ae889fe7d299bcb586563e34367fe1c32f"}},{"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":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d396a5661284c75fa110e1cff1d1176ff3fc7e4f1b97ec039cb299e03bdec7"}},{"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":"langfuse/web/src/features/evals/components/template-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1640155b0126b81a70b900214a57998bfcc94d94575e229cbe60c4b1da8628"}},{"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":"langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ce63d64754a8ac5ac70f12ba8a104e8a2498ef4ca5c61a169fe2b5162564d0"}},{"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":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5622f8c5cc3cbc45fddaea04fbd39b96f5a1ffb459e22df5acc9dbf02fe9b2"}},{"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":"langfuse/web/src/features/evals/components/eval-templates-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6920fa9a7e1ff1e9e4a10e2218e84729b099d0148f052a42a3ffbf6c575539c5"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ef436d3b8778a2d347a1c39cd2682e3fbcc4f852e08358eaffc194afbd8107"}},{"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":"langfuse/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a102c7ae1ab276a7823558412c36f13fd87779977372880019b111c29346b8aa"}},{"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":"langfuse/web/src/features/datasets/components/NewDatasetItemForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859bd3612dc642c9f23ec27bb188903fd94149430c62ec108b026248f5b102f4"}},{"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":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f0cebbffeb047ec86c46b86987ca96fd250f71531ac02cef630bbeaec503b6"}},{"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":"langfuse/web/src/features/prompts/components/NewPromptForm/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed063f5f947a69ca1daf5d8d8938aae96d72703ab3ecd677c9692402b7e8199"}},{"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":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82c69313ee0b8a4207f9985a537c8ab1905c6260b55961ff9d8614ce49eb5e4"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec33c587a51a212f3506aa1b1548786862abcf8962cf2781d9f95d477bd1b40"}},{"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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"552ccbda31b913b9a0707e84cfaa09caa1815f140f461ed851059a4c8d47b94a"}},{"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":"langfuse/web/src/features/public-api/server/scores.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"963188eff04ca91dae107a2ca44d5240d25afbd510d3eedd8f8e11c17ddf05a6"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aadb1fedec3089d5c41a0775cf8b78477d5151862a9da00a56e21d0531e8ad"}},{"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":"langfuse/web/src/features/public-api/server/traces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1119c783532b4c387b88c5a7e97b5397abeb49f227599ad24ee8933675719254"}},{"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":"langfuse/web/src/features/command-k-menu/CommandMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc032bc03da6d998b4d83b274e70d21ee06ffe1f4c7fa17f26206f7078b5ad02"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fb6651654cf3205abe3127b9df6150fac6d94397f3f119b79e56a7917c1c9e"}},{"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":"langfuse/web/src/features/prompts/components/prompts-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4403f6dea7bba5a3fba83b7efe60821a3689e6a5a9b250e4ffb80a2e684ac2b3"}},{"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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7092d06ace2adec86f163d9ebfb9a23bc86df2f3ccd2922e45c656c86f45a8c"}},{"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":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8a3419cc68c9af1fccac9e7d1db76db0c086954b2cec2cb5e416115261af90"}},{"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":"langfuse/web/src/features/datasets/components/DatasetsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d16f4643c338487ca2b0c8e2a3fea2b7d9644a18bcd1f2611189bfc659b693"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3813ca4e6b3f8862bab73d23b550cdfaadf602b070c6c233c323099e169956e0"}},{"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":"langfuse/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"482dbd01194c53a22e3124aeab375334c04e2caa384d321e116e757449d8f260"}},{"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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationStatsCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ba22f5e9c7b9559d8d182eba0d7e589b4ae291c133580bd585199f770d4407"}},{"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":"langfuse/web/src/features/evals/components/template-selector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"400b2e1a0cdac655023bb48cb70cc457bdbd2fb1ee8f50a2c8a73f144914906b"}},{"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":"langfuse/web/src/features/experiments/components/steps/PromptModelStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"546557e799885ab999e809ac16ebbd7bb2935bdf6ff6a12219a7fc16740999d1"}},{"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":"langfuse/web/src/features/dashboard/components/PolicyConfirmationDetailsSheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"225c9d71e55741078bded8a0679a605d16dacefabf19ed378ae360faa3713227"}},{"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":"langfuse/web/src/features/automations/components/automations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5a3a8d89bce1b8628653ef2cb90a154da388dbec12756a2d7b43fdabe52cff"}},{"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":"langfuse/web/src/features/dashboard/components/ModelUsageChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b7f2167c8868506763acf2e034078fd3c976773b632438922de6271c6c48c1"}},{"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":"langfuse/web/src/features/organizations/components/ProjectOverview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eeba59656e454f134363fab76216236583f405806a946be3fe55cb7ba5c08fd"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/models/[modelId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"829e65cc08e6e416e547224307d52777b89b552c804f0f2e67f141ffd56c8bae"}},{"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":"langfuse/web/src/pages/api/public/scim/Users/[id].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a98d34b935f14f07923225fae896d9fceda8bc1b8f4d9fd33bfa8f231f75f1"}},{"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":"langfuse/worker/src/backgroundMigrations/backfillBillingCycleAnchors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7874ad6209d21a954e300973de675e44aca5123cac844ab15bbfaba7ff027552"}},{"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":"langfuse/web/src/features/public-api/components/ApiKeyList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"419c509a9f80c00353b2afd4dd1011862182ed4782411f1631658ae1d5b286d8"}},{"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":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c068e90a1b7703e84b869053eb5bf59cb8af2da74c11693bd46e6c00dc16e6"}},{"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":"langfuse/web/src/features/datasets/components/DatasetAggregateTableCell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61b34f9d47ce5b38d997f5822068ef49cf798e9f43e65047e204a4568489522"}},{"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":"langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bca11e2d3d5256e0019c575fb8e60bd1843ca0e9b907626134ee214c6f088a2"}},{"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":"langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c22a1ca4a61e68cc723feea44d02e0850fdb19f2cadaffa33a4b935ecf3425f"}},{"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":"langfuse/web/src/features/governance-overview/components/GovernanceOverviewPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57449cb9b1c47eee8c8feac99a00b84b606ef655b310cb2ac7841e195647784"}},{"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":"langfuse/web/src/features/dashboard/components/PolicyViolationTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71efb501cf0ef12cdd3462af5374f6469af180bb044bd0a6ceb7c72c948744c0"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/Heatmap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df544ca6b3f3261c639ac03ea3b7662cc2e79b7ba1f7bff2778a3df6735b162"}},{"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":"langfuse/worker/src/features/eventPropagation/handleEventPropagationJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e445997d01f63ca06aec66db586ebaca7b01120b0d3e4387fa4a1aa107ac4acb"}},{"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":"langfuse/worker/src/ee/cloudUsageMetering/handleCloudUsageMeteringJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7871d04875ae08ec56dd288b6b8e0eba2cd3325dd3faeed78bd2c8d6e705c6"}},{"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":"langfuse/web/src/features/score-analytics/components/cards/HeatmapCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b028fa6a58397ae3d56fede14717bbf4562d953b5076d633f3545a8f051f41a"}},{"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":"langfuse/worker/src/features/posthog/handlePostHogIntegrationProjectJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e4885f5a9a2888c5774b275426d23de22795622ea618b83ee38f8f66ceebff"}},{"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":"langfuse/web/src/features/slack/components/ChannelSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"498bc76bef6dbcf4caa9f2bcf236bd54926369824c13f7a16f6302ae33dc6ff1"}},{"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":"langfuse/web/src/pages/account/settings/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfe2482f41f86772a909c2a2f2905ece2946b63d6bf2fc62b4fc8770adbfb21"}},{"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":"langfuse/web/src/pages/auth/sign-up.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"822b66542652e740a1a203abce62583f047554ffc75f463cca0c903372baca1b"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useTreeState.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93152c19467842d7cd98f7f52834598cfa564b383d6acf29f4599e50045d0950"}},{"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":"langfuse/web/src/features/policy-suggestions/server/router.servertest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5787fb5cd47b7453f8d44f56bd16006b762133cdfd0b8b59b71cf39195607e"}},{"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":"langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f559436f0ece77f690a6dce12f59b4af332d851babfcf1217c47e311ef0e3723"}},{"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":"langfuse/web/src/features/experience-summary/components/ExperienceSummaryView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d510dba16fa16e0c1b0d1af4b713f13bc084af40c8d9a42d15ec98e4717556a"}},{"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":"langfuse/web/src/features/score-analytics/lib/score-analytics-transformers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fad32870ea431e9046ce420aa47474678394c5aa84d4c2b265e77dac0f0d0a"}},{"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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ce613e010a6028ce031fc302e1eb1799ea8dbf8d56647308d49aed647d5104"}},{"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":"langfuse/web/src/features/datasets/components/DatasetRunItemsByRunTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e43750e1cb980e83dd7d9eab54315aacdbc9d2ebbb9e621460d05db13b1118b"}},{"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":"langfuse/web/src/components/table/use-cases/score-configs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de331ca9bc0f8091871fca74f687d86f579494d5de3e46b9d340c3fe85b93b2d"}},{"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":"langfuse/web/src/features/evals/pages/remap-evaluator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8c20899c1e0321b0fe696667511e161a75af606e79bdf176a568547d1dc70b"}},{"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":"langfuse/web/src/features/dashboard/components/DashboardTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbb80ab8bb7257c8729fd762e35fb895c52491429f67695bd00d722ccae8bc1"}},{"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":"langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"061cae1c1f9218549bf9c70ece3b520c69c89e04303886c80c4228d461a961e9"}},{"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":"langfuse/web/src/components/ChatMessages/ChatMessageComponent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd973a20165507b2637479e58c5ad459461e48dfb59040c1ef56d305d72cba1"}},{"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":"langfuse/web/src/features/datasets/components/MappingCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a73c474f419208c0bd183ecc29083ef643d5aa4b3c1fa74bb1c90758aaf841"}},{"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":"langfuse/web/src/features/datasets/hooks/useCsvMapping.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9689c100cb6910acb43a99dd1c90c21e45c575d82dc19fd6518b9d2738af50b"}},{"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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3306c0ba801e748156ab598d8bb58120e177affd4e3726c97eed787ba7f94775"}},{"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":"langfuse/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3fac493eb0d208ecbce748507e4970fba023289ce7badf2c83c6b2c63e0783"}},{"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":"langfuse/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e688eb99030324280151dc1bef74b825b19ccf7a4ca7333d970b33003f662555"}},{"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":"langfuse/web/src/features/playground/page/hooks/useModelParams.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"863e4d29167c923bb0c92aa7d8bd59647049f095663a94008049820a4ec5b48b"}},{"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":"langfuse/web/src/pages/project/[projectId]/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f98e0b6b7797f7f4791bce41a55ba76025fc4a555e1d93601cfb5ee1412ed69"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c597c4ef393814493bae7b8330a6b8c4064f31d519827285fef3f1ab6dfc4e69"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafaed52d71f54745f9d621c0811d13e674750ac8a6b02001fbddce40cf0514e"}},{"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":"langfuse/web/src/features/rbac/components/CreateProjectMemberButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25d2d335290d84f04c58bce802867c01c15f1668bfd53babbfdd308f5ad1a52"}},{"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":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"343ce34bd0641d34804ba760dc57c20ff8120d62717262ee187c821aed277f41"}},{"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":"langfuse/worker/src/queues/ingestionQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f81819a024eb1bc0cf79c8664403f494e3cf2a270551bf0a86eec2bdb36946"}},{"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":"langfuse/web/src/features/scores/components/multi-select-key-values.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e0f492183c8c6dcd77f62a5b0e45b8b1fa0e9c02bfe4182e4a6ffc00be0739"}},{"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":"langfuse/worker/src/features/batchExport/handleBatchExportJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"601bf999dc340a865638a43013c9ebad682347426de50a0892de8cef1f1a00e9"}},{"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":"langfuse/web/src/features/playground/page/components/PlaygroundTools/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0765bff556b5bb638cad232f70da4de673d410d3884cbe53f80e0db23e7dac88"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionCategoricalChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e196d0404dbb5f3be316046930eed3010db2f7be92374032923b63521c2fee98"}},{"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":"langfuse/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f110810ae5f6e64a38bc1c2635ce81f6d364e95574e6a3a597d4eb439f3c5dfa"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80380838488cc0573f2243f0923c8be457e7cdc185286b60c4ee839c56c74bd"}},{"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":"langfuse/web/src/features/playground/page/hooks/useWindowCoordination.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"926215647abb68e15fa67d86800861385810176bd44dccedd5f54aac01aa1110"}},{"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":"langfuse/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddf4d321838d54e04135527b896073d57aa163cae73a23e21770648566df167"}},{"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":"langfuse/web/src/features/evals/components/eval-log.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f254552f7af259951ee8e71133559729b044358c4ddb5604f716a609600522"}},{"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":"langfuse/web/src/server/api/services/tableDefinitions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3321b33fca967bdcbef050bb9eca0867d4656fbc08ffefff8186d42acda176a"}},{"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":"langfuse/web/src/features/datasets/components/PreviewCsvImport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4bfd2f290119d25e196f65a7f513803789fe6dadfb713c5dbec6e173ec10cc"}},{"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":"langfuse/web/src/features/evals/components/evaluator-selector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f8f7314d55d274c716484a71f8a13f09d5211ab9f0ae99e6be901d80f3d3c8"}},{"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":"langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a3e26847ec3ebfeb731d98113d26c9e3b0d1690c0bbcd288c07ae2443ff2b3"}},{"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":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a082e44458ab8ca6b0be232ae530d15790b0942ddad72036b8d3eb2ef450cee7"}},{"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":"langfuse/web/src/features/slack/components/SlackDisconnectButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1609f3f7d22a0796982a3095aa4d30432a86af2c40428e603457196cce468e2c"}},{"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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueueItemPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2433e58123ef0f0df197337d9664da56804632c881d2c2e041137939affb07"}},{"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":"langfuse/web/src/features/support-chat/IntroSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5dd8869a1ce75986e10c03c28438a5efd470ffb0c873c4e8d533eb9f8e755f"}},{"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":"langfuse/web/src/pages/project/[projectId]/scores/analytics.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb40bd1b261b2530ebcaead2726ddcb044c069f7aa65db198aa201a2e993aa9"}},{"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":"langfuse/web/src/components/ChatMessages/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7626bb99a7561a4cdfbd611be613c99d3aacf728b06280902d0e392f0e9e2d15"}},{"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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50168fd248cdd7be0481b63631f4860843688c6438feb50872e92fbb0cf07880"}},{"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":"langfuse/web/src/features/datasets/hooks/useCsvImport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"113237484c0f0b69b86dc4061c9a965a1341a2fdf2c687ea957aabd1190e481f"}},{"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":"langfuse/web/src/features/datasets/components/DatasetRunItemsByItemTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"985f03c92d04b80e89b96590c15a68ceba57256791d8a671335aa4c2c28ff9bd"}},{"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":"langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationProjectJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e162b162de9903e1cebc092f3e4070d5b9ce07196bd050247194e181bb4e5eaf"}},{"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":"langfuse/web/src/features/experiments/components/steps/DatasetStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50f2122c987af40a93ff379d431f79feaa8f38dea45e5f3812b0a6f6fd85554"}},{"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":"langfuse/web/src/features/score-analytics/components/ScoreAnalyticsProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f115bba87a4d847e4f0ba325d99b045971a0ba6cf538d40ee14b5e42cc59d4"}},{"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":"langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc23181f49dc535e56d3a9224931fd637dc871b2df1fb3e5c0cde7a8427f324d"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d503c2c6f13b5db5efca01719256c95fc9e126b926a60071cb84bcd305bfdb"}},{"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":"langfuse/web/src/components/session/TraceEventsRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ea5227afa7488e539e90fe29d33f4ab2b75e087df12c49e1745b11032fc5c0"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"614147627d9b823066d8144a519f675b82f6504291c02746a2a0300ae1be0159"}},{"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":"langfuse/web/src/features/experiments/components/CreateExperimentsForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcae731f88ecec59db4aea30ed1b562e52fe4dee2b5c48662fe11f06b3612fd"}},{"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":"langfuse/web/src/features/slack/components/SlackConnectionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eaf1e01e0bfd4b8fdc9e883a4f40f08a75b5c2d1c0bc3b57ee22572fae11d4"}},{"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":"langfuse/packages/shared/scripts/seeder/utils/clickhouse-builder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a548a7d78de5e8f9ef3a780416c5c9e0d1efd53d97be9d55cd53d83cd217dce"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22efe2d22951b060a6b43b5e149745bf7cc2caa4802b5182cb615b9a85b14e32"}},{"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":"langfuse/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43867dde332c7868cbbab5fa86eb54785f54351b9d732778c18b8febf6561126"}},{"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":"langfuse/web/src/features/widgets/components/WidgetTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a23321430f150325ca955b643068e0f48b19d611ba4ea9b209998732e6b58e3"}},{"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":"langfuse/web/src/components/trace2/TracePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3bd869327ebeb0ee0c8f8ac5c431e4bd07ef1abab446136752419844f2bb6a"}},{"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":"langfuse/web/src/features/evals/components/eval-template-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c184663b951982975dff8333417687e109403f68b10027961328e8037899576"}},{"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":"langfuse/web/src/features/events/config/filter-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"560672015d81cb4ae4c1a2111dc028c5c1b79fcd21c0f21f15c6e870b9d3f558"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionBooleanChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe41211b02a9f3f8e9250d0a74c55c387eb96da2530cad089c425d7002747488"}},{"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":"langfuse/worker/src/scripts/refillQueueEvent/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dd00405f4dae63b84ac482df0ef0e3b21e8aa0e981d66aad8625c6d66b164b"}},{"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":"langfuse/web/src/features/public-api/server/dailyMetrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2980c0fa0beb84c971a50a21574e072cfb8db48bfc8376c79fb4193f5bfb49"}},{"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":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea409241d42f0124dec9ef8f8dcf60c33f26b68b9228d469f5e2e1b35022ca49"}},{"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":"langfuse/web/src/features/auth-credentials/components/ResetPasswordPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f6a7d1624091e9c599643414f8cc5fca9d10ffcc4139a876224d32d866bff0"}},{"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":"langfuse/web/src/features/evals/components/evaluation-prompt-preview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02589614a88257d8377e1a34569319aefdbab90d49b8b4c441bca6eb49ca903d"}},{"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":"langfuse/worker/src/ee/cloudSpendAlerts/handleCloudSpendAlertJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c92b7bbf760878634ef8ccd49ff62e6eb99f50134269c0427d443f89900aaa9"}},{"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":"langfuse/web/src/features/auth/components/AuthCloudRegionSwitch.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0378a4d0571ef3724f3a97dd8553dce4872fcf898537929ad75ef10e8e64ca"}},{"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":"langfuse/web/src/features/dashboard/components/ScoresTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1965dbfcfd3b3c49c4f8fdb6317ab88c99aaab2c9f6e145c5bbba90c5f0ec3a1"}},{"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":"langfuse/web/src/pages/api/public/scim/Users/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"014e2ba7579aa8c3a85d701b21963702c59afe7773ea24d2161cc33d3c9b59f7"}},{"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":"langfuse/web/src/features/batch-exports/components/BatchExportsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b183143192b0cb089aad36285c5dafbdb5d2f5b28b231ef5e3db40d8fedd0522"}},{"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":"langfuse/web/src/features/prompts/components/ProtectedLabelsSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05285b310377e779775efb1db692777cf2aabfc81f26aaaef2621b7305474235"}},{"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":"langfuse/web/src/features/prompts/components/PromptSelectionDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0f62da8ab93e6fc190f5c655a6092e6c755f0a8de8c41ee1a5b9e7e4435ea2"}},{"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":"langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78aad06cdcb9b5f7333372425aff70d2b80590f8907cc5b41610d33cdfc88a8e"}},{"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":"langfuse/web/src/features/dashboard/components/LatencyTables.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fafb5def6d3e78e530d3a7ebfd815e0641027e9fbb2543265b5b34f159d8d6"}},{"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":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6d7f64257e046bdb5fe04cbbae56c2a520e046befd114d7386453d25cf7607"}},{"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":"langfuse/web/src/features/evals/components/default-eval-model-setup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"444140dda5c02ee0e35721e0b65b40bf3151621d42c59f9942366aeb7003e7f6"}},{"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":"langfuse/web/src/pages/_app.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3462f55d59892c89546b135ec08002effd7f9f3fdfc91922b9ccfe66565c4862"}},{"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":"langfuse/web/src/features/dashboard/components/UserChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd085778e3e1420f292b16daf1400a985925f6bf6295798f10beece0140e49c6"}},{"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":"langfuse/web/src/features/datasets/lib/csv/helpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0738c8ee56b432c34f36ede6b6bc3020248fc720a50521750499ba4aa25373d"}},{"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":"langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad229e2919467f289b654f9799902171bfc458fdb8c264770a4b097561d76c16"}},{"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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/EvaluatorSelectionStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaacb5ec34646352f7d9a41e8c8156b45e9685141555139d11d51582af0de1b9"}},{"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":"langfuse/web/src/features/projects/components/TransferProjectButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d67ddaf419570f3d10dd51c978a6946eea56183b198f03583f732217c2a47e"}},{"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":"langfuse/web/src/components/layouts/app-layout/utils/navigationFilters.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1d502559e90a1f4dca7f2e5be600ad21741ec6934cba2319f07d054069f213"}},{"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":"langfuse/web/src/features/datasets/components/DatasetRunAggregateColumnHelpers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3a52ace8c74e1dc9d6459d0d712af9cba4e2b9dd38001db8f700f0205f2956"}},{"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":"langfuse/web/src/features/playground/page/components/MultiWindowPlayground.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a0f3c61e4638aa558aa416cd778ac76c721114ba654da5155f6cc8564a785b"}},{"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":"langfuse/web/src/pages/api/public/models/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85a1f4224a3578debb06759a92e2e2255fa4aaae1a3d69dc4d23aab4b97c3fe"}},{"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":"langfuse/web/src/features/public-api/components/LLMApiKeyList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ba06098d295a93597d6aa85425d72993768a6cee648ba224bba2ff3b7aa363"}},{"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":"langfuse/web/src/features/prompts/components/duplicate-prompt.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"569ae3289615e27113dcd282d7c851c84218ba79d3cc2d153d4b75fc25c74c2b"}},{"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":"langfuse/web/src/features/dashboard/components/TracesTimeSeriesChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3fb27f61abca6a1ba1e4b4c89801328f609863ae333f0a15321068596843e5"}},{"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":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b22996f6d9814ed66e4ada03a289ccb9f4d6362d746a383cf76fe8890fb368"}},{"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":"langfuse/web/src/pages/api/public/dataset-run-items.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36a11bafa7a272ddc0d84273c17a668620b2d7ba662662664e84365c02f227b"}},{"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":"langfuse/worker/src/backgroundMigrations/addGenerationsCostBackfill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25231a4e64cb069df2f400d5b5388ac7f2642a2a5ac84eadd42478f7bcc4db04"}},{"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":"langfuse/web/src/components/ui/multi-select-combobox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0904bc901da2474054b5619e1869dcb80e76e532bf7f3ccc2b14500b1fe34ee"}},{"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":"langfuse/worker/src/features/notifications/commentMentionHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2250a7b50e562cc31888b5d1416acd124f8139ab038796fb328116b25eb7db24"}},{"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":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc70bf7ba25a055fdc6efd1209ec26ff9b5bb20a55e96fbb19c54a39aa56d61"}},{"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":"langfuse/web/src/components/ui/side-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d774cbfe7bd8d1cb9e855e48e3e5fb0d6150152fe584c9512c0fa6cdc5d29561"}},{"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":"langfuse/web/src/pages/api/public/media/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"960bd310e9bd824e2c0b604a135be1ff74ad5f0c33ec5db0b84f055910a9fedf"}},{"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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3678e8428017ce41b317c0b34bb8e8a0efe008d2b435768062a665e233abe11e"}},{"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":"langfuse/web/src/features/organizations/components/AIFeatureSwitch.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb9009eaac46dba03d8de3b60a3de7b2afbbc68da77cacdc0e3c6b8bce36f20"}},{"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":"langfuse/web/src/features/slack/components/SlackConnectButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45842b9611a1d9f9853aa97117744318d159426b7f7a05937c45e20433c832cd"}},{"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":"langfuse/web/src/pages/auth/enterprise-sso-required.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4806bdc39e358ec9e25a3ade61cd9b3ef54676f97dadb45521116f7b2fe694"}},{"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":"langfuse/web/src/components/layouts/routes.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d5c013dab6262ae3a7b7a916692210e7ed41385e473aff47ea79c5f80b05f1"}},{"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":"langfuse/web/src/components/session/TraceRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9427ba4ba8c73f976a11bb2dfcc687219553a5409053a9f753490122006ade3e"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a462157145f17edb82d1ac564b8af2b87c61d12d681ba2bfe7ddc2f7bfaa9c"}},{"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":"langfuse/worker/src/backgroundMigrations/migrateObservationsFromPostgresToClickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e0ecd2f2ea68d224b27154df9624154e635713f5e4b1c040a43c934f44fb36"}},{"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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb1d0ee6000770a9431f267f4e4b674d651c6028fc12789892698135edc4c4f"}},{"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":"langfuse/web/src/features/public-api/components/CreateApiKeyButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48dc372343ad5034310b858886f63cc758b594feab338c10828d4b9eb02bd75"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleJsonViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3bef8024ac28d82851e17502d73139c09e9855b6e5d17d4e1c154b3603d3c1"}},{"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":"langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f883e9ba79d326815ccb759e20c1a4b00a19066dd8fa3e6a8515331941aae77"}},{"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":"langfuse/web/src/pages/api/public/scim/Schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"420ce53387e71be8b998b8ff46a433f44c87c899e471c4a374c2ed2621110168"}},{"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":"langfuse/web/src/pages/project/[projectId]/users/[userId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"330e231888f74a742752b028a97fff4a6c3854e1733782e157a8692dc70e06d4"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/jsonTypes.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428867133cbe61dcf7e6dd7cc0bd389853ac14b7ded768e0133fdfd80dd7e0a"}},{"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":"langfuse/web/src/components/ui/combobox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"accb1885bfca64bcf9890b7f221d6ba9dbf18eed9d04801ebef333c6a8a4709b"}},{"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":"langfuse/web/src/features/events/hooks/useEventsTableData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da10344266d196e9fe94cd9a13f90e843d9aaf31bda70167bc6a0512eff850a"}},{"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":"langfuse/web/src/features/batch-actions/components/BatchActionsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"276fd72e52c7e89224ab4aac8713453ed19c367cb88ebbfb720c291465c8d532"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b6b62793b31d6eaee1d96d8fc2ce96ce596a253ac22b2df075bcd029c8a8ca"}},{"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":"langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d611f81a8ef5cde3158b7097986ce62030ca088c5d71e475995b4a3ba84e5e"}},{"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":"langfuse/web/src/features/experiments/utils/evaluatorMappingUtils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0d439f24886112fa2eddd08a2e2703d59ca650b90701343a962f4c7b5c0c43"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesNumericChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1675db7bd3e40e327bf9e762b5aad7564f56a85da82c63ab93f51cfbd54aaf"}},{"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":"langfuse/web/src/pages/api/public/traces/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6006d8612266a06fc0a41afbe998d4d3ea987bac02e54ebeda69a437d14d8b"}},{"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":"langfuse/web/src/features/annotation-queues/components/UserAssignmentSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f491a2d34ce4522e46b51f976cb5f82c4281e43c7beaf804790027099a55ea0"}},{"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":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"803bf527994644af525806269ea8166032b4206482b8219cbacb12392cfef8bb"}},{"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":"langfuse/web/src/features/evals/hooks/usePreviewData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8c3496904b21570496aec8cc4fb4dd2027ca33aa9066f39571877c35bc4402"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesBooleanChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c1f469438db918f99509f0180c297844c172c530e9a3cf292180e362869ab7"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/integrations/slack.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8842e3ab3214ae0cc292abcd0b253f614d7944cd865e22606d89b2f997bd89a1"}},{"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":"langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c086a9b9c9f73bca99e409fb4c7a9efda8c5b9fd5f3c71d6437fb12770634f"}},{"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":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90f99d2142020f7b609f6b36f9ac64fb2e1f4e34d1e482db15aa235dfe2f1c9"}},{"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":"langfuse/web/src/features/prompts/components/prompt-history.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4376976abaa0daa7aae68b7d6a00423c155f8f6cc6975511746ea97b02138db1"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/HeatmapSkeleton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d173d23e5be5fa11c2d50f2acb8e8e5b31b45595125fd4b37516258326c7732"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesCategoricalChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de98558930940c5a4126907095130af66fdbc1344567a035744eac23ef6a8f21"}},{"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":"langfuse/web/src/features/datasets/components/EditDatasetItemDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e95d29cbc4496f907ca645677bd56aec2a4dfd5de52395608806b06bcad279"}},{"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":"langfuse/packages/shared/scripts/seeder/utils/framework-traces/framework-trace-loader.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dc626f72933866cb0a0808834365df8b5b6afcdedf026e19d3559c5410041b"}},{"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":"langfuse/web/src/components/ui/shadcn-io/dropzone/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4732f9ca8fb58e98693627761e76f0c1f74a3050c7b7a58c7b4747ac9c845cef"}},{"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":"langfuse/web/src/features/scores/components/ScoreRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c79cf93c996b16adb676d881f26dc42972475ab894e7ac1784ff23d4bcbe2d"}},{"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":"langfuse/web/src/features/playground/page/components/SaveToPromptButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"783dc9a1e1b80479e4acf29bcc018cb6c91c35f22201ac1dfab36771c2e0f636"}},{"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":"langfuse/web/src/features/evals/hooks/useExtractVariables.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eec402cee2d750515b89ac6b30a48bd7b6cd216368a004c2ccd7059649fed5b"}},{"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":"langfuse/web/src/features/onboarding/components/OnboardingSurvey.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c34f53058085e5d16074f82f7f9ce1390e34d03c47b88aa9079fb1f69b8b12"}},{"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":"langfuse/web/src/features/onboarding/components/SurveyStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fad4e0ed940bb22f013f5200f1dd9bcc6694eb225a066ea6c6f86c667296666"}},{"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":"langfuse/web/src/features/playground/server/chatCompletionHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"547c61f50fa3712bf6a50327195542382285c031621f931429dbab60bcb3c7d2"}},{"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":"langfuse/web/src/pages/api/public/integrations/blob-storage/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7714c29c77dbb744ad45d20ef166f7f1ba10b2323f17e1abb107c82c06053168"}},{"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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/items.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"757e7a5d93f2524983f5485b6307bfa6e723718fc23fbbee40bd3a65c1488de8"}},{"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":"langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5da1455dac7a8bd845349e5fa80b3019bc93d648787f74aae7cecd2867e2ae0"}},{"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":"langfuse/worker/src/backgroundMigrations/migrateTracesFromPostgresToClickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28bea7b500ad719beb0c73ea41dae700f71f16b7d2a95ebc1cab9a44b4e44a0"}},{"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":"langfuse/worker/src/backgroundMigrations/migrateEventLogToBlobStorageRefTable.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c1fa612ccc007daca2d884fdb7da8f0aaa12832804214c1fcfecd061bda73d"}},{"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":"langfuse/web/src/features/automations/components/actions/WebhookActionHandler.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b507c4cf06109cf257ca5e08de5cecb1585bd69d9f77c68fda0a0290c7d5bfc"}},{"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":"langfuse/worker/src/scripts/upsertLangfuseDashboards.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f879f1c99c8e8fda58e6770a556f85ebe73df66113f28a6b4f8ebf84e9ef32d9"}},{"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":"langfuse/web/src/ee/features/audit-log-viewer/AuditLogsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"227cd57f752583bd8e91f98b4e69a5a10024096d20dbe272fcfa07a4249350d7"}},{"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":"langfuse/web/src/components/publish-object-switch.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9a9f39c5d48706e1d44daa3912b6b7c73a027efc670a93f51093969d0eccc1"}},{"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":"langfuse/web/src/features/datasets/components/DatasetActionButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f90bd4ae6bf2b2856144eae9e7dfda7d3eb447ca1b57e1ec370f7d05591065"}},{"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":"langfuse/web/src/features/public-api/server/observations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8706b11401eeb07418974d56e2cf6e5cf1e4fc53aa043549d3ac9d0eb1c67745"}},{"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":"langfuse/web/src/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d8fe0f3d6e88e60277da0e29b894035f8d0c2eb0604b28b6bd17460ca3a102"}},{"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":"langfuse/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a139a6c33a89e093fbc6f833eb0ee330d8fe6af52fbbe0dbda2d6359af1e97"}},{"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":"langfuse/web/src/features/playground/page/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"615d2f8f0ff2808a24ed42a9a935b6d971930847d8421fc587823f1ce1996e11"}},{"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":"langfuse/web/src/features/mcp/server/registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33143fb355bfa4fdb5acaa6d05013b97e94faa13a8a5eeb042f981a93b599266"}},{"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":"langfuse/web/src/features/playground/page/components/ConfigurationDropdowns.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"688a1f65d370bbf4ce9af122f77f25ce5710044a1178f2512228f692e712e330"}},{"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":"langfuse/web/src/features/datasets/components/NewDatasetItemFromExistingObject.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da6f1c05bdf17cf4cbec088f0ea06dc1caeec0d2456cb8ad75de99daea449bf"}},{"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":"langfuse/web/src/features/experiments/components/steps/ReviewStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2018acc18dc5deb241fc084c0fc45469c94c25d40ac06b6c2ef4e4d287d56e12"}},{"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":"langfuse/web/src/features/prompts/components/auto-complete.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0af698f7b71ab6ec23dd03af81be62422e110fffd2ca41b625f9ce4d503592"}},{"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":"langfuse/web/src/features/experiments/hooks/useExperimentEvaluatorData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efb92a4f81852cf4912f2f20063e2b6bc9c812b99ed1c7a0d8103acda74dfb5"}},{"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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/items/[itemId]/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5cd5208f15b251142a82c3daf473f6383f291e7e260ef07ebeb4b96a04f130"}},{"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":"langfuse/worker/src/backgroundMigrations/backgroundMigrationManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb38df20218aad3fd25ce42a22b9b5a74ac73dfd3f21750272698bffbe4776eb"}},{"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":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdUpcomingEnforcementEmailTemplate.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9e181ab89c081347a757fceb2b1d176aeb26d1d417b7340d5d9810a58ec88f"}},{"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":"langfuse/web/src/pages/organization/[organizationId]/settings/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6493f5cbd0e5fffc5312230c62b4a2252458dcbfc8e0a4bc5aabb772d6e9c3"}},{"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":"langfuse/web/src/features/dashboard/components/hooks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f719c0545f4e15ade4e13b4f6a82851dd8847807323c0aef25af16fdf92cf0"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/HeatmapCell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"363531c3e77da5203fd5bc309d91122aaa84fd671d8fe4ee532d7a8d72d35474"}},{"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":"langfuse/web/src/pages/api/public/mcp/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b06341b01290c31d2dfd9086332e3416b1dbfbf00a8d36d91d3b34ad8ba458"}},{"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":"langfuse/web/src/initialize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6105b5706f91d5e63b9e8dfbe2ca5b34e56d8371107df70ab1f084d811d163b8"}},{"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":"langfuse/worker/src/backgroundMigrations/backfillValidToForDatasetItems.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa5b2b1c18402e4844b752d9f2d538ce777dfcb221856e68f5a241c705f72b8"}},{"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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/memberships/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c5677d823449782ad2b00e7d862da2afa742e1162dbe41427ae0fe6ca1d6b"}},{"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":"langfuse/web/src/features/automations/components/AutomationExecutionsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8236c650e8a6a8f4246c80ab8651c8617d7488b2bab7358c915fa914ac0b80"}},{"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":"langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbfc8d7247be01ea169076a656ce03c80a617c3d5ece5df807ebcebe96ef897"}},{"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":"langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b62430b3a628f6f6e02369df38b31645caf2ad4a70f72fd298dcab4b2044ea"}},{"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":"langfuse/web/src/ee/features/billing/components/StripeCancellationButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c5ccd2e200cb298b923b29312e993af5f327fca8e65b8f93d648cf24ff33a9"}},{"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":"langfuse/web/src/features/automations/components/AutomationDetails.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa84ac4637735e4b8fb7caac559b2a45db2433b354cbfa03b2cd39d6134e224e"}},{"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":"langfuse/web/src/features/prompts/components/delete-folder.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b12b60e790f7428e151e1f41d9986d3159b99d796fe5163e9ba9930ec35fa3"}},{"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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad080ded5576d7466c222e2821d8843021c15a2396f646bb503af41ba7f8acd"}},{"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":"langfuse/web/src/features/annotation-queues/components/processors/TraceAnnotationProcessor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b8adc34a65b1e76b4344c4f23a47bab99e46fc1ef8c1f21b49ad8cd0e200fe"}},{"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":"langfuse/web/src/pages/api/public/otel/v1/traces/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d530ab9c1a6bdd3b04242e739ef21fe4de5eb1bfca859358ad3a0ccd7a3123ea"}},{"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":"langfuse/web/src/features/rbac/components/RoleSelectItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03149e7b4a8d15d31ace4779d7819aee6a89704b9487c2a07f1b6b11571245d7"}},{"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":"langfuse/web/src/components/onboarding/DatasetItemsOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee2547d8959b16cc674ea679c579671a27c8f50b5d8d0afd2c04388e33f1d22"}},{"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":"langfuse/web/src/components/layouts/app-layout/hooks/useFilteredNavigation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4887253ad13f78a3443abe57edc6dfd190f7f89c06fba6985eff6e7df14f973"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionNumericChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab75c0a13690252d2c10c61a27d58ab9683c9ef9f731f292ac0bf1e7a9edbe83"}},{"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":"langfuse/web/src/features/annotation-queues/components/processors/SessionAnnotationProcessor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1dcbf18e04debbad656d95c9fa1714006a8b90b4506e3907c3c9ce28e2689b"}},{"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":"langfuse/web/src/features/setup/components/SetupPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce32cdc7a61f554a74111db1d32de28dd4e22e7cd93225e98bcff20ce1275b9f"}},{"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":"langfuse/web/src/pages/api/public/traces/[traceId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b60697f8ceab9ef78b500e241c7122d18b664c3ada4e899533406810e1e3a24"}},{"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":"langfuse/web/src/features/evals/pages/new-evaluator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c04fd276befc85d1f839c59b8251e1804ccdd0fb82f7412125358d526b1fcf"}},{"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":"langfuse/worker/src/scripts/convertDefaultModelPricesToTiers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad631018dc605e96c6f40395310e1ead9adb5896dcaca858dff4c638834dd20c"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemFields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"727ac6d25632fac9a5ee7dfafda18307abe9ab6e79f9a8355c986198fffee021"}},{"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":"langfuse/web/src/features/widgets/components/SelectWidgetDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6524a8b8f17bf7d59efbd53c7d979749547fdfc91236c329404919419b98ce"}},{"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":"langfuse/web/src/features/evals/components/eval-version-callout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce28f21a93514f0469a98e3e7d991324aab97e486e95463e647843040875ea8e"}},{"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":"langfuse/web/src/features/projects/components/ConfigureRetention.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd0618a954ac0096b08e56618412bb96c6a276242d54eca64c4a609630f2866"}},{"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":"langfuse/web/src/features/tag/components/TagManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c18ad2bbc7a700d1e6106e0ca96e5b7b78e172a4498a86a1a54d0a10d19b45f"}},{"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":"langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/[itemId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e82fc0a0badf618234e41eaea117deace94d2b14f670950d07437b9e00b3ce6"}},{"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":"langfuse/web/src/features/prompts/components/NewPromptForm/PromptChatMessages.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b0ea8dfea87069b3d0cc7e1c5e9557701ed5118038c882a22345a16f68babf"}},{"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":"langfuse/web/src/features/score-analytics/lib/ScoreChartTooltip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbffb38ca29f2482bb9c8b9ca75199f0b27e0ea2fa5ac2be3c9441a8500ead2b"}},{"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":"langfuse/web/src/features/widgets/components/DashboardGrid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caa875e3f22ab591097d8008f17725bb7a36a05c33881f9ea20aecc749dd6cf"}},{"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":"langfuse/web/src/utils/chatml/extractTools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46826ecf24035b620bb393ce9e12de1038d8ea669e018e1556b46ed1c1517db"}},{"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":"langfuse/web/src/features/dashboard/components/ModelSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd5229652afa8bf48f016317cf92bcc9d881d21a4cfd26964556d8ef44f901d"}},{"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":"langfuse/web/src/pages/api/public/dataset-items/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"829a1edfbd9a61ca8e70b0cb49763354a4e62b8cf9624afe64c959266be7f7e0"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/SearchBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba79403cedda43c11df154509749a891cbd0acd14713b6708223a95ab5ad602d"}},{"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":"langfuse/web/src/features/datasets/components/ImportCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85339708bcb1dc542d45a7a759e486e53edeb83fa3fbd8b2d701238f054152ca"}},{"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":"langfuse/web/src/pages/api/public/llm-connections/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"298bc65dcbc6e869ca3b1b9fb324b64c83ba85396afe42383dd9340c3caf8865"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f93f31286f08c7eb0bb46d1645c7418f30fb8886c9ec27144db1bd7ad81c5b"}},{"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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/runs/[runId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb73314267e2fcb75efcb80993acc453972159eb6585b1b2c1e941bc824869d7"}},{"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":"langfuse/worker/src/backgroundMigrations/encryptBlobStorageSecrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a726592ed2607ae84b042e687f6ee02fa33a5fd4c13e4da22bc88beec647d2"}},{"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":"langfuse/web/src/pages/project/[projectId]/analysis.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59d7baf35e4efa4f235b79eb68733c002845c25a0ee4061d7e0230123de5798"}},{"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":"langfuse/web/src/components/ui/splash-screen.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"321ff58fad889e97dbf93c0071513ce8e8cf21c24574a7c96d9b3d8ae2d906ac"}},{"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":"langfuse/web/src/components/layouts/app-layout/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40334eb74682180b459b47b15cd85a806defb9f590dc7fe43dd5391d48e9b3e"}},{"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":"langfuse/web/src/components/table/peek/peek-evaluator-config-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f9a7743288009e002523c693c053eb44acfa5f417c6ace7c41f0af517e94f7"}},{"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":"langfuse/web/src/features/organizations/components/DeleteOrganizationButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9d27c463f47b34252e7ef96efe477cd3e282903fbac4ae1f777f4864600b54"}},{"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":"langfuse/worker/src/queues/coreDataS3ExportQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4064cbb3b335b8493c83f03cd8e4c7d6ead56c3421f691f314e7c875b31fd45"}},{"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":"langfuse/web/src/ee/features/billing/components/StripeSwitchPlanButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b190bacdded8ffb3198bfe874ca0062a3fb30389ff46fce77459bf8eadfaa8f"}},{"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":"langfuse/web/src/pages/project/[projectId]/traces/setup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0090d6c67d83dde7cf8e78a5e43686e95880c3290c255906ba862362cc393234"}},{"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":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a82628fa1cc70379c009dc7ffd1cd7f2141c00b5c8c3c7dea57e8a528bf801"}},{"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":"langfuse/web/src/features/payment-banner/PaymentBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb49664376daad94ad64a30e0f19b9068085a3caf6c7c2ff335daf667fb4ad14"}},{"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":"langfuse/web/src/features/scores/hooks/useScoreMutations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2c2c452849217a370f8765b9d164c4d1b7468ee0987fc8962a102aad3d1bcf"}},{"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":"langfuse/web/src/features/prompts/components/PromptVersionDiffDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c194682017baeab352a4cb6edd69e74ce615bbf635d52e298e7297c54fefeee9"}},{"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":"langfuse/web/src/components/ui/alert-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a69ebcaf16f3fac43ca56a59783be817b9765245cb8f252ba758be69f4f4bd"}},{"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":"langfuse/web/src/features/projects/components/RenameProject.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b8b761613a321d86b43874b65d61eb6175432f2a94e482be5133c9193d70a6"}},{"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":"langfuse/web/src/components/nav/sidebar-notifications.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efeda5c7fd59fcf9c3e235492238265751738b0bd95716deaf8d72065ba8144"}},{"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":"langfuse/web/src/features/annotation-queues/components/AnnotationQueuesItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e8ce8f9092c4e928740dd11c359264c80cbfbafc8751ff0f037205ac1ae72c"}},{"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":"langfuse/web/src/utils/chatml/playgroundConverter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"996813bd3462b87b42aed65600002dc081d8d5dee252f45443ee95ab12b7f2f1"}},{"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":"langfuse/web/src/components/layouts/app-layout/variants/AuthenticatedLayout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c4fa1a388042bc6848d070d593a34af9711f4ff38102a5c90717e5ac84527c"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useSearchNavigationTree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea5d056e2ca1212b8b11e56e2cc4522372d1796073749093e801777bced7b03"}},{"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":"langfuse/web/src/features/automations/components/actions/GitHubDispatchActionForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b72d91a72ed4c393632b84f56aa0c5f38df6b6f00a2034b5e42e428aa7950c"}},{"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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fa2f0df6ae2235d1c1f7b6ecb08afa0040e191d9a8c45d0abe6d6e9176c5ae"}},{"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":"langfuse/web/src/features/evals/components/select-evaluator-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9f0ab0e5a8764ddce3267f687b45e68b3262370499c8f22890579be63cea97"}},{"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":"langfuse/web/src/components/nav/nav-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbc4a328e952ab70249c8ec5926555c224c90694129f0f05d3590ac3ee7dc0e"}},{"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":"langfuse/web/src/features/prompts/components/NewPromptForm/ReviewPromptDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"279cdecf4990eba1161e74e75e5840f9173f1df23147a436b3dee73985820872"}},{"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":"langfuse/web/src/features/prompts/server/actions/deletePrompt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4870210f75b2afcd89d73e966cc156e232f5fb8c260045550765ca8e1841c445"}},{"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":"langfuse/web/src/features/automations/components/actions/SlackActionForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"041e9d96df44e410eb3ee7e67d1da3c2716bc5fd56796ef06ed8a7773139c220"}},{"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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/CreateEvaluatorDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bad285a335d8cbb54993b363697bd3853cb687dbe7326a8b0d9ad84a5b403b"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/MetricCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e429808b2e49e85f8ac9122a148c2d55d3c49f5e45b6f31eeefe9435180ba507"}},{"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":"langfuse/web/src/pages/api/public/annotation-queues/[queueId]/assignments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39f1b85bf285c3a133f095e27a37202c59fd32a898dc39afe4b1bd6a5679fd6"}},{"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":"langfuse/web/src/pages/api/public/datasets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b03b817bfa8cf1940dc9410bbbba64c8b2388af5c2f6c43dffcc444281abe08"}},{"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":"langfuse/web/src/pages/api/public/media/[mediaId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe80da859a6c4721dd2cbc59575d61a3e142640a06654e86a806a760cf2f6c6"}},{"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":"langfuse/packages/shared/scripts/seeder/load-seed-clickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"078ea1338ae4fb95d837c4f2b97dd1c57eddbdf2dc80cf8267c20334303175a8"}},{"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":"langfuse/web/src/features/projects/components/DeleteProjectButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f3034ec0ff9eb1b94ac19c8e96ac2843fa355599795bf01550d0485a4bce67"}},{"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":"langfuse/web/src/pages/api/public/annotation-queues/[queueId]/items/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9b76c7974b4438587437fd0da57ad7f2a8684b36805fbf4f7270841b100168"}},{"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":"langfuse/web/src/pages/api/public/projects/[projectId]/memberships/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0eb0082f5b49cd43e2b3b81d9d7f1d190827c049dbdea00e015d557c3fb0d62"}},{"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":"langfuse/web/src/pages/api/public/prompts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0018021c87454f99bfeb9a574f85db6531823130d01adc8604faa88bae7e9266"}},{"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":"langfuse/web/src/features/dashboard/components/ModelCostTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8346c3be7946d77b2526fe00df71cdbf4cfb0acb9d5a49765ba76c268a84afda"}},{"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":"langfuse/web/src/features/scores/hooks/useScoreConfigSelection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26fab995c2cd02d9b6d935cc64e47c6600a1fce1725c1c72a055425f9b3a407"}},{"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":"langfuse/web/src/features/background-migrations/components/retry-background-migration.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a47a9ca138232a9c3ca4949337a26b3c83793e6a3c403ddf10f39f47c8b3b49"}},{"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":"langfuse/web/src/features/dashboard/components/SelectDashboardDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c7e23260b31091fb6f1dd93942de6ce31706e27bbfbfa26e300f68f71eac1a"}},{"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":"langfuse/web/src/features/notifications/components/NotificationSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc89b89eabb1746e5f3459cc4afa3bdfbe49fa6201797b3c071fc6fc85667c3"}},{"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":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreTimeSeriesChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b02aa04c01df98e3856a3019dccbce496f523de353b6646b0d48288e603aa38"}},{"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":"langfuse/web/src/features/playground/page/storage/windowStorage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc6ab2f4cebdabb2c878077bb9c70d901837007f6734f154212bb2bfb4321a8"}},{"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":"langfuse/web/src/features/playground/page/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fae107f24b7428e5e88821673465e7516ffa8ee33ce40412a5be0388635275b"}},{"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":"langfuse/web/src/features/slack/server/oauth-handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1352c4c9755b3fccbff4744c4f88f1a51a6467dc27bda509e43a64090957f9"}},{"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":"langfuse/web/src/features/evals/hooks/useEvalConfigFilterOptions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe441c9aac534f983874dd835573dd5990b76faa54fdc1e0b78445835900ad5"}},{"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":"langfuse/web/src/features/score-analytics/components/ScoreAnalyticsHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7599216f01195aa5aaeced2f7f0d43af46971cab1071f816abcebcfb842c7d33"}},{"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":"langfuse/web/src/pages/project/[projectId]/widgets/[widgetId]/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe65580adef1a1df49f191746be87fcd49c756e8340c6ab18a47c4a129f46f9c"}},{"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":"langfuse/web/src/ee/features/admin-api/server/memberships.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4471dcfa15ed4d9dfd7b68253e737b1059e334b62ba9a4a0542f81b40e5228"}},{"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":"langfuse/web/src/pages/api/public/annotation-queues/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b2a01eb639b470b57347d82fd9633737e5019923283c07509162b57fdfde77"}},{"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":"langfuse/web/src/features/auth-credentials/components/ResetPasswordButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8444eb6e451400b40aba0da99b1638006ae90704d4eddd489efed60e36062b0c"}},{"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":"langfuse/web/src/features/slack/components/SlackTestMessageButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cd4dfd9998fac0d78794546b60f67ed2088aff9b0d9dbbf7f52fcda0172893"}},{"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":"langfuse/web/src/pages/api/public/datasets/[name]/runs/[runName].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2156dc6ab5604e878d933cd14f8f7ab09cb0a6747e21d1b0524aec24817476bb"}},{"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":"langfuse/web/src/features/score-analytics/components/SamplingDetailsHoverCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75c12e105241e10a4fba60b03ef04594aca37e8925afb83f36764dcaff6addd"}},{"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":"langfuse/web/src/pages/api/public/observations/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3670a81c65c8763f0ee592e90edc462154eb37585ce05ffe89cf901dc12af33"}},{"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":"langfuse/web/src/components/layouts/app-layout/hooks/useAuthGuard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91217d37716dbddffeec38028c88141a466768a8b36a4a4a2dd3312a1dff888a"}},{"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":"langfuse/web/src/components/table/filtered-run-pills.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dae0973401f5ffb95f6a67e74f35ce9634f5f3f795f32419542db0370912d7b"}},{"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":"langfuse/web/src/features/evals/components/evaluator-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54032d2d39ecfa68e6dbdfa5a2718cb7e8299df9e12f5c54bfb0c1b081891295"}},{"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":"langfuse/web/src/features/onboarding/hooks/useSurveyForm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b99b1c5ec5aeae79a384b869363513003dd3dfc9bee8e4cf2d3c9ae77795a4"}},{"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":"langfuse/web/src/components/nav/app-sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be0170137f96246ed42f691811f5c1249eb032bf620d219cdd9b61010d3a80d"}},{"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":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6cbb4c6bf19ae006f49768f9b2857617c5f40891651b986f2d911969c67b9f"}},{"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":"langfuse/web/src/pages/project/[projectId]/dashboards/new.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c9fe214281c9afdc8e39e53de57705b14b7fb50dcd4640e55f7459115e76da"}},{"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":"langfuse/web/src/pages/project/[projectId]/widgets/new.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2b2bf51f5b7b747c4d8135abfec94fd3bb6dbe223e3f2eaa688636f506d2d7"}},{"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":"langfuse/web/src/features/dashboard/components/ChartScores.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7c82ed64e371f7231f63d73d66e0392bc7124a91420eb47364f9b78e21ac15"}},{"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":"langfuse/web/src/features/datasets/components/DatasetIOCells.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c0b83a4dc35f6248aab1e5969159e1a07244122d221cf23517c6f4059792e0"}},{"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":"langfuse/web/src/features/experiments/hooks/useExperimentEvaluatorSelection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d436e08c26cfa84971ee33377f8201d7eec673afe975b89d7ff23f48ced9befa"}},{"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":"langfuse/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"199974378fb1e3bce424fc09e53e3a689074babf6bf8bf80debed7f9e477ff5d"}},{"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":"langfuse/web/src/features/evals/utils/variable-mapping-validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caa36507a19abc285385cb1b5b83bc574681d0a7c0493366138cb405f915d70"}},{"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":"langfuse/web/src/pages/project/[projectId]/prompts/[[...folder]].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"290ca2c825b8d34cd242f960dfdaa623ee0463d34594b1f44950386d0d27239b"}},{"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":"langfuse/web/src/features/prompts/components/delete-prompt-version.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f277bb0cb01fb085f981a2628dcc2ec28586eeb6e36deb0df209906b0fae3cda"}},{"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":"langfuse/worker/src/scripts/upsertManagedEvaluators.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2714905ee369e90fcf5ac383c3a298a4b22798f1d6f63ccd97f4690f8a5f6e63"}},{"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":"langfuse/web/src/components/nav/nav-user.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f736f9893a455460a6f06cccf5d8bf024d745946eed260749f8b7788a21336f"}},{"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":"langfuse/web/src/components/ui/callout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba443b1a10d879d8177b6967f50e05e1c74b4b01b83e66085baeb5beba7131b8"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"407de955ae57f06ef71e23706497b90f0f2ef2c579f9ccd52c6196e3b2581e10"}},{"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":"langfuse/web/src/pages/api/admin/api-keys/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ff34129a46889d30fb6eaa96d2dde4c03e254a763bd46c39fc6b06f97db534"}},{"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":"langfuse/web/src/features/annotation-queues/pages/AnnotationQueueItems.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4261b39910cb954cee49bec5acaadfb83c2277a7b3c891c78eb46bbfb2fc4be8"}},{"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":"langfuse/web/src/features/dashboard/components/EditDashboardDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d67431042c0b4c217c6efd768c4e27b6a001226da047c5e603df2c4fc9a0f0"}},{"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":"langfuse/web/src/features/playground/page/components/GenerationOutput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"657df16b5338327ac3c6f8ce7fa596cf09a93b7b49a861d76de1e823d298fb36"}},{"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":"langfuse/web/src/features/playground/page/hooks/usePersistedWindowIds.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f8c7ba242bfe35b324ef16417f6724098ead0b11d6817b770a9f31d2d6370a"}},{"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":"langfuse/web/src/features/automations/components/AutomationSidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bd186e20e8c26f5d1480654740eae4897c468f691011cd156268b2fd11027a"}},{"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":"langfuse/web/src/features/datasets/hooks/useDatasetItemValidation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"780d9bd50e3ba1e4867126a2e360636d89497494c4e59e27f6b63a8f78a68aee"}},{"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":"langfuse/web/src/features/mcp/server/transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d1bd040cb58960096167eb0ae37786276a55c90a0e7d5e8a5e2f8de6051736"}},{"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":"langfuse/web/src/features/prompts/server/handlers/promptNameHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85c80980a5f6d1e817e54efed6ffcccbcd7fde09a377a281604d63616a4a62e"}},{"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":"langfuse/web/src/features/evals/pages/evaluators.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6164ffb6e1ca6e608efb1a5f4a2d241f0380a22090cb68aeacf48a4c1e90ff5d"}},{"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":"langfuse/web/src/pages/project/[projectId]/traces.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1955a84fa51897cd3d4da2f10019b31024b01413a47bef2995a65edc16a98a66"}},{"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":"langfuse/web/src/ee/features/admin-api/server/organizations/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ebfb6ace8181c3dbfe78eb8b09520db65b305c633e9ac5effd0bf160124f86"}},{"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":"langfuse/web/src/features/background-migrations/components/background-migrations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad69b657bc1c35d13f943595fffe920050e4aafae0679cda078ccb1fba73231"}},{"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":"langfuse/web/src/pages/api/public/health.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eea95ce5482a6bd89adb0c54c7c9fae11dc243f8127b8f6709eddee09b729ab"}},{"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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/EstimatedCostRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f3e2842f04771c5f5e70c8314b2789ca0e1b9199c32b040de826dfdeb90351"}},{"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":"langfuse/worker/src/scripts/send-test-spend-alert-emails.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de78c0ca288788da90ee37b74b65ac591b341b2c18c06b7576a75b77b325e1c"}},{"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":"langfuse/web/src/components/PagedSettingsContainer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca581a875dcf8072a91c82019b941f51f3e99da2ab96524568b1a75f07c711f8"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ScoreCombobox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73eb2b5d04379b0566759188339a763f0986197563f53c084ee78e2405f2ff9"}},{"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":"langfuse/web/src/pages/api/public/projects/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"853bb6cd6cf74cf989d698b3094530a01d94947d5ed072b274718da2b81c3a23"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSectionHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e18e5f54cc94dafc40421e0b493949c4f4fc93526b2a825212aa9c0431498c"}},{"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":"langfuse/web/src/ee/features/billing/components/useBillingInformation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60ae32efd53def4c0f356c3e5376f74d443e85f398572d7bf7e3e8a745183e7"}},{"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":"langfuse/web/src/features/playground/page/components/MessagePlaceholderComponent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea02ffbd51f7a74698ea8d3e17276e0293a2113cd06905d00f5238f8c461c6d"}},{"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":"langfuse/web/src/pages/api/public/score-configs/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7185fb625f36a740b7b522f2b1772f1798c5f055a93c40f3842ee19d4c8b2d1"}},{"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":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b630713b030cca2df303badb070074658f14d94c2c51e7b207c23e8276d0520"}},{"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":"langfuse/web/src/features/support-chat/SupportDrawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"198b4170c671ce7284bc2e62610379bd71177f7b9066666ff6b0dac77f819f16"}},{"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":"langfuse/web/src/features/orderBy/hooks/useOrderByState.clienttest.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c64eb40585af9ebc0ba20d46239fed9bc620606adf3a026fc7f8b1e6c1cf688"}},{"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":"langfuse/web/src/pages/api/public/models/[modelId]/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7060edd3c2523e950fed72633a819f531292724531e64c770521acb6d79f1c8f"}},{"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":"langfuse/web/src/features/datasets/components/AnnotationPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3ab8409d85764e5e3dd5bf5f0292c57ec6fa20f99f0f64f2b8b02ea65e4dd9"}},{"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":"langfuse/web/src/features/projects/components/NewProjectForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"063025f4b8eade2e46afbc510a12f882add8f636ce1b9e3a454f3aecb84cff8d"}},{"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":"langfuse/web/src/components/layouts/app-layout/utils/pathClassification.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fd95363344da169cb16141eb8e8abd08087f29d68c5cabcdacc68819398bc1"}},{"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":"langfuse/worker/src/features/mixpanel/mixpanelClient.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"789dba3e2bd71cb040b4ac9028896ae754aa5e1670597f3979bc1b8c99661c53"}},{"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":"langfuse/worker/src/scripts/send-test-threshold-emails.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4b5f41b0f84fd1529f52084b0f3f2cee932c8f4119f3d239ec027e46c6e9e0"}},{"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":"langfuse/web/src/features/evals/hooks/useEvaluatorTarget.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b107025a23634ba4981c81a25e939126fc6f270c063330c33799144f913e0d3e"}},{"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":"langfuse/web/src/features/events/hooks/useEventsFilterOptions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1c4156ff1bf97ff0a101bcee3b25f4057356735375f12b3b5858286408326f"}},{"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":"langfuse/web/src/features/mcp/server/mcpServer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cbbc0568cc6240f12a68dab4ef592750d7d69cecabb04c48c06db3ae405ebd"}},{"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":"langfuse/web/src/features/experiments/components/steps/EvaluatorsStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1973a535d43ad3cfe5dc026ed0a379892c5a0a516ac4d08854ed013272ae6db0"}},{"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":"langfuse/web/src/features/playground/page/components/CollapsibleSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"401661623b3d932f3fb3654eb07a6db0372f895670027de8cbbbb043f113e4c8"}},{"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":"langfuse/web/src/ee/features/admin-api/server/projects/createProject.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8395aeb313d29cac375df59619b81b152cf397015a403de5c6b672df5a3d682"}},{"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":"langfuse/web/src/features/automations/components/DeleteAutomationButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21d86ca00d56bfca493c6c1773cbdc255088e205c0997b0ed989017a1cf6241"}},{"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":"langfuse/web/src/pages/api/public/comments/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4900b14f9066c5321bab0dee05317d734611eaa505de1ac8749839f72a5d779d"}},{"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":"langfuse/web/src/features/dashboard/components/cards/DashboardTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ffd606e0cac813a136b857a23673e2d258a81d827a7f110faf7cdd634f7a56"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemField.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecabab8b0491c067430995352a2fd2447240f6b78e737a6c5b8e88b000fd4f3"}},{"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":"langfuse/web/src/pages/api/admin/evals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa264be2a38dc80cdd73faef09a4326e0ccf8bf3ccfd41d7c4a48125a4f19b67"}},{"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":"langfuse/web/src/components/error-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff42797792f61db313bf690a3618e9058158488c9ca63341b73a5a1f3d1751b9"}},{"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":"langfuse/web/src/features/playground/page/components/Messages.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61f63be5e3cb721ec2efc24a1388c572ee39a33b9adab5f9b68a57241b877dc"}},{"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":"langfuse/web/src/pages/api/public/dataset-items/[datasetItemId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e67ed1352ddd6cb2ebeb6746da1f9aac81fac3191b7f9d9c9ec166e80b8576"}},{"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":"langfuse/web/src/pages/api/public/projects/[projectId]/apiKeys/[apiKeyId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c298185cb78eea4f2185b56bde2b588d63e304cbb4888cfc166fdd694515f1"}},{"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":"langfuse/web/src/pages/api/public/projects/[projectId]/apiKeys/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f03efe2886b1c3247465797e3025d8e927c8e9369deaa37bf22ad7ebdd72cd"}},{"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":"langfuse/web/src/components/trace2/api/useAgentGraphData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfd5f8cddeb657a4e2898c7303e81d34d367c664189edf57808fc78d4c59231"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingDiscountCodeButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca31fb12e86af7cfc1e5505a909e9e3bcca18f19805f63e23dddd64c50df824"}},{"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":"langfuse/web/src/ee/features/billing/components/StripeKeepPlanButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6370226a0c1e489a9ca35060df461df4af3b036a286068cfd348e6e648f155"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemVersionedContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe5ac7e0a90f0d240c8a185f3e3a538bdec2e72b6e140d8b3dce2319c1c3229"}},{"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":"langfuse/web/src/features/i18n/LanguageSwitcher.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e456e25a9f8442d96cff5492d000de91b420053202ace20ff938e416e32220"}},{"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":"langfuse/web/src/features/public-api/server/dataset-runs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"267a1e22270acf11e800ffc5c02ec1155e2a41b926e8806434c6b1185766aaa4"}},{"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":"langfuse/web/src/hooks/useFormPersistence.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"353b1a207bce23923ccff31fb8fd4195749a09ca2c622c0eb12cb23ac46150f2"}},{"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":"langfuse/web/src/pages/api/public/scores/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f69633ed436e7b4aa2c931062a2a6decac59559404c9458147ff9e4c006ed61"}},{"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":"langfuse/web/src/features/automations/components/actions/SlackActionHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d6bfed655eaaa43aaff4954e05e6b4c145fbb1a8c436720000697f2265610b"}},{"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":"langfuse/web/src/features/score-analytics/components/ScoreAnalyticsNoticeBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dbff5a6a3c571f7fe81b7afea3d33161b43bdec9b81365106b41374608d661"}},{"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":"langfuse/web/instrumentation-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9e691bad887fef62cc4b9efb861d4a60160277c622210cfbddf073b30a2795"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingUsageChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"865700456841d75a4762476ccbc1668ca8d932be66b19513b4a78d3ce487bd01"}},{"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":"langfuse/web/src/features/datasets/components/CsvImportValidationError.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85f066e94e58aea947b0d32b69ef2dddd9ed83be5298e6729d9e7e08a9c6c24"}},{"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":"langfuse/web/src/features/datasets/components/UploadDatasetCsv.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9186913c1f83cfef6e01aeffded3ffc740f84ea556f4612de9515f8f43ceeeef"}},{"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":"langfuse/web/src/features/datasets/hooks/useDatasetRunAggregateColumns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6a3dc891ce0bc3099a71e7a2baf8c2b91dbc8ee00c7992f10c95283760297d"}},{"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":"langfuse/web/src/features/evals/components/deactivate-config.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"850f4d6e39660df117cb93698bffc7afdc034d6092ba00afee44ff112a5cd562"}},{"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":"langfuse/web/src/pages/api/public/v2/datasets/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"522b88483d70cf8f6d1c31752bcab01d831e683d6f96b97555c1b43eb5206047"}},{"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":"langfuse/web/src/features/folders/hooks/useFolderPagination.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f82f20484895704d08d756c0f884e71dc4b502e4fcffab62fe4dab905e4d4"}},{"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":"langfuse/web/src/pages/api/public/observations/[observationId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb1a7349810b141236c6661574abe0df828c07a6401aba733c80d04b1153017"}},{"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":"langfuse/web/src/ee/features/multi-tenant-sso/createNewSsoConfigHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7632c6c122ad122f6cfcaa824427d2d10511a5eeb8751f21caa394ba33d0c84f"}},{"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":"langfuse/web/src/features/annotation-queues/components/DeleteAnnotationQueueButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff22b0239255333522bbdf0a8de8a9bd6d322fb33c9f2b2deb92012587befca5"}},{"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":"langfuse/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cf18db46ce19f118bb377892226a4b542e8b667f779e66d96b84c588f358ab"}},{"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":"langfuse/web/src/pages/api/public/scim/ServiceProviderConfig.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ede630c3127bd0bb59a4987e3e81c9b7c8b82a1bacf2af0d1c8b55d68e0372"}},{"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":"langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d865c3e3d7ff4008be78b6fbd78327ee67e72d1489213ed61c04c12794b97d1e"}},{"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":"langfuse/web/src/features/evals/components/manage-default-eval-model.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"510bb885186f3fcfe8e5ae273cafa7ff966b5bad10f52e1a27895d692c352a27"}},{"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":"langfuse/web/src/pages/project/[projectId]/sessions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3cf7717be9960c86404f6272172e5582dace251219808c8709b8c78fedb486"}},{"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":"langfuse/web/src/features/prompts/server/handlers/promptsHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"324824b937afaaca0622285a253142fdf6472311985efbb2c075f7a078dd307f"}},{"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":"langfuse/web/src/features/tag/components/TagPromptDetailsPopover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e725599d513edd2852442eb3c0ae8a5a1e80afdec213bc97dc02e279647aa79b"}},{"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":"langfuse/web/src/pages/api/public/projects/[projectId]/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f380ed726a08fc8288670ca1eba8e58e304c429ebde234e38a04fa975b9223f"}},{"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":"langfuse/web/src/pages/api/public/score-configs/[configId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70924cf06d8cff4ac229482102b4ffcb87acd8aae34836ac2339078ac02eca39"}},{"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":"langfuse/web/src/components/editor/PromptLinkingEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b3b0046b93482a09bfbb1ab1ef25c04b665c83e59af457715ca23d36b81dbc"}},{"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":"langfuse/web/src/pages/api/public/generations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af8a05a90ada5e2f6e7324a12c2098da81ca043265705c44f0be42d23acdb1f"}},{"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":"langfuse/web/src/pages/api/public/organizations/memberships/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b9e888b610f76d9db39453173222367aed1674b723c10cc3abb743918e57a7"}},{"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":"langfuse/web/src/pages/api/public/v2/observations/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"058ca8d661c3edf8a2e6a3c773ffec541a3261fa57d932ae41247eb1b295b645"}},{"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":"langfuse/worker/src/ee/meteringDataPostgresExport/handleMeteringDataPostgresExportJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b65d4d959d1d2fb11c4483fc8362d1ddd5710ee162842ec0834d11805464a86"}},{"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":"langfuse/web/src/ee/features/billing/components/SpendAlerts/DeleteSpendAlertDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"898c368207be9202356087ed513658b1d410406cca9e3ab63fe8049a25eb0fee"}},{"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":"langfuse/web/src/features/public-api/types/blob-storage-integrations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc31e43272d9c2c757b83587e95aa1e66e627e82b09fa822b0733c1009e311e0"}},{"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":"langfuse/web/src/ee/features/billing/components/StripeCustomerPortalButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e29254491a99ad3e1e346dfe63383d505c578b6af9ed1720fa4cc465108ef4"}},{"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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28637a2319b41d806b38c9239fb028e979af02319c2f1820e4818bce0e4d382"}},{"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":"langfuse/web/src/features/evals/hooks/useEvalConfigMappingData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8fe870eff49c20875ee95634d1f1e1ad411b923661298b4148f7d1a99455d0"}},{"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":"langfuse/web/src/features/filters/config/scores-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"080e1edf8633681a6288811e8dfc5b0aef56de23f42fe4ff3de0c3053627d83b"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a3031a6c312f1daa75a62748c10aa087c016260c6273ff236e34d2f3c70389"}},{"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":"langfuse/web/src/features/annotation-queues/components/shared/hooks/useAnnotationObjectData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5e6360290a6ed953a02a4285cce09142a606710c0860a0b4f21c01e1a38537"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemSchemaErrors.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6061b6759c74e2e3aacf44e1b72b409a15c64d461243cfba6d5f68bcf9a0ce45"}},{"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":"langfuse/web/src/features/prompts/components/NewPromptForm/validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ee233b2eeb9a93f47e1adaf042951d24cda40381fcec2ab82fe3fe496733e2"}},{"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":"langfuse/web/src/pages/trace/[traceId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f597d857fa7a082be7fd4f7ce357bf88707a91e24fbc1de4b4fceab48905eb1d"}},{"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":"langfuse/web/src/features/evals/utils/evaluator-constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2188fca993ca500e77ef5ef592b7c917369f1f8edc4aeb30cd89c8aee58619df"}},{"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":"langfuse/web/src/features/scores/components/AnnotateDrawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06a954b48a882ac7a2576b6c98d51caa7b78e9d81bb8ff6cee153f1799fbf55"}},{"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":"langfuse/web/src/pages/api/public/scores/[scoreId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1432652e4058ecc56ce4e56dceda686e6bba4233b6703fc8b1656cfd39553b88"}},{"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":"langfuse/worker/src/scripts/createDefaultModelPricesJson.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f663a8645ef48bd12d61b024d8eb008b1aed6fbf07e6e28d02ea13534713c2"}},{"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":"langfuse/web/src/features/governance/utils/policyConfirmation.servertest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d3f8fa95e2d6c0c1bbe644ea8b849ef5fd607ecd4f41433618f714153cef25"}},{"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":"langfuse/web/src/features/playground/page/components/PromptVariableComponent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"897aa1e1daa811429ba6db1501ed06f8d21964b1b9c1ec44326749d5aaeaf28d"}},{"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":"langfuse/web/src/pages/api/public/v2/scores/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31973b015d70583c81b66f2065f9608073f0ce364b3cae51a8954d7c74b15454"}},{"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":"langfuse/web/src/features/datasets/components/CsvUploadDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f620b095fe0e816c86c9307b615f88d59dcd67d6d22d4bbff6e7403fbe1d5012"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingActionButtons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5455aa8ba5db5d11afe6e99f8914e08cef37a5ec5de3155a5ba70ebb5253a342"}},{"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":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreHistogram.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"974fb35a102e6561c40f6b79a9dcb27e025599bfe500a6331d293c9c7bf0104a"}},{"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":"langfuse/web/src/features/datasets/lib/calculateBaselineDiff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a55889cea2f269786b278fad45a39f72ec7f94807ae0133f2cea268b740592"}},{"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":"langfuse/web/src/features/tag/components/TagInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8d172098a96b5b2d5c063c6a5329ef5d87cbd0a88afc89e9affbadc1074bd2"}},{"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":"langfuse/web/src/features/widgets/chart-library/DownloadButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81131c671e2bee03420f8c442b7beb867677ae2e7fff893bce6378594c3dbdd"}},{"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":"langfuse/web/src/hooks/use-environment-filter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3946b7994ea8c075721f60ccf6262edf6171bcd89aeca764cd471b98f0253d"}},{"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":"langfuse/web/src/pages/api/public/integrations/blob-storage/[id].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7718e8d9a526bfa8885f3654535c15e193c4df796fd015290074030e27cc34"}},{"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":"langfuse/web/src/pages/api/public/spans.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"477fb647436db2db169daad5b27c9a4d63f0c9c7dc131e9cf5ed2b6c073814d1"}},{"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":"langfuse/web/src/features/datasets/hooks/useCsvDragAndDrop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c199d50f9a754a95c0fef8956368bce88bfbb9e9ced5e53f9cd371afad65eab2"}},{"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":"langfuse/web/src/features/prompts/components/delete-prompt.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c758a8b0f39b10d4ce3cf818865f2f0d0c507a193cce19c1eeca8d3c56db94aa"}},{"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":"langfuse/web/src/features/scores/lib/getDefaultScoreData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b07ac0c4eb2c8d0cd2871491a61a14309caf296b650332886625c12ce7ec59"}},{"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":"langfuse/web/src/features/tag/components/TagPromptPopover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1b8bd959fc6e7711a76f9c657e6867a553bb5a53be7cae0c85c25c68bd0eb8"}},{"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":"langfuse/web/src/features/evals/hooks/useTemplatesValidation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f846b9caffff884ce09896e364a04f41e84bbbd24e0a28cd624736e0de7e3e5"}},{"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":"langfuse/web/src/features/evals/pages/templates.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a31649c9b32dfd43cb7c328ee154ea360cbfaad24115a27a837b075355174b6"}},{"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":"langfuse/web/src/components/table/peek/hooks/usePeekRunsCompareData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a1f3efb6bd134f51bc0407da358e00377e6a83a80485e5fc86444d98f4130b"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/workers/tree-builder.worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96511aba84505bbf1c4406e5cbcaa939d692741dcaa410da4866ba1641de873b"}},{"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":"langfuse/web/src/features/evals/utils/typeHelpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ed7de2c861a556774bb648fb12e488b65a562cea19b7a9ce527caad3681a6f"}},{"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":"langfuse/web/src/features/prompts/components/prompt-new.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba47e2eb9be224acd13bbb5193826f923fc885360d24335b61716fb17feb8ac"}},{"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":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/AddLabelForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"772cdb6707a1ded6e29ff5fc7574cec526b4e714d9ea4d24603fbd40ec2b8c63"}},{"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":"langfuse/web/src/features/public-api/server/scores-api-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3614a468f815bafa3e79adb5c1a81901fc723f3a74bdceb40241f2f3d73d379c"}},{"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":"langfuse/worker/src/utils/shutdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd1fba23fa053270920e8907dc7ae66e649e5d491a4901c48038606f58cdd55"}},{"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":"langfuse/web/src/components/projectNavigation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"230eabdc73e617d48c625b657ec9bf7eb603e68fae625ac72ed048c612120186"}},{"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":"langfuse/web/src/utils/unicode.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d061be67802dfd6af388ceb7180439b9167d308c878ad1b6026ed0aee6ad823c"}},{"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":"langfuse/web/src/features/datasets/components/CsvColumnsCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb3be7357fc82ae6b6e0a8f5527cc3c098e1a9ffcb804190309f7cfc2d3dc5d"}},{"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":"langfuse/web/src/features/public-api/components/UpdateLLMApiKeyDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f5d782f16bf4e47116d5ad838442106f8b987731c1a346c05abe3138a6fb75"}},{"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":"langfuse/web/src/features/score-analytics/lib/analytics-url-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e8ec8ed4b229fe355b9ef49094fbd0a37549c8ee45b485f439d36b982b64a2"}},{"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":"langfuse/web/src/pages/api/public/scim/ResourceTypes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecaf5c78a373b1c8eeb4cd5a2292683009af2af87dafcf6288e63e3950fd9627"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebf797faac34d58c74955a446edf63894bdce0918f9a2b83139afbe8628c2ab"}},{"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":"langfuse/web/src/features/annotation-queues/components/shared/AnnotationDrawerSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc7cc88c56966bb21c8e95d56fb12f1bcc86e5c923209c6d4426f4ecf724fff"}},{"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":"langfuse/web/src/features/playground/server/analytics/posthogCallback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b032e2517c881af46b2770f433b41c58cb63d455e0f98465651b217e8f63669a"}},{"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":"langfuse/web/src/pages/api/public/organizations/apiKeys/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d490405a9b507d61c1133ad1830eaa4d8f953d07ed46d4dd2617ab36391f4c3"}},{"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":"langfuse/web/src/pages/api/public/organizations/projects/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d603b7eb55b02b38079c357ffbd6ac728965d6fe7606e34a56bdadfab4e045c7"}},{"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":"langfuse/web/src/pages/auth/hf-spaces.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f8dab849ec7fee0aea5c50ef8ce24609eb11be02ca69d66863bc85349e58c6"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingDiscountView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"796cc4995690758f9b50423364ef0f39eb3d7fb9bd84b2d035e294b2a511290d"}},{"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":"langfuse/web/src/features/experiments/hooks/useExperimentPromptData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cd3611202cb4358b8c10f03aa921d464a1a216c8d45bc4a9be3a886453b8e4"}},{"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":"langfuse/web/src/features/score-analytics/components/ScoreAnalyticsDashboard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c430e18b0b0826aaf213c2e6b93ee3aa6fd23d2a7d0f875da3bdc4b8384de81"}},{"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":"langfuse/web/src/workers/json-parser.worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b325e4dcb6863b2c247d4c9884adcb342c32752ba133bb32c7e65f29b9afc79e"}},{"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":"langfuse/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/apiKeyById.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17357c26cc9ab8cf8d817375dea448dff3aaf64e86dba7218d78084f24948dc"}},{"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":"langfuse/web/src/features/dashboard/lib/dashboard-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f88cc5978fdbdbd136249d71a7a99e0841c1185c2462d27d21488848dff0e1"}},{"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":"langfuse/web/src/features/setup/components/SetupTracingButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e410e900131340fb84b460f9d83acfb0bb79400d45dd5ab892c183a3aebca1"}},{"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":"langfuse/web/src/pages/api/public/v2/metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"006a5be8424ce73812f6a99dec49de34885be05df0e89a86d5911f7ed1a0b33e"}},{"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":"langfuse/worker/src/backgroundMigrations/backfillSysIdForDatasetItems.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5d4ff55b29f8149833842dae51131b0a51a71e00b2d61bdcf0085291549306"}},{"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":"langfuse/worker/src/instrumentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6a325ca96c6a4959c4cd661d06b691f403c7609c759edfd74c8a4ce66dd1c8"}},{"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":"langfuse/web/src/components/layouts/app-layout/components/ResizableContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c79e5b32662e40f812cf3d6a5d1b18f0a702cf645f239be488f5208e8ce620"}},{"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":"langfuse/web/src/features/datasets/hooks/useDatasetRunsCompare.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ee49cc63f60df0946e61307efa7ad2d89915a6bcce0328f3e5661a822a0d9d"}},{"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":"langfuse/web/src/hooks/use-element-visibility.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16fedbcdf6793fbc17750e1cbaf17b365e0055982164aa6eb4933b51b75a6bb"}},{"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":"langfuse/web/src/pages/project/[projectId]/datasets.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe11c13314ca306aab5b3bb0ee5e15682533c9cdb6438687418944776230b23d"}},{"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":"langfuse/packages/shared/scripts/seeder/utils/framework-traces/merge-observations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7097568e8c6527d25d97559d6a2c9335e6d98435dc430ae559dde105d9a5f942"}},{"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":"langfuse/web/src/ee/features/admin-api/server/organizations/apiKeys/apiKeyById.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d54add2e5fe19b6262b43639c52eb275052172dbac829c6b91c5a599b2949e"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemDiffView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"102d4233ed26c3a88b18db463e68040bc7775fbc9a4c7b2e8231052523481954"}},{"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":"langfuse/web/src/features/datasets/contexts/DatasetCompareFieldsContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4983fbc7af949f7888ff0d888f4ea013a15ce27a0e36a5558553a5a43b045c"}},{"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":"langfuse/web/src/features/media/server/getFileExtensionFromContentType.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"139f02d5299997c4456e7eb3658df0d462235796cc5fb4a6773ed88e379d69d6"}},{"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":"langfuse/web/src/features/public-api/server/dataset-run-items.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a3497d43e6161903955d7a77cc91d9513e4166e12a63cf5ec89459778d304e"}},{"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":"langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6545b5a318f0fcd74c04d799210d2ea100d4f88e95eb7b25d29e5b30ff09de4b"}},{"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":"langfuse/web/src/components/layouts/utilities/routes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"710904f2f38d34eb2942c32fddfc17666674fba12424d79832ce579a535c4a5c"}},{"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":"langfuse/web/src/features/datasets/hooks/useDatasetRunCompareChartData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a701f1a1617f887ab3a49b4cde73905abf4a445dafc7e8384cde0ebf0e086bc2"}},{"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":"langfuse/web/src/features/evals/utils/evaluator-form-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e16ba08c2914c7bb45700a5815b10107db0cdb310aa8d4b33f6aced090506b5"}},{"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":"langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/[apiKeyId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b85a1297799ee7d03b677894793a9a6ee39f5a4e6e86e726f71f27aac36d062"}},{"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":"langfuse/web/src/components/layouts/app-layout/hooks/useProjectAccess.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b0ae747e4bf2aa9ef497e0391d2225b3e91cb7455ccfa88af713f563ef1fcd"}},{"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":"langfuse/web/src/ee/features/billing/components/SpendAlerts/SpendAlertsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7dd70024d45ef9638e9c7726781322fda3ca42519f5eaeadc9878568bf4149"}},{"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":"langfuse/web/src/features/dashboard/components/TabsComponent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"287970a8b1fb5dbbcf8660fe71e5fece0d600ca8d1b4b30e7a8432c183ffc6b6"}},{"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":"langfuse/web/src/pages/api/public/slack/install/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c9d2bcbe6481a085c2c9702b841ec86df41f68e8c6ce0704cb68dd90b2cd50"}},{"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":"langfuse/web/src/features/feedback/component/FeedbackButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"136cdd3a5ecbe9a224e71633e48bbb18dd952461b638ff0b3a73e4e5180a3ae3"}},{"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":"langfuse/worker/src/services/dlq/dlqRetryService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47df101e28822cf0dbeff64ad9410d19d31aeba4ba7a71c291831142ce81af77"}},{"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":"langfuse/web/src/components/layouts/app-layout/hooks/useLayoutConfiguration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a10608bbaa21613cc5b16af3ce5043476154f985eec523b672f6619926729f7"}},{"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":"langfuse/web/src/components/onboarding/AnnotationQueuesOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dcf2e94cc211254be2f596ed263e1469d6512cd0bc5e68a5efb58ce701fff0"}},{"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":"langfuse/web/src/features/dashboard/utils/getColorsForCategories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c73c197d6fa5784c34607bacec013536ba84b3cb94327ef2f1d34973882f3a4"}},{"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":"langfuse/web/src/features/datasets/contexts/ActiveCellContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d65bf1a5357823ab56dfdc93be1d01c3ef6aaa5c2347ee379d42db1178db332"}},{"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":"langfuse/web/src/features/public-api/components/CreateLLMApiKeyDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffc92818be7a6d2856f10a39ae7137068dba4c2b957b9082d6902bae9ba1061"}},{"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":"langfuse/web/src/features/scores/lib/annotationFormHelpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a19cc5078136cbef7f945d492d381a59fc62354c64d2b6123526c94d87a06fb"}},{"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":"langfuse/web/src/pages/auth/sso-initiate.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"501148f484e0b8457dba1bb6d5fffbf059239829a1e9608c5e8c2115f089b4fd"}},{"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":"langfuse/web/src/utils/shutdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cebb2d619bddb0237e557a8e181fded40ab336d9a9edf3f9e0b9806b73f41ae"}},{"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":"langfuse/web/src/components/magicui/rainbow-button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"741898624aca5d573ae2402a5f1a2d8a843546fcbf9c1491d3b4c435ab8bd701"}},{"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":"langfuse/web/src/components/ui/timeline.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e0eac2b83629478844746372c8893f299a772cf85152c6111201a2eb55a961"}},{"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":"langfuse/web/src/features/annotation-queues/pages/AnnotationQueues.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca07f0c9d2f43787f50eaceab9a015e27368868d68d82880c3ac605ba520ead"}},{"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":"langfuse/web/src/features/experiments/components/steps/ExperimentDetailsStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f1411a76c39581a36d6d720bd34fcb81deabef3c7382f954839737ec34958a"}},{"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":"langfuse/web/src/features/folders/components/FolderBreadcrumb.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf398a0a0c1a433633bee189bfaf104aa54f66d2289038cc0d32d1db7b31f00a"}},{"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":"langfuse/web/src/features/scores/lib/useMergedAnnotationScores.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"257759188851aac263ac51f2efdc0c7a1d2970fb97b65373e55e192d892f86a0"}},{"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":"langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fe65299aa27506e5d751a83d367f27492991ac9a47cc15d9e0f7d5fe1349d0"}},{"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":"langfuse/web/src/ee/features/sso-settings/components/SSOSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22afe57b57b45d27c6b2883e1f6544a40dc83a763315eb4f8249357fb55c5ff2"}},{"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":"langfuse/web/src/features/dashboard/components/cards/DashboardCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0209a740d8323befe07c9baa3553d1a80db35e428711505315854d8344c63a7"}},{"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":"langfuse/web/src/features/datasets/lib/csv/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a41b2c8f7585beb1196e5f24b02ffab3639e1d5c6e3f04a83750954fd967f62"}},{"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":"langfuse/web/src/features/evals/components/evaluator-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c76c26b3458561451c4c82703f3a8dc9db79f928c2c109620745d3d27b6f3fc"}},{"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":"langfuse/web/src/features/evals/components/legacy-eval-callout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7b6d9ea4b4b64ffb4067b76464d2e1cf9c38bcb1afa7d3ee85a9ad7263ee6b"}},{"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":"langfuse/web/src/features/events/components/EventsViewModeToggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecfe68172603df473de4eb48c06f5c423f13b347405862c24d930ba112c8808"}},{"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":"langfuse/web/src/pages/api/public/datasets/[name]/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d367547e9bbefc06c8a7e5c8f4a16faac7ec6582ca3c43244b60f0bedb6c8d2"}},{"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":"langfuse/web/src/pages/api/public/datasets/[name]/runs/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c2296c51fdadc40fb67388544b87199fa702b27d28fb72807ad72fda688ab3"}},{"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":"langfuse/worker/src/features/blobstorage/handleBlobStorageIntegrationSchedule.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0619f971cbf8cf33f971894322f35890a88dd399092942a3e01e52424a9dbc92"}},{"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":"langfuse/web/src/components/table/peek/hooks/usePeekCompareDetail.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3eaba16c18b9673470f7dca691fcbb0a735246cc9216573e30d89e70728335"}},{"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":"langfuse/web/src/components/ui/toggle-group.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc594e291ffd3dce647640087b53f0d12dfac52771ee7bd6e017ec3ead859586"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemFieldSchemaErrors.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dd91fe279f31680c113e493484540f9eae39d65dbfcd1f6a75b702dd2af527"}},{"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":"langfuse/web/src/features/datasets/components/DatasetVersionWarningBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fa797b3ee182fd155d3cc220df080f09c299e994f55063314844f886cfd32b"}},{"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":"langfuse/web/src/features/datasets/lib/findDefaultColumn.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"719467914ed59358d9707e4c961d7e2cdf03d8dbd5b08b25ee81ae86ef1a0ecf"}},{"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":"langfuse/web/src/features/evals/hooks/useEvalTargetCount.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83c5eed2946e596ca55e2841fc3646960971eda88a3d4958107cddb167854f0"}},{"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":"langfuse/web/src/features/theming/ThemeToggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87606f22a88d150e17a1c3f2d554f37f6a2008a23a5b7d4a1f1fcaee13de8fbc"}},{"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":"langfuse/web/src/components/onboarding/DatasetsOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86742c1e2ef9cfd2a396a6cf01b19354f56e7a0771ee8ff47d5418d8941e577a"}},{"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":"langfuse/web/src/features/annotation-queues/components/shared/AnnotationProcessingLayout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b23fa100734f0c6321866bf407377b503e84ce7e4b358252710c26c90bc35cc"}},{"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":"langfuse/web/src/features/evals/hooks/useEvaluationModel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71602fb97565d7d529d23def44dffd5b29c4d10de7306c55d275386b02619f16"}},{"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":"langfuse/worker/src/features/mixpanel/handleMixpanelIntegrationSchedule.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c343864323abfaf157e5a902fd5e4361cc53f28de95db361b4c7c25bb934a4"}},{"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":"langfuse/worker/src/queues/cloudUsageMeteringQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1e7d20bdd55bdb787cc0fce9dfbc0cca6fdf9a7e8376d685cdafb412447921"}},{"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":"langfuse/web/src/components/ModelParameters/LLMApiKeyComponent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e019502aa8755dff597d5edce9fdb11a0b3cfe84983e43a9f9dc001f3dff1d"}},{"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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/SimpleSectionHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bb9dcdf6cf3a7f9548f97e8616e84853bbe3838dd41f1e32276b4c1e922682"}},{"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":"langfuse/web/src/features/experiments/hooks/useEvaluatorDefaults.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5916c29974a3f0baa03f6e6b3c74b4200c9d6acb5b96b0c201eb51a0c66f4eb1"}},{"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":"langfuse/web/src/features/score-analytics/lib/chart-formatters.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf162a3f96c057fcbe35d0d8bc203928b78022ebd5ea00c1f4cbfa8fab5b7004"}},{"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":"langfuse/web/src/pages/api/public/sessions/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a716216586b6527e4b771f91608f1dbe30235db52aadfcdfbca4f09c2cd6b01"}},{"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":"langfuse/web/src/components/onboarding/EvaluatorsOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a544045b05d16b1c0adaf8c2930dc65ec72c9506f0c47ecb06146b498c42b8a1"}},{"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":"langfuse/web/src/pages/project/[projectId]/scores/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d678891abfc0a137e6860d934f18592686f02825c16ec1b16441bbe426fc74a7"}},{"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":"langfuse/worker/src/features/posthog/handlePostHogIntegrationSchedule.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f72b53d6c25d12e7db9ef38ae05e402dab20994bb5b26b3893ffc429aa7653"}},{"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":"langfuse/web/src/features/cloud-status-notification/components/CloudStatusMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb8e8dfd6551abad1056480006d0a609b787d6ed5b8d443a15fa933009fd57b"}},{"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":"langfuse/web/src/features/datasets/lib/convertRunItemDataToUiTableRow.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34b0b525e37b902d58b4605241a6cac6d4ae8c3219de0ab6f9aee2a299d5303"}},{"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":"langfuse/web/src/features/notifications/Notification.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"558b2f8a388f77b6184e6e4dc28135d7ca13850f3fb30e78614d2db27108a690"}},{"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":"langfuse/web/src/features/scores/hooks/useScoreConfigs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce64f3bf144a49ddfb55514d818af1bbaf26db644dd96fba2820d9cabdcc023a"}},{"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":"langfuse/web/src/pages/api/trpc/[trpc].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4aa9b65881ebf886b36306410d0fb62a9a0b9eb1a864d5af7d9aec4cb4aef6"}},{"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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/ConfirmationStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdf530dbb3fc6f4ac98c409ee5812ad7872f29ce6d1f2d51b7b53d1de026f80"}},{"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":"langfuse/web/src/pages/api/auth/[...nextauth].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d919f311ca3f423a6019b889bfe8b1182872b21b864e93b216a296f963553f"}},{"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":"langfuse/web/src/features/automations/components/AutomationFailureBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c213c093bd3f41dc0a1908d50cbf65b72c63641a08abdf927f275ce74015032"}},{"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":"langfuse/web/src/features/datasets/components/NewDatasetItemButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b7a583a1842b709e1a2de37b82f0b80a1416fb498ea2a07d73c3e895470bfb"}},{"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":"langfuse/web/src/features/datasets/utils/datasetItemUtils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfe0b959cf905f92b5bd6c7b5791af42a412a0ca937af764b8a92d9ea66f4b3"}},{"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":"langfuse/web/src/pages/api/public/sessions/[sessionId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d676f50e32d288ed7cd9d977e404142207b578cb3f39b3557de23ab98afba9cd"}},{"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":"langfuse/web/src/pages/project/[projectId]/dashboards/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c2a23594ccca1f5e34faf07ad98a2e1596c83f1ce297e26ff20cd5f3804e30"}},{"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":"langfuse/web/src/pages/project/[projectId]/widgets/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d6454d7179987e4fb48de50fe6fc7260bde05affd39e712685c24d2594ce7f"}},{"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":"langfuse/web/src/components/MixpanelLogo.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8e4c513593bb9049304361b283eefb3a1069f6504dc1d9ae1091dc46de35c5"}},{"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":"langfuse/web/src/components/layouts/app-layout/hooks/useAuthSession.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"045f604e356c1bb65e5c5a14052aa2c29e6932d7712e8e0f30f7685643d1d8d9"}},{"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":"langfuse/web/src/components/onboarding/PromptsOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cdad1cf85c7565b630927e95511d8b877bff3bc326873e6f5df7e1a4b687a9"}},{"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":"langfuse/web/src/features/automations/components/AutomationButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2482609798619cbc3bf4b67496efba9a1ef07bb9d7b4d6dff34dbc5a5fe986e4"}},{"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":"langfuse/web/src/pages/project/[projectId]/evals/configs/[configId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6f3e5190684eb664d8d892c50a9f3ece1e783afa15282ce4ec3c1bdd0e9e20"}},{"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":"langfuse/worker/src/features/health/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0038f1ab1803572f3ea454af78e50c25cfcfa7b439282ff00e58034161046fc"}},{"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":"langfuse/web/src/features/datasets/components/DatasetAnalytics.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42783b0c453d0a7a980f318e08ea0adc8ea0c925178052ea772c433009084f91"}},{"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":"langfuse/web/src/hooks/useDashboardDateRange.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2311dac8def5dfbf6bbcb61ba36ae0f7b633c756f578d57514996c43ae8ca25f"}},{"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":"langfuse/web/src/pages/api/admin/organizations/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"522a7870b8c1b941eda3ff3b69616469793378c9c438e85785da3234c9981b68"}},{"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":"langfuse/web/src/pages/api/public/metrics/daily.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce704e10a7ee3d8eb4eae349f728dcbd3c07e4ea8938bcdb40fa2dd3ac8926c7"}},{"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":"langfuse/worker/src/queues/batchExportQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"392ebc5e3512e841121e21b260dcce773034240192a93c0faf7a0124dd846d17"}},{"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":"langfuse/packages/shared/scripts/seeder/utils/seed-helpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01129ddec478399916e6d6a0115bc40cfc902161cb7cf10682fd41ffde2db80"}},{"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":"langfuse/web/src/features/datasets/components/DatasetItemViewModeContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb292cad3538e501ec958ff964840e2bea1875e0946b96e7128336eaafc0250"}},{"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":"langfuse/web/src/features/prompts/server/handlers/promptVersionHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e86bb3482c259896c59569d898824b937c65c8e05d541803d4e5ac548665e48"}},{"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":"langfuse/web/src/pages/api/admin/organizations/[organizationId]/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"819441dd0021fde888c0d09d0f7ff1666204c6c328efe0e23086217bc9ca7e96"}},{"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":"langfuse/worker/src/features/datasets/processClickhouseDatasetDelete.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b46452fd19bca6260089be6835ca971c731f1de851190253279fbe10826a72"}},{"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":"langfuse/worker/src/queues/experimentQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07421b85076773db420104a3b295191f210059fbd6ddb02670a6f4129a7811e1"}},{"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":"langfuse/web/src/components/onboarding/ScoresOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4afdd120e0afca0e1e4df3d0773001b7330e873cb84b0481bb2d5f878c0355"}},{"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":"langfuse/web/src/components/ui/scroll-area.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a90fba50226e612201f6af0122cfb5bac28ff58d5ef480a1c332abc6b97c97"}},{"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":"langfuse/web/src/features/datasets/components/DiffLabel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92eb92801eda4e422afa91ec2c201af5fc918c3e17bad41896fe0d96d6241c3"}},{"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":"langfuse/web/src/features/datasets/lib/calculateScoreDiff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d573ef3b973f72ab39a5d9cea38b1f4ca816e4703f86ca0ee0e0d44c776bbc21"}},{"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":"langfuse/web/src/components/nav/book-a-call-button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fefa09ac76085f0aa1204b459e87960da9a041c07eb448fa011e02b53f4811c"}},{"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":"langfuse/web/src/features/payment-banner/PaymentBannerContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de717a95634a113988f17b19045e61b6a2eb119ec435e00211fd7456f46161d"}},{"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":"langfuse/web/src/pages/api/public/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48215d20c16f1bac691ce31505a2894103936ff9d86027f01296237bf3d558ee"}},{"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":"langfuse/web/src/app/api/language/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"813ec320253f2a0b244c7c3dac15fe5a3f6e5c686f9d31b055764a5a62ccd3c0"}},{"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":"langfuse/web/src/components/layouts/app-layout/hooks/useLayoutMetadata.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81ffd28d7e2087007b35809d2647454a96c6644da15d07743ec0fb243c61f87"}},{"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":"langfuse/web/src/components/table/peek/peek-evaluator-template-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9f02afa9cac719b8f097b005c87576138531e1f28cdd0d96a9b5ded1ed6673"}},{"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":"langfuse/web/src/components/ui/toggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a98367ec7582d24d162e30ce9aa8776bf674ab94cce58fb7ba01a7e9e89d637"}},{"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":"langfuse/web/src/features/auth/components/AuthCloudPrivacyNotice.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8ab4d4b0c48d81f5a352bf7fdb7433c1e3b8b60275dbb793d6c38c6a3dd1ad"}},{"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":"langfuse/web/src/features/batch-actions/components/BatchActionsSettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6c1a2596ef09dffb4d3a6b8af42521163c0597ef52646fae64f7b7d3075737"}},{"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":"langfuse/web/src/features/batch-exports/components/BatchExportsSettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e03449a738f0fab8055960f7dfe2f1c2dd875c47d35421f1c34abe704374ed"}},{"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":"langfuse/web/src/features/events/components/V4BetaSidebarToggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd76a734d4527b50b781b117c4a3933018a5db423c9f3976232f09c452b738c"}},{"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":"langfuse/web/src/pages/api/public/metrics/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa667c67b24fc9788155bd97e0a827f3905c88e04dcc685e2f3b3a039f99c595"}},{"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":"langfuse/worker/src/queues/blobStorageIntegrationQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc276f2d25d1bdbfe841aae78a6175befa502d422cd738631d8d3c3dc5aa3345"}},{"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":"langfuse/worker/src/queues/mixpanelIntegrationQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bc06f6dc6067da365311e20632509db8e1f0ad4d7f0728c2059ea27263aa6f"}},{"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":"langfuse/web/src/features/evals/components/execution-count-tooltip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d139c330c3c485ab65081b97af6bc303b5e2bc42a00cf1de5c34e7239fe598e"}},{"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":"langfuse/web/src/features/filters/hooks/useColumnFilterState.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40809cafe761356a219a39c9d35273979744e7b5feff3ec452b37c691cdee7bf"}},{"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":"langfuse/web/src/features/scores/lib/useMergedAggregates.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e03dfadeda164d53d6c012b5e11b975bd7a7cde060ca6c5804c17d32156ef1f"}},{"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":"langfuse/worker/src/features/entityChange/entityChangeWorker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e87d2d09598dfd4a1fbaa7f4fea68120497466c879617b235f040e03114cb7"}},{"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":"langfuse/web/src/components/layouts/MobileDrawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5e0c6f6611b09ba3b07d6c4babe48f9923c01b8493b82f5712e1a17485eea2"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingScheduleNotification.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85171264874eb6bdd393c763035f70c00b1dc399dab0de628575b2422e2e8fc6"}},{"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":"langfuse/web/src/features/datasets/components/DuplicateDatasetButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e78c31913ed7231123771498d5182c82039bfde61d380fb0310cb9297439de"}},{"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":"langfuse/worker/src/queues/notificationQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd27ec68789eaee66ce735a8f1d4c5566282b4c23a75de94353ce9ebfb58ae3"}},{"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":"langfuse/worker/src/queues/postHogIntegrationQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"753666ceeeb84e36fc253a7ef7b4c8fee3014056357973119f25e672c024cc88"}},{"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":"langfuse/web/src/features/automations/components/actions/ActionHandlerRegistry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"961ecf4c71eefed39953cb084de4daf75e509ae93b5cb8905dddb3e9a6d75bc1"}},{"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":"langfuse/web/src/features/evals/hooks/useTemplateValidation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be923ddc4df58d2f40d3d302f08c2a2d7acf2816ee6205ec158008df1a37c9c3"}},{"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":"langfuse/web/src/features/filters/config/eval-logs-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"255e04834a5326fb1d337ac71f4da67d9d3f0f9d5475fd167727a120cfcf89b1"}},{"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":"langfuse/web/src/features/playground/page/components/Variables.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bda7c53c6c8cb7ab055b33dff43c8c07524e2a9cb143717842c16d9d64d6480"}},{"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":"langfuse/web/src/features/playground/page/hooks/useNamingConflicts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c523a5fb292d36ecc1ad73567d924d9c21c4f2e13f0f16e1c8d39b536c34e367"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/ObjectTypeFilter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e07a41081bd59966c6da52c12ba6a9b1f0262017b40685c295d3576cd42652"}},{"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":"langfuse/web/src/features/score-configs/components/ScoreConfigSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1587fb5948cb29550ca676a813171511b210df58f38974e8c99451a196bd3566"}},{"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":"langfuse/web/src/components/ui/password-input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1920f70eafd4faa8dda96598568f88943749f2fbdbd9fca44d2725c5f8038b90"}},{"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":"langfuse/web/src/features/datasets/components/UploadDatasetCsvButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"259062b721c2eb08be0a508cd2053db26e8e2b36e2abdd76ea6eccb9a59e05f7"}},{"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":"langfuse/web/src/features/mcp/server/bootstrap.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19a1192b72dd10de650d93aa9d59a4e4f1f11d8ebe87fa539a3f61de9246918"}},{"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":"langfuse/web/src/features/playground/page/hooks/usePlaygroundCache.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5fac658fb342c8f3377f8f77b8f1b54dd1ac099e13c2111c89b26ee2bb3af3"}},{"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":"langfuse/web/src/ee/features/audit-log-viewer/AuditLogsSettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6c03eb73d696459b9e865c5e1a64c0fb032bbfffe4e0f28658ac3c9893a94c"}},{"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":"langfuse/web/src/ee/features/audit-log-viewer/OrgAuditLogsSettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b1860d57d1f842071b287aa0c71db1acb6ec6f01e6453ea046fccf5ca284e0"}},{"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":"langfuse/web/src/features/auth/components/AuthProviderButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6401e05ca8bfca3647d066773785bb032f87b66b68d51a4bf6198dd421566b"}},{"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":"langfuse/web/src/features/feature-flags/components/FeatureFlagToggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"847342bb27d13762002b0603ead09a64a5bcc513f1980a122c488c7f8e3e0cf6"}},{"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":"langfuse/web/src/features/prompts/components/SetPromptVersionLabels/LabelCommandItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fa6535d9504280db32478f155c5e7f457e066b36edb8a624e148b56675f7fd"}},{"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":"langfuse/worker/src/ee/dataRetention/handleDataRetentionSchedule.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d0eee73077fbb99cec5e57d7e880d1d2ff114a8cd579c671fa9af9a96dac1a"}},{"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":"langfuse/worker/src/queues/dataRetentionQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"547d4fc41d0369a27f8e5a43ab457db656cdc47993d062db23fcecb253144e02"}},{"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":"langfuse/web/src/components/icons/AnalysisIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47970cc915293213852a2d1ac98367f6bff694413441f7ea49581e315ff2c82c"}},{"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":"langfuse/web/src/components/session/NewDatasetItemFromTrace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bdef883fa10b6e4f782a8b06f1c8b5b9b14d2062d48483402931999b235650"}},{"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":"langfuse/web/src/components/trace2/api/useTraceData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fed55653dd7cde157297fdb0e68f76f8bac8b02efe32fe17f2fcb6db350975d"}},{"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":"langfuse/web/src/features/evals/pages/default-evaluation-model.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a667758b72ca602ad7cebfa466c145ede1f64083dbcd68d11b58ec38846a615"}},{"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":"langfuse/web/src/features/evals/pages/new-template.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c735b4ebc7d45e86f1bea8deba9a3ca7e16299d5a1a95430912213d1cbb082e2"}},{"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":"langfuse/web/src/features/evals/server/addDatasetRunItemsToEvalQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50189a22b5ff80fa5608f67f62f9d15f7969b6c60bb4cf463ffa2f67f0b626a1"}},{"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":"langfuse/web/src/features/events/hooks/useEventsViewMode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62a9c44e865b7158207ea9e1f0911a970e7160c4681a33ccf4d40a85f094234"}},{"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":"langfuse/web/src/features/playground/page/components/MessagePlaceholders.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccab6d4974b682a188eaede22cda4ad1e26308990e1cbfc86b55085bdcddff2"}},{"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":"langfuse/web/src/features/support-chat/SuccessSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c494c409b6a7e511e20899c26281abb8f79c0e2fa8e709cd3b4ccf86947d11"}},{"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":"langfuse/web/src/pages/api/public/v2/scores/[scoreId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2901f03db7236a991c3eb7dcdf49648f5384afa1d735a3c3b626944a063f3a12"}},{"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":"langfuse/web/src/features/command-k-menu/CommandMenuProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee77af7b5664f2a13a7ada33d490d8ec3aa522e8405d3a6d586ecf028fdf357"}},{"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":"langfuse/web/src/features/dashboard/components/cards/ChevronButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee1c4c53ed22b037dfe605f85f14f1db2aadd04ceb6c59f5988120e9b189889"}},{"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":"langfuse/web/src/features/events/hooks/useObservationCountCheck.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18a58d147bbffde8551cb2c0f80808ca63435fedc35b59bb0984392c174268a"}},{"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":"langfuse/web/src/components/ChatMessages/ToolCallCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3f45fffdbfab4e3a427818bd36e7183236f09db04a84bd7e15d91124fc36bb"}},{"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":"langfuse/web/src/features/annotation-queues/hooks/useSelectedUsers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04b3a92788c5eea29ed1f293ceef9bdc9021c51b8a15c792e2b7f4851696dc3"}},{"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":"langfuse/web/src/features/evals/hooks/useEvalCapabilities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dc89c63c08bfbc2050a65988ddb4ac7c972cef155cea88c30f3abe9d585571"}},{"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":"langfuse/web/src/features/filters/config/prompts-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d424027e16d02d2f23279cf6539d50259d398e53ba8c894ea7ab88fa9de177"}},{"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":"langfuse/web/src/features/playground/page/hooks/usePlaygroundWindowSize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd139cba7d19985b2d73b1f3d2fcf707c287d321644346c482448113922046b"}},{"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":"langfuse/web/src/features/score-configs/lib/validateScoreConfigUpsertFormInput.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c039859b6d6d756a163ee0dd8da2aa6006d5d92f4aa90819752aa0f2ff5d5e9"}},{"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":"langfuse/web/src/features/tag/components/TagCommandItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9076a7a875394bf0cec94ec1db51038e405d27efa83440f5c4efff0baf4ff4a"}},{"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":"langfuse/web/src/features/tag/hooks/useTagManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3200e72960883e36426837151275b38dd67a833711903b24cf6dcabde27d559"}},{"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":"langfuse/web/src/pages/api/public/annotation-queues/[queueId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f62c531168577d5b1d2689ffd08e7c1fa8ebc6426e9782f490f237154a39e5"}},{"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":"langfuse/web/src/pages/api/public/comments/[commentId].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29af1429235d59934d8fe1d7594478d7c2139b474050e6f16fabfb25ee44c175"}},{"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":"langfuse/web/src/pages/api/public/ready.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53cd8de7bf73ea72e7ec0d4698f219f4d5af56b7c5debaa8adc463effc5ae7b"}},{"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":"langfuse/web/src/features/experiments/hooks/useExperimentNameValidation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2b1b0f036a4fcc1aa41c4741d545889ebfff0c7ed088b9a7332461f9476114"}},{"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":"langfuse/web/src/features/playground/server/validateChatCompletionBody.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e916f6967741da7cde08787efc4fd3bd482d06b97abed2dc5ae0944c0ac5d5"}},{"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":"langfuse/worker/src/queues/cloudFreeTierUsageThresholdQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf55592b0c868b72378ea9c946e800759bc532542ca8e3bb4fec78e4fc3ba76"}},{"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":"langfuse/web/src/components/PosthogLogo.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6193afc6de15b72ca0e7681e24231fa76ad1bd5edd6a513f04322b423c79c264"}},{"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":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/EvaluatorPromptPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae20f55eea107a05f26d4cec4749c62794bc92d449be20bc97f287f83484d9ef"}},{"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":"langfuse/web/src/features/playground/page/components/NoModelConfiguredAlert.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"266d031aa7562c1ae15a7cc887832dc67ca974641f16687a0a103b9eb86cfd3e"}},{"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":"langfuse/web/src/features/tag/components/TagCreateItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e81cdded73b33aab44af51e1df62bc377419557e6a0b549fb8daf62e98da270"}},{"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":"langfuse/packages/shared/scripts/seeder/prepare-clickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6587a821b7e5aab60b5ab9a6a162a75386ea63222f07ebc699290d0948b68110"}},{"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":"langfuse/web/src/components/SettingsDangerZone.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0133c520c982124f9910e0bb84d12bb254e4d90ccf2b3420e222d83285ab796e"}},{"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":"langfuse/web/src/pages/api/auth/check-sso.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"293367301b312712e07d9e6dc36612a6ae47943862fcd4dd2ca451403d516cc8"}},{"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":"langfuse/web/src/ee/features/admin-api/server/projects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e6bfb587f9d547511c21b41f7ee0cb63e4af406af94d04ca3fa266104a155b"}},{"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":"langfuse/web/src/features/datasets/hooks/useResourceMetricsDiff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74ad21adbb2125d9cf0879107d96b8c29b74cdec8efd799d08d4b9427533ab4"}},{"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":"langfuse/web/src/pages/api/public/v2/datasets/[datasetName]/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"232926ee4b6295447597b02449b3d7424ebf37cf209ed267931a6f0dfb7aca7e"}},{"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":"langfuse/worker/src/queues/eventPropagationQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b46943450aa1101a5a014feb3cd3ee7fd4ae69bf47a255c33620c2a1c2c89c8"}},{"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":"langfuse/packages/shared/scripts/seeder/utils/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"493eb74c1c541603ae51f7ec3d7875efa3257f8bd0864dd0e9ad0b26d5e02bb3"}},{"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":"langfuse/worker/src/api/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"170907412dd5ffb84ccae823d9cb89e6c225b6c11a9ca582b904da1cec9fb30d"}},{"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":"langfuse/web/src/features/datasets/components/NotFoundCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5956bc2125f789c81373a1254d1d08bb0e6b69dcd5e7cb9eb3b0defa7d48478"}},{"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":"langfuse/web/src/features/onboarding/lib/surveyReducer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caea28c08e8268d75b2330da7104a6515dcd96a7d1bd649df0031a751304d79b"}},{"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":"langfuse/web/src/features/projects/components/HostNameProject.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74207288cf5a99016a9bb1c29b48139a5cdc8d6f7011e428c8a9c9bbd2da75dd"}},{"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":"langfuse/web/src/features/prompts/hooks/usePromptNameValidation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7560d5d2b3ab25ee27cf1a0ccebd7ef5e46b7f78eecb81ddf0aecac09e9aa08"}},{"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":"langfuse/packages/shared/scripts/seeder/seed-clickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68eba103391efc4adaa2284a7593161a1f616a5ddeba31260fd5939c9eaddd4"}},{"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":"langfuse/web/src/components/layouts/container-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d72d93f37de0a5e49b1a8df51dba98700f279c2de3bde0d042c3519c258de5e"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingPlanPeriodView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0a4a3c966ddc31b06be317567f9fa545ac1a7f91aa6871bfed06e942d425de"}},{"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":"langfuse/web/src/features/score-analytics/components/charts/HeatmapPlaceholder.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe58c7417feb7f9350559a97f8c07e7df67071b2ceb80beb28d4c163dc144524"}},{"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":"langfuse/worker/src/scripts/refill-billing-event.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4291047b82ec12a124a6aae09032a112b86ef4bb3eb427a9e9d251d7d21e70b"}},{"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":"langfuse/web/src/components/Slider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5c4fb955087d71cf415de8877d33adce68b181ae4f0143d93b5ae7b957fb03"}},{"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":"langfuse/web/src/components/stats-cards.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfb6316bac3c0e2f682a4d0b1fb170b6541db6a6cd06daba51b2b561a786e48"}},{"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":"langfuse/web/src/components/trace2/components/_shared/PromptBadge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b42901051c600ade2c1590b1e02cb04977d203fcd0d85693929a74eedfa25cf"}},{"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":"langfuse/web/src/components/ui/sonner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"579b93a6d0a15c661aeb0c6555b740806bced03a9d569af698a9152f933029d1"}},{"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":"langfuse/web/src/features/evals/components/maintainer-tooltip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac04f04aa012ecc5dc899cfc3e8e2d58e434f0a105a0568ceab0286321f757c"}},{"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":"langfuse/web/src/features/evals/hooks/useSingleTemplateValidation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c1d2d60facf391dc0a5df508c9f6e31cb1dde1723dce81715c1425d2f2ecae"}},{"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":"langfuse/web/src/features/navigation/utils/dataset-item-tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec64a0ee9963aac9f431788c60632e2d7f74573348771298e5a348cb5ca5a601"}},{"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":"langfuse/web/src/pages/api/public/slack/oauth/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5beb9f5be9d2d81a1bbb6fee0e38f41a7bb571293797852b1570bed402268026"}},{"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":"langfuse/web/src/pages/project/[projectId]/evals/configs/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa18afb512bca6b5f7754cf5a415ae24cfeef3c6d0132341727216f199d2d9a4"}},{"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":"langfuse/web/src/pages/project/[projectId]/evals/configs/new.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"027f868f1f0a967aed784945e24b95c2358790400b7f09f36435121279de693f"}},{"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":"langfuse/web/src/components/onboarding/SessionsOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01369bd2f73d723f40ee16b38bc5c6e30af970b296243d48d0b70b199731b9f4"}},{"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":"langfuse/web/src/components/onboarding/UsersOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e909773640a938c7d6baa7189600d213c6ba0f7467fe4c75a887c69e6a34bbd"}},{"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":"langfuse/web/src/features/annotation-queues/components/shared/CommentsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"571b8bcd063b64795b21b3cc5e61862af7902e268e119128b9df2917642e8c62"}},{"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":"langfuse/web/src/features/dashboard/components/TotalMetric.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2ddd49bf5476d6dea36907cd3dfbbdd4390cae32bcd8ce149a3bbe8da98f34"}},{"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":"langfuse/web/src/features/evals/components/run-evaluator-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb12290523758c301ace32a1413595612fbe25111e3714c0cc0f6a34ca973cd0"}},{"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":"langfuse/web/src/features/navigation/utils/dataset-run-compare-tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af21526712640584d5018b6783ae74f48a0a659a12badad94913d9adf80161a"}},{"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":"langfuse/web/src/features/onboarding/components/SurveyProgress.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7d42e5e01192e3c70c279773620825c441de5808dbe415635dd56b45e82573"}},{"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":"langfuse/web/src/features/playground/page/components/ResetPlaygroundButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"790614823208ca920539cc318c241b489505b7a33808be8a36e9e00f9ea73e63"}},{"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":"langfuse/web/src/features/scores/lib/mergeScoreColumns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df73b084d9b9d62ab443633578bb5fe379229530aaa8739c74faffd9cc559e06"}},{"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":"langfuse/web/src/features/datasets/lib/computeScoreDiffs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0403634f47814a672ed4b5dd58fea1d9393ac470b98bac665b06829cf4cc354"}},{"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":"langfuse/web/src/features/prompts/components/PromptVariableListPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6925dbb5c8d1437b6c1910a19d0b9f6601f9d03dd309ff3bbdf561efdd25735a"}},{"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":"langfuse/web/src/features/prompts/server/utils/authorizePromptRequest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deac3b73709918b36a0613107031e1310bf03ae15bb849cc7f66a8faf7bdd9b4"}},{"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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/items/[itemId]/runs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dded6eb8613103ff29a7921e84f3db1bec0ce64cc798f1832cac43273e06e9"}},{"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":"langfuse/web/src/components/nav/support-button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bff750aa4d7b9c66c33105a13e66878cf105df4c528521b5d97c347afa2750"}},{"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":"langfuse/web/src/features/annotation-queues/components/shared/hooks/useAnnotationQueueData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb5afd15383645267f3666021acf6e16a4cd0691f237a6ca956009376076eac"}},{"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":"langfuse/web/src/features/evals/components/set-up-default-eval-model-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a110baeda7a2ede36a0e08b3e149c3f58e3d98f79595d1e7f9b77fae49984325"}},{"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":"langfuse/web/src/features/feedback/server/corsMiddleware.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f32b6149cfa1ba0bb8c5b392fb06b993c499aa990460b973b5be8f46b1ec49"}},{"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":"langfuse/web/src/features/feedback/server/feedbackHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc516b39790191e85dca7033d1638f5a3425b2e04fa0f9a66da82596acfde29"}},{"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":"langfuse/web/src/features/filters/config/evaluators-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7affd2bbf207d3edefaad3f9dd16d7b6f63462eb91d11b0fe41a7ffcd8c6b7c2"}},{"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":"langfuse/web/src/features/folders/components/FolderBreadcrumbLink.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ba734009edb21aec02514c90c431f0a8828631b27acd020827ef54933cd1ec"}},{"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":"langfuse/worker/src/middlewares.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13c581c6a9b56ba024c176dcf5e6c68931b39bcd86b15360d23ba7dd4be3b35"}},{"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":"langfuse/worker/src/queues/batchActionQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5b6e96df9c5424aaf519c38801fdd7734f3790e70496a12e4155b54c1d50d8"}},{"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":"langfuse/web/src/features/datasets/hooks/useDatasetVersion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6380e44c40416c9b921c4ac8f836b1a1a365c600b63132f9bbbd12a89912c3ee"}},{"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":"langfuse/web/src/features/experience-summary/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8581120dba87ce20906ec32d6f03f8c6165c964311e003d3ae713957270dd882"}},{"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":"langfuse/web/src/features/experiments/utils/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"943b9af57e66db15ba3a29350eee9e319442cbd15c174f0f53cfca7cca915b0f"}},{"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":"langfuse/web/src/pages/auth/reset-password.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b55044bed313ea6dee3a5e0a0943b114c7779a6a50252ca81fff39bb8a163b"}},{"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":"langfuse/web/src/pages/project/[projectId]/observations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5007181320e2fb9f2bb632fe655630c2950027a72352b5f70c9c16b3e079e8"}},{"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":"langfuse/web/src/pages/project/[projectId]/observations/new.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f2c7d100e5a9be38b661d9c093f6c964c1a153cb0db6470b7f12bd11520707"}},{"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":"langfuse/web/src/components/layouts/app-layout/variants/UnauthenticatedLayout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e306fa5306e47529ea0dd3bd8e6afc93a17b6e6b4781adecaae983360f4a5f"}},{"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":"langfuse/web/src/components/onboarding/TracesOnboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9a0428f7b67e28e44b87344ce43b34ab9212e191faf61727fb7ea2eafedf7a"}},{"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":"langfuse/web/src/ee/features/billing/components/BillingCurrentPlanLabel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb097c0cc1bfbd7e54ffc4a70a790bd8d6542f338b8fe9ad82b44f9c1ac1c99"}},{"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":"langfuse/web/src/ee/features/billing/components/SupportOrUpgradePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a9bd0b87d8d032314ffe655f6484eedb7f15d329a40b1c12505966e2e83ff8"}},{"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":"langfuse/web/src/features/automations/components/WebhookSecretRender.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3255d87057c73e8716b38591cd4e7bc134c892fd8952a718fa297e778b6029"}},{"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":"langfuse/web/src/features/evals/hooks/useValidateCustomModel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af675879b3f97c33f0bed8e3c86fe4daf39c4284933141ebd7737af9c030de5b"}},{"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":"langfuse/web/src/features/experiments/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb60673b82605cc0cfeff2aa6e3c3d4bbeefde319253aa220296451d6887801"}},{"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":"langfuse/web/src/features/experiments/util.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e045a7acd6b3d7ab1338749456be8387de63efbd40770b0d42cc730955631300"}},{"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":"langfuse/web/src/features/models/components/ModelSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d300b9500385bdab93afb62d44fed78d7749c95737a942194721cc91e8ac52"}},{"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":"langfuse/web/src/features/playground/page/hooks/useCommandEnter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dc6831c41cb1159857b93cfd5da0967281b587e409e9317ef2738f5c126bf7"}},{"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":"langfuse/web/src/features/playground/server/authorizeRequest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed72be30a7cf27f9a9d7f2b67f73363b592b3cda072e941f3ae823f2af7fa25e"}},{"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":"langfuse/web/src/pages/onboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e744359b8a037c7c43f5e3be4a68c64aa65f93609b2de6e39340de4d7ce12e63"}},{"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":"langfuse/web/src/components/table/peek/hooks/usePeekEvalConfigData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc91e0bd886994bf8901d17e6549360ff814b77bd1de9cfcce8acd1cb206eca"}},{"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":"langfuse/web/src/components/table/peek/hooks/usePeekEvalTemplateData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"273c1d6ef05b900367f1bed85e4db6ab03574463163c353a5155b44a707f6985"}},{"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":"langfuse/web/src/features/folders/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81c1fce77e0c0dcedea1bc30562ed875ee1815328b819d7799fa26a4f2cec18"}},{"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":"langfuse/web/src/features/navigation/utils/dataset-tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bb778eb058793186ec4e54fc1379448853f518a6a3c27e180b1fc17b6a9946"}},{"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":"langfuse/web/src/features/playground/page/storage/keys.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f38616b76dab1717a9f5b703f93b868fb69275426cfdd1fd9a314ec7b2dc06"}},{"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":"langfuse/web/src/features/public-api/hooks/useLangfuseEnvCode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"118960c4ebc3c386616c3dd040fba0f0b58a52f29be13beda7894887d24689b5"}},{"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":"langfuse/web/src/features/score-configs/components/ScoreConfigDetails.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b70f6869e91716f602208935b31f127ad97cdc81060c2fbe1a204bff1f1f43"}},{"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":"langfuse/web/src/features/navigation/utils/dashboard-tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f67189fe831a0f574452c61d228d8234182cfc773fd37531a81ebe5cc00157"}},{"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":"langfuse/web/src/features/navigation/utils/evals-tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"446ad9ce226da5d5b4f29ae797ab6b3f5d23b818e927f7642273a3c8edb037d5"}},{"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":"langfuse/web/src/features/navigation/utils/scores-tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ffda45035658c912130160743a0f4722485e4807fd0c79f87f5f6df0fa3e2f"}},{"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":"langfuse/web/src/features/navigation/utils/tracing-tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b64a9e838378da1da3a70372af8e50aa43515106989dedf934057969900fc8a"}},{"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":"langfuse/web/src/pages/api/public/otel/v1/metrics/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c1499b885f65ba4f56632d18e4da3258b640c2ec9ed23ff42236921e603ec7"}},{"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":"langfuse/worker/src/ee/usageThresholds/handleCloudFreeTierUsageThresholdJob.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd2aa0b3364c13ede52cb9ef18b3415c12683aa586165693d26ca828e67dd29"}},{"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":"langfuse/web/src/components/layouts/app-layout/variants/MinimalLayout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"228f741e476e825e7bcfc3ba1889e85800fc5844a30aca5ab0e6c1d2cfd07f49"}},{"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":"langfuse/web/src/features/experiments/components/shared/StepHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e08b53058b5afdad231fdc977c258ac2cfe75efcea4f839ebc9454b62dae20"}},{"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":"langfuse/web/src/features/score-configs/lib/upsertFormTypes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc472e17ded5bd2d194a9c069d01718896579256eaa39a07450ad9bc427df6b0"}},{"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":"langfuse/worker/src/queues/entityChangeQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1867708f751ca16f2e96fd4e238090df047ab31d276f9490bfece979bd88812"}},{"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":"langfuse/web/src/components/ui/object-not-found-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b0cd7caf909da1c4c2dd564f84eacd9cd380b4429938daba3ac2fdd6dc7a0f"}},{"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":"langfuse/web/src/pages/project/[projectId]/annotation-queues/[queueId]/items/[itemId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"190bc139a6553cc397620f874246c82a1bcf952a709ebc1568c8c71689500855"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/billing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c6f57f17c66c9d0e973a86147a2cef5373df5fe50493f01e7dc44034ec87f7"}},{"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":"langfuse/web/src/app/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d426285d0ce6c29334902878e34d19c0d8ae204ee93a0a75b6c7111c971abb41"}},{"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":"langfuse/web/src/features/dashboard/components/LeftAlignedCell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a27fd264917a44a3c6b4b80fe5fbc90df419106d45d89dfcbe1a7db05d19f53"}},{"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":"langfuse/web/src/features/dashboard/components/RightAlignedCell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18b60e2aa7a5f7665166f597c3a619dccbbf1efcc02c3bb17c12bc640cb7f1a"}},{"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":"langfuse/web/src/features/feature-flags/hooks/useIsFeatureEnabled.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c703149d677713983c4d2e47581efcf0d0c2859e33fe532164835c3965da5c7a"}},{"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":"langfuse/web/src/pages/project/[projectId]/sessions/[sessionId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c946a067e636c1368169e70e09ee2ef4c1e1574669b893fbe5cb1411a60d6e47"}},{"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":"langfuse/web/src/server/utils/checkProjectMembershipOrAdmin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8c31c9db7436b98b4d8d6c7a731c7ae83da16e5c72dc961e64a7302f2144f1"}},{"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":"langfuse/packages/shared/src/server/queries/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b4472c34188ce10c365d3d9983d48a8b7752d4d63ae53e9ad07ba61c1c4ea3"}},{"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":"langfuse/web/src/components/ChatMessages/utils/createEmptyMessage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f4282ebda5ee83dcca55510d86e6f0a7ba33556c0e1daf4bc302eabf9957bf"}},{"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":"langfuse/web/src/features/evals/components/eval-form-descriptions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43832e2d7e074fbf93cf65f85da7b2355b9ee8dedd65f457ac04c2bda6ac3e37"}},{"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":"langfuse/web/src/features/public-api/types/generations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"546c0d81ee5841c5e435be9175e2957cf1dcb2e182bcb4b9e852d35468db5ad0"}},{"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":"langfuse/web/src/instrumentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea7318f8ab98199ea430dfdea6d5c71ca8ab066ac5f02a25e4a22e9a1141944"}},{"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":"langfuse/web/src/pages/project/[projectId]/annotation-queues/[queueId]/items/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b18d5ba8e586c4d668c16110781c245dd93c4200f5f915e5b499993dc27eef"}},{"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":"langfuse/web/src/components/layouts/app-layout/variants/LoadingLayout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb3f6e0f04d05d6ba57d4249c3d0e7bc3b79ac92818bd14666b7387d04604d3"}},{"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":"langfuse/web/src/components/layouts/spinner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"743d176335a7e6a2e23fa072d7b55d3a4cb26d73da595ae912fc0f7bbcbf582f"}},{"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":"langfuse/web/src/features/slack/server/slack-webhook.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"731a66559fafdf29488437be982d3fcc49f0a65c314a2b3a279938fa3fa5f792"}},{"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":"langfuse/web/src/pages/auth/error.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d504370a0216c63a43c19824423af1df98f52eb1fb2fe47831216858102c86"}},{"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":"langfuse/web/src/pages/project/[projectId]/models.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7ead38554d39bca97e13ee4955e6a1fc69dfd3d5a2cfbeb3910a32d6683216"}},{"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":"langfuse/web/src/pages/project/[projectId]/traces/[traceId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22984760788b40dbd8a65bbea33557d2476d00ed28bc0973623ad4c8f693d40c"}},{"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":"langfuse/web/src/features/public-api/types/spans.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96f789011828ac5a528b46b309f71cf1816dc4e2c1b9d39001226447911e2e2"}},{"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":"langfuse/web/src/hooks/useTrpcError.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92cfe4a65f07623858bcf5450ddd1ea5329f19edd7540e8dc4f74eed7a4df6c"}},{"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":"langfuse/web/src/features/evals/components/ragas-logo.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e397ad805db970f72738f426a3419afb676daa50ae89929532964b084e4b41"}},{"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":"langfuse/worker/src/database.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfa5cc4bfc13625a7eda5c0405b5e0e373be70b3b620121a108a3194b1b0ba4"}},{"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":"langfuse/web/src/features/theming/ThemeProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9fa87bf9b99fd64d850fab6aec36d83b6eca8ea6bc445be38580efead82c83"}},{"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":"langfuse/web/src/utils/string.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05aebe792d38a1d95add07ff03c2e36f86c762641b5c1a59b770f13430ba589f"}},{"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":"langfuse/worker/src/queues/scoreDelete.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b6f9f44edc0dc5daef4a8576c8db017cf687a77def984f8f3e03e39fef6342"}},{"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":"langfuse/web/src/features/auth/lib/projectRetentionSchema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9c39d453f55a221e8d838776354a91039fb2a4aba70b9c109cb6dbfc741393"}},{"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":"langfuse/web/src/utils/getFinalModelParams.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ecf2af9ba290e5d836196c9a09a569c1f3833fa2ce6c16638e11809f3167b6"}},{"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":"langfuse/worker/src/queues/cloudSpendAlertQueue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96d7119c6490b7c4af07b7fbc749245cde8dde1b4889bc492a01c3ce5759fb8"}},{"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":"langfuse/ee/src/env.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dd84e1f60fbdce72aa4f18e6d102a111c1755b65098c4d9171264ad2a9e5c5"}},{"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":"langfuse/web/src/features/scores/hooks/useEmptyConfigs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d718f4d7f61eea1c2e0e1f851cc0cc461837cc96b77a8a5e17fa5f022b075441"}},{"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":"langfuse/web/src/pages/api/auth/add-sso-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe703d30db77b3be63a3a5157dd4121d6d9ca5704060eebccd091b6d0a96e5b"}},{"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":"langfuse/web/src/pages/public/traces/[traceId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6b2a8d571b300e95deb7e2e1b6b36f6e51f5bd16cace12323b1bf990344abb"}},{"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":"langfuse/worker/src/queues/datasetDelete.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d06b09fe907816dc5af3d2a00deafe837621a02e859f65a3f11b64397f50ee"}},{"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":"langfuse/worker/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17022f9eb5a47c39dd2626fa58e565f2eef6e90e7f7ea27cc74a6de5d9d40b9"}},{"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":"langfuse/worker/src/ee/cloudUsageMetering/constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09548139a1eda836c79dd54543f38c2071ec72b509e3a7cd7b09e41e8655c80"}},{"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":"langfuse/worker/src/initialize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fa54337d1cf254472772351524855eb83e01c67cacf1c7dcb0a39e6c7a8e56"}},{"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":"langfuse/web/src/app/api/chatCompletion/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b555ca1fbfbae1db264546f5c881e5fb2f1743834e48c4868f4b705ccb5e013"}},{"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":"langfuse/web/src/features/public-api/types/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"769f5452c5f6909808d60bf386da3794ed4ad3ec6784d983c88e43e0d0cb8ffb"}},{"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":"langfuse/ee/src/ee-license-check/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba29401da5aeda58fe7a6273400e2e35e4f9b6da93267a0289fd0b182d8d0a96"}},{"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":"langfuse/web/src/app/api/billing/stripe-webhook/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ec64d4e157119f9cb61749ebe5edc5c7470a14975e735027235c96fbd8b54b"}},{"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":"langfuse/web/src/features/prompts/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a864dfdf3d114854db598ac490ced52758cc8f99941c3ed90aeba8529f13c2"}},{"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":"langfuse/web/src/pages/background-migrations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe8d3024d2d0f26a5b277c4c808c29387a8bdf0d8868deb68190979c73244f2"}},{"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":"langfuse/web/src/pages/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4289a98c104b7bc5832a7347f855f082e7f909f08ad4380231d1076d52443c"}},{"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":"langfuse/web/src/features/events/hooks/useObservationEvals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8cce4a26b495a8039a34e61baee1ae7550485c913447112a7db0df157db19a"}},{"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":"langfuse/web/src/pages/api/auth/signup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a610508ae76593fd0764c264bef53abc5d84e254d4d923299e346b2abb55fc"}},{"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":"langfuse/web/src/pages/api/feedback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4199a20d952ccea5e25907d1e94d83ac1a5d851be688ad43c7b25bbbafa98b4"}},{"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":"langfuse/web/src/pages/organization/[organizationId]/settings/[page].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e7302f600145eb96733fae62e5b4f5c19fa5f147f0ce02a570d27894a7b64c"}},{"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":"langfuse/web/src/pages/organization/[organizationId]/setup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dba637f682dba3bc65fd14a15a8c5cf97dee92f41a6c95bc18d6b457fd8a74b"}},{"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":"langfuse/web/src/pages/project/[projectId]/annotation-queues.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be58903dfe7602311c9c56d2aab3f680c5fee1affe6e7dd0f48785b286e4dc41"}},{"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":"langfuse/web/src/pages/project/[projectId]/annotation-queues/[queueId]/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27407a13c839ff52fb9d59cf0e0933f9fa0530078ca833ee0c0c2f34870d463f"}},{"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":"langfuse/web/src/pages/project/[projectId]/evals/[evaluatorId].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a54ec719476acef3c895a36d51de182f751d197fe25d89c4dbcb0672b4fe53"}},{"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":"langfuse/web/src/pages/project/[projectId]/evals/templates/[id].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83cfdf5dde42781e0eaf440106ca733a5382b57589e3eb51473fe5e4bc4ee0c"}},{"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":"langfuse/web/src/pages/project/[projectId]/prompts/new.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2301ed409f9a6b6ba7d6a09acee4d6f97558ac27e05620bd8c827e971d3fd4"}},{"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":"langfuse/web/src/pages/project/[projectId]/prompts/prompt-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25f7469f467d393e6020bb608156b12f7c1a61755d4b720b486ab7c5c25c3c2"}},{"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":"langfuse/web/src/pages/project/[projectId]/settings/[page].tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6475b8a971f53f00a2e9af432e9520d4f449a83350cbb179937b4aaa9165bd28"}},{"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":"langfuse/web/src/pages/project/[projectId]/setup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"972c7665b9163f06b2a79fd16509d7cb70b5a70c25c7cee344e0783077fa7cf4"}},{"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":"langfuse/web/src/pages/setup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f13cf3f757421ddc0d2e655a217ad9d125a77eccf895ec36bf366a35f11c5"}},{"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":"langfuse/web/src/ee/features/billing/constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8b4fddb4c38f0a6366d749cefa465177f63daffb08883f0932939d01f7db6c"}},{"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":"langfuse/worker/src/constants/VERSION.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aede29d9d10353615fba8ff96ab9a21a59b58f34d7519de7a550433ca4fd99fa"}},{"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":"langfuse/packages/shared/src/utils/_tmp_applypatch_test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc017e74969c3d58020ccd34339ed536cc23ccdc858eb83b91e7395cbced672e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2185 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/lib/tree-building.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42a40078e2c8e148a505b52500a2db5e43fd918aa64ac548f2763ef177e3e6e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1057 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf01489e76e360d5d7c12957fd4cccb6959489446bcf4696c04271cfb3e0ec0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1010 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46200fe2f66d3721064c4d9acc8d84a125f19a004dacd2c7b37d2f2197345f24"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~967 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/worker/src/scripts/verifyClickhouseRecords/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a488d9d674929ccddcca4bdc725d2ca824abcc3d5123cf50106319818851eeb8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~901 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/components/_shared/tree-flattening.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3740dd3765205034ad6f48a10433dc5cbfb24a8d01503dae9e8429765348b41e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~630 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe9ba9cb5fbe04408b4a85e56bd67637a08828e19fad01eaad1908032787cf7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~568 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e0fd520c66055a6b74643fc49d8238a8eacfda0c16fed467b3436180b01a99"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~567 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/filters/filter-integration.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2076ae9e52c6ec47981f3b0ef6e78a6d4d7867ac9c81d7a05c3c35622ce05470"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~547 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/filters/lib/filter-query-encoding-decoding.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb21d501ceb4f387217e12578c0baa209a09378d07ec1b65a8a67cc4474bc69"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~531 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/comments/lib/mentionParser.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd9ea481593dc278e53c029468a52c11003c014d2b2eeafa91bcf18134ddbc6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~500 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75cd2ad3e0090ca40c3e0e5290ad3d0739c32d39a4b5bdd758e19c1d80d358e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~456 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66290ea15ac359cb95a7d59e270da0252150cac2b5b8832dcc5b01149c8a8aae"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~450 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-flattening.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8caa94aff6e42cc18644ecb8c3504d6e41b2a55d720fc6ae622316b3768906cf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~441 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/table/use-cases/score-configs.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94984043ca3a32304476a31b9bb3c01892f27c6b33a697332e900b4c75d17851"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~323 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useTreeState.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0498c5d5e6342458f366a10ba4c7a4ff92abfee27b9921c200265324a43b8e6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~323 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/policy-suggestions/server/router.servertest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3280ae95f0fe45297961ed3adaf5cc5ea50b2380592120696d0458e81df96569"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~319 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/features/score-configs/components/ScoreConfigSettings.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/score-configs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d577ec4b1b8bf66546da3657eacf68b643193978bd6af9ace1755ea9856b99b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~316 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26acbcafd7058dfab868bbf9818bdaa91b6aef8dde821d48f601cf6f0b180137"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~304 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06393609a8527e5acac7daab9ae5ebe1637be36f44525edcfc33b7509fbab24a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~297 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"194204e110c52800c47723bc94703a005f13ab0ca390c499eba34e673bc798d6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~289 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/server/api/services/tableDefinitions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a490359ef57b92b911ff8f8854226f5db202d46c28b2192a9bb58e404b008714"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~269 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/components/TraceTimeline/timeline-calculations.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f9b86b5175821c06896d70b9c5cd1dc177cc087e662507abc6a4c6511f4103"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~269 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0445a8a1c925e74db884642f13a6889a28498f058c82883148e17d36d736b8c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~262 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be42c6b467ef59b05ba14faf7679422e06b419640c1f1c5ec6cc56f7752c329"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~256 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/dashboard/components/ScoresTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba0c90ed19bd05737294b32ed8d253a5036cd394abc78c91824a90f5bdfc732"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~253 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/features/batch-exports/components/BatchExportsSettingsPage.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-exports/components/BatchExportsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a844c7407b9ec81a75dca9f1c6ce7d567f7284c9d6ebf253b9d799307b8b8e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~253 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/prompts/components/ProtectedLabelsSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b673f9d4c3dfc7fa1c6ee19c5e3712c5c5f5f7136495aca39164af75fb861ff9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~222 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b3f9c0936c6b6ebac0ad6dd2398823be0facfb31c95a3ea3c26d5a5123bab8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~217 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleJsonViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba5905ab5e469d97bbf7ac1935fc1bd2b3eeae5473a11c579a2eaf9204576b5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~213 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/jsonTypes.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41f420c74ad920c3ef98a384d73986aa88226f2e540768a3a4bb6bd755921eb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~211 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/features/batch-actions/components/BatchActionsSettingsPage.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/BatchActionsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adff8006a5bddefbac69ae8f94c2f1658a08f74abf4c8b2b7aaab0867a9149db"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~210 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/packages/shared/scripts/seeder/seed-postgres.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdbcf5e90b5f833a6016dc140c8e20a7265cdf106a548308a29c8a29ba57f53"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~206 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74e90ccca25a371a71ddff87a3ba66ea65990142c45753010b16a9765f14684"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~189 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/prompts/components/auto-complete.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"190c477b7b713be57b4eacc8bdb588f3b4182bad838ac6cde84256cc94317ba7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~182 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdUpcomingEnforcementEmailTemplate.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c13a4f1cada2beb4be9a08a0e2b688bca76641dc5222eb2145953a8474ed67"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~176 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/dashboard/components/TracesBarListChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff578b6b109fecd2fbc1e69f9fae8287bb0859841a4a38ac01e26b894f2998a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~157 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/SearchBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9aa9e9d08ddcb85a6c004dae9419acc92ca5e69624de55ae93340601b62c5f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~156 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/datasets/components/ImportCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89129ac0c85c0afb61fff76893c70bca522aa698e11f44fe6efe115b3a64f27c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~154 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fad4fa04dc8ed5f003438c22bdbe186aff1e18da105297abd08dcb813f7cd2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~136 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/ui/AdvancedJsonViewer/AdvancedJsonViewer.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useSearchNavigationTree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71636095050498b079c8fbaf8afd02c46115b608f240166e3db6250c5732c29a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~131 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/dashboard/components/ModelCostTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff85d1b0a550a6ffabf725f04e09bc294bb7c43963b35a6f07ea7a4501f3ba1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~130 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/notifications/components/NotificationSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdcb321f840a6457453453dbf352bf79d91b2a1f9333c44d21688df4226a1f1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~129 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreTimeSeriesChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe80d6c07ba2726066837d052f35d6e5beeb46691d8c80cef799b340d6e4ced3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~122 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc8d65454ceb5610b9b577bc0f30f726c86718737a1ba5967d7c17f36de9abd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~121 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/dashboard/components/ChartScores.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4658a35f3dcc1745e8e6463a398f797772841136f6884d30879d9b5b7d623d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~110 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSection.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonSection/AdvancedJsonSectionHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e936674da108dbad8972409c820086b6f8f76ce30b0b7cbdd15358ed3bcffd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~108 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/trace2/contexts/json-expansion-utils.clienttest.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/contexts/json-expansion-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c0d49c4b333b15a2cc305b826097d2480d084fa2cf8540ac38e1f04149c19e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~107 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/orderBy/hooks/useOrderByState.clienttest.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6570f53106becaf5a1d30d020fca474e504917cb6935781c537c4784f6731d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~100 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/playground/page/components/CollapsibleSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd6350122ad860ad0c40a9b5bd5fb6b45aed4176d3384f1d54a67b2c20d7e73"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~96 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/api/useAgentGraphData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32342ffc4b3611c6284727246b58dde29f7881221794dd8a8c197bd5404a6f57"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~93 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/instrumentation-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b347822c7b17f1ca4210cdcd220049746a5dacfabbb4a6f5c0a0592aaa15a1a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~91 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/components/table/use-cases/score-configs.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d81a914115c7d59ed1cb448e9af4750935676d6968aa2595d4f9615c9b2f11"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~84 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/datasets/components/DatasetItemSchemaErrors.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afc184e0d1a07eeffede2d64a07d35007ecd95be1c4925f84834b65be587fee"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~83 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/worker/src/scripts/createDefaultModelPricesJson.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f05d737d3e05857d208b04b5bad4a4c3e0c3ef0b57bb79154ee9587e4d066"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~81 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/governance/utils/policyConfirmation.servertest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21509e5d4d1e90b937a630047486c5ca9b8b462a65b061b74fb59420106b4645"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~79 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/features/dashboard/components/score-analytics/ScoreAnalytics.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/NumericScoreHistogram.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36d7b2365526fae9719908ee955f82a83a35fca12e33b8aa94982bea2dd4a8e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~78 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/scores/lib/getDefaultScoreData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10fb510962320f2d0f221b835dfd0a439828e574dca61d0b82f93aeed0f1480"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~75 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/table/peek/hooks/usePeekRunsCompareData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fbe8750c3ad6067193e06f7cd74abe010470e30273936eb2af9db55f077c94"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~73 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/projectNavigation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db174d1747c873d2cff06403285de9528c6cd73967220b87eae7ad6d3a248d75"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~73 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/unicode.clienttest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1006b0d1e19dafadd905fd12b4615dd928fdd626805e77e1cc11a0c81bbbf72"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~68 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/hooks/use-element-visibility.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1efcf4293db3522dfbf33ec4bc269343b7006bb98f868b6df38eed42afb484"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~64 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/feedback/component/FeedbackButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fd757e5a7745a5afd40d6c0bdd0ee14e24655d8d1dc572a344ab9141b9aa60"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~63 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/dashboard/utils/getColorsForCategories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58c497a7c8da64be6c846fc6d89e76faf622ce3c2c23df4e5aa5dd2105dd94d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~60 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/table/peek/hooks/usePeekCompareDetail.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7813cdf90e9f2664b98167a59bd865b6580a1a6fa41f85b235132a0f79dfb544"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~57 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/SimpleSectionHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0f869837bb9b68af6000d775182bc860113e5837f4c5c41766af5bfc7ee29a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/notifications/Notification.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3913cb0c75186189f4cd95a20b1faf43589b35e9566a0804a62230be9eade3ac"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~48 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/datasets/lib/calculateScoreDiff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88873b70a65b60166af7d56ba06b222849541945b58a7fe37c5c4cff270e3f17"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~46 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/batch-actions/components/BatchActionsSettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2144cc4dd8acd5087df8e42b282f0868fae9eb704d44f3a47113a7e7c01c32f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~46 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/batch-exports/components/BatchExportsSettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"358c2aba5eb0eccd313ca49d4e4e1d5f200acb6d7412e1acf5d7973d73f9da24"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~43 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/score-configs/components/ScoreConfigSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dcd3fd2284a409959721b81be1a30718350868fb346f589d3c14855cb5fb34"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~41 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/ee/features/audit-log-viewer/AuditLogsSettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5479343080512f94794019a5f41b063eac30c9f5902c589423352a6be37640"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~41 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/feature-flags/components/FeatureFlagToggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c1bfa073b035053ee0a5b287f540feed875463911e31b844909fc4f90f014e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~40 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/api/useTraceData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d8a342c1443a35539866829ebecb68cc2948f5efea9e815707699ef6c53636"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~38 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/events/hooks/useObservationCountCheck.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9f88ceecea0ffbae099790cec6da92e87c24b1b49f356fa2d8b296605f8040"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~37 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/lib/validateScoreConfigUpsertFormInput.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68817ca60bbea546228b6b0a7bd67c019fe6ab21775cd570d9a22fdaf344c1c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~30 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/score-analytics/components/charts/HeatmapPlaceholder.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b99f16ab1d6e20b197f29517f5fbbff98efb2bd04042cbcc156a851455a6e7c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~29 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/Slider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09767c95583fa4f7c7e4aa5381441b56116fc994220ebbc28fad506de205dcce"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~29 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/stats-cards.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"176a77b9a53a90d86ff95683926897313c878ac1a15368a7612bc7677ab390df"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~29 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/components/_shared/PromptBadge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a09847a014f0fffdf550cdbf80065e25aca801d4f19ea53fcf023265d8358b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/nav/support-button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"402d4b01a07cf40b35fd4b274598b2f69d32b5019369d8d027a37d1c228bf8c6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/navigation/utils/tracing-tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"954b816613fef0cef46631d6616420304b8fed0a27f1df57bada5c2f7004bdfe"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~18 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (langfuse/web/src/features/score-configs/components/UpsertScoreConfigDialog.tsx, langfuse/web/src/features/score-configs/lib/validateScoreConfigUpsertFormInput.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-configs/lib/upsertFormTypes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"009a6228418f2ab6a07814d615a6c296a69ae292acc3e951351ea51e3b91230f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~16 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/features/feature-flags/hooks/useIsFeatureEnabled.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ec70b73505f69ffcbc74d97622cc54d4ba1c09fc78c78acfae56581e523b30"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/packages/shared/src/server/queries/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3bc00764e86cd39f9eff8bcc179c388eb932435691ef5b1992148b3ff3e8d4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~14 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/web/src/utils/chatml/jumptoplayground.clienttest.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/chatml/adapters/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a486e152f7d63fb4bb9897ddab8b625ff7df93569c0c61672abe102111645e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~12 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/worker/src/database.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f170ce5b063cf341a90d1c1c5055784104fb66f29f0f826bbfd3df4b8a7db649"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (201 application, 23 tooling, 204 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (langfuse/ee/src/ee-license-check/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/ee/src/env.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0749b877f4555cd16a3e56daf07e6becceed7671cb5ecb6eaebd93bca1712972"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~8 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/helpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92abee165b324ee5ea9103f678683cc15c27a05c443e6c24b6c374bd94eb1e57"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/ee/src/ee-license-check/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd91a2138d71e7046216b3077414878d9db1dec098207226a7beb2b345f2f5a9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"426146b77f2654ab46f5bac004cd7474bba9ed55c6f7848e9e47c45f5d9ba374"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/components/trace2/components/IOPreview/components/hooks/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6764e090fe32dd9fcafd1dd5eb32f41dc59281937e800e90cdcfeae42fbb5054"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4296c26d0010224c4a10c86debd35fff8f90ea0452956fe4f36ab70953672a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf36e340e64138b332331efb7e8fc7afc537d9df633be35625d0f922df672688"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/adapters/generic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fa70e0d738879d80be38796cd45a8d020ed6323305952c980eb5b9fd036559"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2f23213be542aa0b468f477c02f70ce8e110d317b29d14a56440f843a4314c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b6e5beff7a1303b75e6a3db9f7a1d9a244e3935c462f4bd7bd1fccc8e5b1a7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/adapters/openai.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67adf929aac5d99de4948969efeee051981622478d917367d5e3657d132996a6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/web/src/utils/chatml/adapters/pydantic-ai.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6deef42dbaf4256800f0ccd81c732f672067cf8460d6fa71dffbb09af96d475"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/worker/src/constants/VERSION.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0042d1af3f36649d98fa97155af80ed302248066f3dfafc7694ed68cf3ede672"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~0 LoC): no import path from any entry point (201 application, 23 tooling, 204 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":"langfuse/packages/shared/src/utils/_tmp_applypatch_test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"210615e5f8467ca8022126bff79118d8561cae06825f8a9ed5ed294e29af4267"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027REALISTIC_USER_INPUTS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/clickhouse-seed-constants.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bff9ecb3ae96f35b3a80b27f64019d37349335ac9df5b44091a76c6a2d7ae9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027REALISTIC_AI_RESPONSES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/clickhouse-seed-constants.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cbe578d65815934e57aee93c0bcabe494b933511517d27a1a76794e21c5118"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027REALISTIC_METADATA_EXAMPLES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/clickhouse-seed-constants.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27b88ba37922b0888462998c718ab3030c07816f89e2d358ef151b1491eac2f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027APIScoreV2\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/scores/interfaces/api/v2/schemas.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f2b8ffd56f1acbd4cc0bbc6c2ff8da2d610a7e765de5678720510e2f3551a3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/batchExportSuccess/BatchExportSuccessEmailTemplate.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"152ac8fecb4b98bd8b1ca129760e285850f2a2b83f867dab1f86731ae6248239"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/cloudSpendAlert/CloudSpendAlertEmailTemplate.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ae9c20a9aabcd17c02f0a581a12af37fdb7ec258670603f8e87032c649541b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/commentMention/CommentMentionEmailTemplate.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"063a64d7f0a2a6ec4452e448232b0e629e9ae4af8994a7b30ac109fe424a3ee8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/usageThresholdSuspension/UsageThresholdSuspensionEmailTemplate.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"010f7c2285d52cd5d99c7be6598cd755fbb591298ee5f5bce376e5fa028afa68"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/usageThresholdWarning/UsageThresholdWarningEmailTemplate.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdde290163e99a75c4b108f7683698b7b7334284e43818a2379594078d672b02"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TableDateRangeDropdown\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/date-range-dropdowns.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"742ddc3b9f3b7a79bd6f0bd1e79a2c508a894ffa8bd883f101d25a73b384c2ee"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AuthGuardAction\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/app-layout/hooks/useAuthGuard.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a120afeb98b142eb64474183e1b5130393bf8765fcbf803dc1717ff075af55e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027NavigationFilter\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/app-layout/utils/navigationFilters.types.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec0c6914272dce9ed53b963d4f8cf065af0cdded14d3ed7545f21c9f71d446a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027processNavigation\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/utilities/routes.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2136d40726e6e0506073358fb8d319888450dfb7ad0b0452424a1ef592568ac5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DataTableControlsSection\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3486996b9ab8913d7b5a416a229f43358569e3fe519fb984841eab8569d2ac8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatDepthIndicator\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceLogView/log-view-formatters.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d5a95db0cb29bc74dd7ed0ac8c92d5f3282d24bcae54e407abbe1b31d3d66a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027useMobileLayoutContext\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/_layout/TraceLayoutMobile.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4fbe0fa07cb5601525060078e3a2f4d3ec85c2a9ef13e902a183f10ea7fa2d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027downloadTraceAsJson\u0027: Nothing imports THIS copy of \u0027downloadTraceAsJson\u0027 \u2014 but langfuse/web/src/components/trace2/lib/download-trace.ts:22 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep langfuse/web/src/components/trace2/lib/download-trace.ts\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ac5e2d358b4ec96010dee86a9ee395e8d70c47a5c821fa924e0ac529aa5df8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027calculateMinimumWidth\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/calculateWidth.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5154bf28d6af0c7153a964cd83add926b007040b8dd932a6fe769ad37c21cf1b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027debugWarn\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/debug.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20ddd621014724ae46594d33b4155f6266ca88aaddd52dd259b2af230369048"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getChildCount\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/jsonTypes.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c8c287c84855491af506540fcb3e993235c28218db1bbba32368a7af22c8a6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getTypeLabel\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/jsonTypes.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdad7b5b86b00b247ed746f8459f9f79d192aa3fcb233ad6a82f504d2892c68"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isPrimitive\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/jsonTypes.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bfadc0bf99b2083d49b5f4e47c698fe171d561c668a83ecab7a032cadcceb2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatStringValue\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/jsonTypes.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aef3bcf8b13a339c8041d72ad3ef8640e770ee5f0d80c63e7b1b0d7966385e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPathKey\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23b655e5fb80c8f5270c15fd5981727b6e54ce43bd08ac7becf9f5344da24d4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPathDepth\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e448ae1eb1314f5d164eb82d803d95ffa472819b36f0d9a66872fb80d8b0fa99"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isRootPath\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd314d3234d2792da5d25b283c087a3159f8e049f614ea3b37ef3d64dd3f03b1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027normalizePath\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3f45102db67e5df3b9edb7272aed0813c018fb18142ae80993b2762d52f1c0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027comparePaths\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"21202341a5cfd0958fe5092aeaa8963edc838706e5c3a720d02fabb02524103f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getChildPaths\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"215d075f6328dca054cf3262326327a1a6329c538d09b48ef05abe343a579636"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getDescendantPaths\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1919aa4097b9afcd128ec7d7a424777af85bafac7f4c3d24f0f539bf429bfbe2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildPath\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4169f684a6ac7c9534dff35a2e5e43f1ccf6a580801b0fed6467631aaf3095"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027hasCollapsedAncestor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/pathUtils.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb35ac29aa1ca789908149c0985f2cedb124c5f70df4fd4a20ba0551e6ba745"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027exceedsRowThreshold\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/rowCount.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b867dcb2d565647f987dc54de4f5bd1e2a0d4d15f8f7ac4e3fbfc0d51832cba"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027searchInRows\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"95837cc1118f818601995ec28f903088c5462fc45f63e37bcbfdae7ba2a7486c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPathsToExpand\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"12937327ec5239fb461b2813ce35fe180e48ba3cf6ea5f6a32b0ef919fdfff0a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027expandToMatch\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d238e8d203bb3fc5bcad2775a486fc3835788a5b2553b9bc72dad771487c95"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getNextMatchIndex\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90bd36c8da3d1a90664ef963a211162e84e7ae4883bdcdfec739f345aa176b1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPreviousMatchIndex\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"448b15bd634373b55b7854d26202e70ad8aa1276ba31eadff9a6a9f640d64a31"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027filterVisibleMatches\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38ad6dd530dfb6893f98bd5024d2a72ddee99a2857e826e8dbe961958d24a73"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027groupMatchesByRow\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6aea5703d6f9bfc8b601d7d098ae3c8532a79528692ca0fadc585a2548d836c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getSearchStats\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca27d32f5e33549baaf5a489f6b337a6a793026a39521597a2f730339c628ad0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getMatchCountsPerRow\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/searchJson.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"912921e6f82075e50839a44923539cec82d2d704ef618ad64acef4adaf17d7e7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027expandToDepth\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20b9188707d2c624c9c9bc2810123c77ec97c83e1f1a65e9ce07cb6af117c0a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getExpansionStats\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcca863778d35526b3df611804eb88008b55cbb500518e9b88ceb0f9c350e683"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027validateTreeOffsets\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b20513e443ba85dd5633bced092acd163cfe7265bb39691d591dd1cf8c2750"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPathToNode\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ddaec334b1a193158da1553544e284f165ece6749cf5be448e9c80176599cb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027validateGetNodeByIndex\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeNavigation.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d60f53d8776aa9b47cb90969801013b51231531329d5c1bf565691e9409ca8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027shouldUseWorkerForTreeBuild\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc179823233476cd168dcbfae4f84f3cb64fa9a7ff114cfe958f6061c665c4b1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027programmingLanguages\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/Codeblock.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d64bf704fa0ea95621d4de1854c3bd7ece58f8ec7c6cae4aea00b912362c954"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/BillingInvoiceTable.tsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"029c33f1e1d12f1d9803179d73fa3e44dfe5fe1f75aec0cd45fa4073d2569544"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/components/BillingPlanPeriodView.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aae578956193e1a0cb0f2beb09b6395c0f82048eea5f3f5120f553b4003f6f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027stableHash\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/ee/features/billing/utils/stripeIdempotencyKey.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6951676fd2d3af238513f512d6438c5668562b2712f8bf83c4fc392d029c1cfc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027githubDispatchSchema\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/GitHubDispatchActionForm.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ec40081b317fbd0cb634563bc75998a33638dcdb3933ca0c2f9d66a5d9f89e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027WebhookFormValues\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/actions/WebhookActionForm.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7ebd422e758cc2861535ffaa50803e7bcce036bfe256e6c5c4e08d77c3134b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/project/[projectId]/automations.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in langfuse/web/src/pages/project/[projectId]/automations.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/components/automations.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"580268ebfa0e1ed15b61c405385e0229926c75ce00e6637949860555974f3876"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027extractWebhookSecret\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/automations/server/webhookHelpers.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f15c5857b7bb5587c67c539a5eee53904bbc8793ce2cdbb9c11b108e50f0891"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ValidateBatchAddToDatasetMappingSchema\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/validation.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afba137bf99c05a86be502caaa6ee42331a585985782161150005f7760e55fa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ListBatchActionsSchema\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/validation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"650ef9a2ede11a918612bf8e18d18b3e60934935b8e17d0b5c3e50908b988ea2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027useInlineCommentSelection\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/comments/contexts/InlineCommentSelectionContext.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9b6d285c6bdc91d72f4696e10e07dae7b6751a88d602e45581853851660120"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027padChartData\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/lib/score-analytics-utils.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8060388ffff6907f5412630a360353fbd1303336b409feececd525dd98a19e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DatasetRunsTableInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/service.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c8266d7e0cc6f86300e0d1e2ce15467ad2b88c97dd101e3756c5d4deed1aa1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DatasetRunTableMetricsInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/server/service.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce6c2115b36f8105df5cf9eaaec07908974fdcdc269c3522093d3b8b62f7665"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EvalVersionDropdown\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/eval-template-detail.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8243b06442585d0bf58b815f687b2fc8e828c40a723dfd5ece97743a43fdd73"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/project/[projectId]/evals/default-model.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in langfuse/web/src/pages/project/[projectId]/evals/default-model.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/default-evaluation-model.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9968729f6b03df702941e80cb5c3a8bdeaae44c0abfa11258f43d65f15417ae8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/project/[projectId]/evals/index.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in langfuse/web/src/pages/project/[projectId]/evals/index.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/evaluators.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e93140456003bd9e940d2d7d622726d30082ab8debbdf5fbe89f8ddad0e2915"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/project/[projectId]/evals/new.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in langfuse/web/src/pages/project/[projectId]/evals/new.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/new-evaluator.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"749acaa9301fa5bbd8839e93b94b7d74b5a9d3c2865befd55170e00ce0c69a3c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/project/[projectId]/evals/templates/new.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in langfuse/web/src/pages/project/[projectId]/evals/templates/new.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/new-template.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f17fde755df73a1ec5d40a91d233befa7714fda40205161fe60490da2c722b1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/project/[projectId]/evals/remap.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in langfuse/web/src/pages/project/[projectId]/evals/remap.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/remap-evaluator.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5f2ad8d95cb9f4a5bc3bba4b61ca32d4aab7a69b4a4cbb4e8450c0a587c439"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/project/[projectId]/evals/templates/index.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in langfuse/web/src/pages/project/[projectId]/evals/templates/index.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/pages/templates.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"173385805123f94af280c7040f1930146f2d5621d273e580fd6cc68cc5c04171"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isLegacyEvalTarget\u0027: Nothing imports THIS copy of \u0027isLegacyEvalTarget\u0027 \u2014 but langfuse/web/src/features/evals/utils/typeHelpers.ts:34 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep langfuse/web/src/features/evals/utils/typeHelpers.ts\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/utils/evaluator-form-utils.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ef89e1dfedca27f6e4d81564881f27e8a2dd241418d0b5d3a2393d51d86d33"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027OBSERVATION_EVENTS_COLUMN_TO_BACKEND_KEY\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/config/filter-config.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb62bc2e31db40a5d55fd2f7ccd8872512a14ad84a13f8a0b9e95da1d4a36316"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ExperienceSummaryMode\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/types.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"11800562f88c667746766b3fb80b82fd9cc16ab7327b995e19c9f84801fea7dc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ExperienceItem\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/types.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9830c0d0d77dc700713d48429d18a30b88faef491e7758c11215ec1a29646e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ExperiencePromptPack\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/types.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ea20bc68fc72a8c4556db2ecb4f5d6477aec09dd84ac00751738fdb473f3c9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createDefaultObservationVariableMappings\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experiments/utils/evaluatorMappingUtils.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3522920f93e37a15b356aba22b6061c8542c46e59a7cd60540f8755b7735ee"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027GenericFilterOptions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/filters/lib/filter-query-encoding.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"64abfcc1b1411d605b5dca9594e5273acaef62a523467640e3259c8134d49998"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027UseFolderPaginationReturn\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/folders/hooks/useFolderPagination.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c1ecf369b34da837fba3d3b2907165d4ea06bc7bfe0cd7966afda605ec3bb7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ParamProjectId\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/core/validation.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9353756ad0aa5165f078791f2804edbec94824071fd2d17e04f45a6abbdbac5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getSchemaDescription\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/core/validation.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"992d56a2b363bf202acd011d332a865fa23a5ad4729aa06576f08aee99891997"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ParamCommitMessage\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/features/prompts/validation.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2700a90ba475a3a953df23a651818dc208bf7c895deaecf29a9f0e436c0a303"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CreateNaturalLanguageFilterCompletionInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/natural-language-filters/server/validation.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f10235365bf90346f6a8f02a46f1d217563d568108d19887639ce067c71353"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DashboardTab\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/navigation/utils/dashboard-tabs.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9257c9a80da184f03335446de920d201d3e2988a49d44dbe8260aefaa679d778"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DatasetRunCompareTab\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/navigation/utils/dataset-run-compare-tabs.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0305b50ff26aee0862f094d362f00e7eb06ada59811d575992b3eada8f299eb6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DatasetTab\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/navigation/utils/dataset-tabs.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85591cf5d7df1654aed773037fa159fd924c0f416c4ad852cd195e12164d365"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EvalsTab\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/navigation/utils/evals-tabs.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6448aadcd2d103f88b09c85a7b3ba06bee7b0920d1e0d4a0259e79af84058805"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PromptTab\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/navigation/utils/prompt-tabs.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6a54bdece3e75ae9dc82ae7d26f5b205556e5f0ea2b9d5393bc8a2e1381d82"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPlaygroundWindowRegistry\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/hooks/useWindowCoordination.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc02335a73cc0484f43be20b1e87270d4972dcf857b30a6c37bcf91f22a61b5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getWindowCount\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/hooks/useWindowCoordination.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14a8cfeaec740580152a7f52b998b0f124a66726f81fb6cc20908a6bbfaf1c5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/project/[projectId]/playground.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in langfuse/web/src/pages/project/[projectId]/playground.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/index.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9bd783051c18879cd6fcbad4dd697dca4fb5853ef8f760d6dce66c816a4285"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PolicySuggestionModel\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/types.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d297cb163b6e50b78f6554aea3e97f8587bf292147c12c951cafbb0cfa32f368"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PolicySuggestionResult\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/types.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c308144e2fe9cd17b6ddce1941165395a8116abbbdab7c36e05c308b94b52d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PolicySuggestionGenerateOutput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/types.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f4719cc4438fa108336cb9f1dfb197d21933732efc2211552084e56ebc6639"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027promptNameHandler\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/api/public/v2/prompts/[promptName]/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 langfuse/web/src/pages/api/public/v2/prompts/[promptName]/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptNameHandler.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf92987b3a2780007645733c69ea1fd766bd72062ec2dcf353189a1494c5dca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027promptVersionHandler\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/api/public/v2/prompts/[promptName]/versions/[promptVersion].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 langfuse/web/src/pages/api/public/v2/prompts/[promptName]/versions/[promptVersion].ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptVersionHandler.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92fa2a3a1fb1d6a3d38e4f159891f653e7e7ab56585036b81ee3721d29456ef"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027promptsHandler\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in langfuse/web/src/pages/api/public/v2/prompts/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 langfuse/web/src/pages/api/public/v2/prompts/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/prompts/server/handlers/promptsHandler.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6fa144c88f907068f253e0e30426f1c824edda920d13fbb1613e8a83c75032"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AnnotationQueue\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/types/annotation-queues.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"513250aa3195dba86df7688afb71de80adce91720e5599bfafcfc67f647407dc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027tmp\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/rbac/components/MembershipInvitesPage.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"026c9ab40b8b83e7966aaa2a8bb4d5ec936a994aa3daf6a2c07b446889dea39d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isTwoScoreColors\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/ScoreAnalyticsProvider.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"014722a76da1dff01b7b493b521d97debe7b63ad3ef1304548c901dc8969f161"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isSingleScoreColors\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/ScoreAnalyticsProvider.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6653aab64883a76581fdc567da49c245b8f1691f15ff574bebc5ebb37b420c69"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getColorFromMonoScale\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ff4b4106f233819326add6e947abc17988594d0d7760d1ff39e72ef7962c30"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getHoverColor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"840b3e2ddfd1821ba77e3a9402fba06ee5c98bc5e021fa0d3d90bafb4fd55ef6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createCustomMonoScale\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"63545044b25454c0dc80383c1fb52fff0037ea0b46394285ad08c234c5b8038c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getDiagonalColor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c4a05414a89135215735330ebe248c9e2f43b2e79f6012162b143b5a27e72d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getBarChartHoverOpacity\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba7d72aca1241eef3d4e9bb3a49e8716ffe5321785583082c4bb3178abe8bf5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getSingleScoreChartConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b35cece90ef02023e7070750293b01247db6b9da73825668e85cab094ac58a9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getTwoScoreChartConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ddae9adef89ba9eb9f3bcb696c8a3ef02180fc613df99e7d2e59d8d6adf96e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027FormSection\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/formConstants.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f55216f0d4f4d992679084e5dfcd5c45a48a7e037bf0e1d4d7334738d3f10fb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TopicGroup\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/formConstants.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"404234a5988506174ce71454da5cd5c12e8283e644550c5b7d07b1dc6727e763"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Topic\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/formConstants.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77f43595ecdd9c848fe3ae363f518d47c733ca12711b140c4cf1d144fcd6c02"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Severity\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/formConstants.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8245bdc47b1a2078310b167c561ec13d81626e067c7b07294cb02395223a1674"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027IntegrationType\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/formConstants.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e86d1f6ea9c821fc0ec15c3d59dabc264331199eb6390919bcc03f8a49d591"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027FORM_SECTIONS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/formConstants.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"09973a4454b9437ea5b8af508b2b339e79e88b74560bc0b1a02270800caa6bed"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createSupportThread\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/plain/plainClient.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"93409351ac78994dd88ef6cd07dd028874c2a8f54ae167732f2bbd3237f3e796"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LanggraphMetadataSchema\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/types.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5802036cf878923d11022597973302e86ae26ea49e3889a6d9e8e0e5af98d0fe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/chart-library/PivotTable.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fa55ecab3a51de85869844647a5af7992865b970543e0940821a4adfea98f9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027scoresTableColsWithOptions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/definitions/scoresTable.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b097920285e7f548939106175cf97bc52045a9ed68aa75ce82473cedd2736c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027dateTimeAggregationOptions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/date-range-utils.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8e201edbd957521f5f1f18f958d0f59a45df4312647101b3199cd3b7c03608"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isValidDashboardDateRangeAggregationOption\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/date-range-utils.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0fe53ee27a59a4309ce67b84bfab4bd197157eb43947404f016678ac94916b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isValidTableDateRangeAggregationOption\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/date-range-utils.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8b19060ad3718b925536b3da414049e031cf984931c70c00c2f79a7fdf655d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ALLOWED_INTERVALS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/date-range-utils.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54e30a972af864bd94264bd201e826d3e159848878ffe201cac875798c17aea"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getScoreAnalyticsInterval\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/date-range-utils.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5771aa8f15b7abb77a1983392839ac50d68baabceb11927b7f327230db2b4e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027utcDateOffsetByDays\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/dates.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7174d014589c080defff2a5738f1ab36934a0fb800572b11a016acc51d6bb5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027localtimeDateOffsetByDays\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/dates.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76a70879cf3618bffb85c88d52e2c46eee61a15231f69b571de2ed04a32720c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027utcDate\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/dates.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd9d8ab255e61056354413cf1640f97cde72842e2d81aa168a3f884212d598c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027intervalInSeconds\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/dates.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2f124f8173afb6b5054881a126590ea32c5c2e8399a5b73f0d06917d90666b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027randomIntFromInterval\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/numbers.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d18203a02e9be6773ad387c062c46b5d4030cfa62a4d07050edbca9b8e7c5cb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027lastCharacters\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/string.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1debc4cf9f8d9c5551c2af0eba03303e13e430140d8d84a988e9f2472326d200"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027BlockingThreshold\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/constants.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccde5c5419d6003ba1f048de0eaedf5b9abc6d6b698179e4207177f4d5f76a1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Threshold\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/constants.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"74744f5de4b803cc3ac66aa3e2384b21a9f5022ad0644f7ef9001cd7c2f8ded4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027DataTableColumnVisibilityFilterProps\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":"langfuse/web/src/components/table/data-table-column-visibility-filter.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1507f63037b85a235bc3e2410c932147f33523701f735727ba2a61bc0e8616"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_WorkerResponse\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":"langfuse/web/src/components/ui/AdvancedJsonViewer/workers/tree-builder.worker.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c05c062248dea629f9606060e64423c606004d15c98c1d1446fdfbb60d2549"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027isAborted\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/backgroundMigrations/backfillSysIdForDatasetItems.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"585d7c06021c19d8e1afefc01304ffec19eeda7830a5263bcab12e32d76664e5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_backgroundMigrationId\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":"langfuse/worker/src/backgroundMigrations/patchLLMToolAndLLLMSchemaAuditLogs.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b072b20c53c5d55b19ab7ea1dfa693f39c3b5a53629d7b95c1d49e24da0f4c3e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027AutoErrorAnalysisModel\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":"langfuse/worker/src/services/IngestionService/index.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be834a9a8a4341dd2ff4a275f3bfae051cde5b45b28fb096cd41571d3c900b0"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@prisma/client\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdb3ee5433b87322b2158de0bbb2877d1ba4fcf1279ef9ba1a47772532f2e80"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027react-resizable\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/widgets/components/DashboardGrid.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec0ac6d11d5668eab31732db7fbe3aa1e75bf16a403619bd6217ccc52406282"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@prisma/client\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/ee/usageThresholds/thresholdProcessing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a9c9fffc26fa5d9600a18900ea82b58559d550a7669e7558d1fd4b511203f1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@release-it/bumper\u0027: Declared in langfuse/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":"langfuse/package.json"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40dd94f91adfd65b9b5151dea018ba1b0db75ea347fd194fb43fd3ab4d7c2ed"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027braces\u0027: Declared in langfuse/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":"langfuse/package.json"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"264adb40bc3deccefc9f6978fbeb4c309a44da372bdcb71c8f9f4481084275d2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@typescript/native-preview\u0027: Declared in langfuse/ee/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":"langfuse/ee/package.json"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"131869626719063229ef0ea58ab44d9711b221f0de912a4571981f0410998146"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027https-proxy-agent\u0027: Declared in langfuse/ee/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":"langfuse/ee/package.json"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cb623feb084b7734e5000a4eca804088f1458b86d2a6fe99895602a4430eb3"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tsc-watch\u0027: Declared in langfuse/ee/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":"langfuse/ee/package.json"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c0b22bcd61294507df6bc57d14965b5355a9bcf7690024841d9a90c5dad06e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@eslint/compat\u0027: Declared in langfuse/packages/config-eslint/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":"langfuse/packages/config-eslint/package.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a7e73ec988db3763deb0657c3f938d80a1fa21b0cf9fdbce394fa3dea2e8f2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@anthropic-ai/tokenizer\u0027: Declared in langfuse/packages/shared/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":"langfuse/packages/shared/package.json"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b329704713f54e7cb2d23ee9a8792b4ffa17bb898978f376a60753453d5c9a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027kysely-codegen\u0027: Declared in langfuse/packages/shared/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":"langfuse/packages/shared/package.json"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a120c8df270d4ddcb753c086402d182c3a23e3f4812928aa0dbb0ad40e5be1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027prisma-kysely\u0027: Declared in langfuse/packages/shared/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":"langfuse/packages/shared/package.json"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"48730934a387f3b737efa86a1d9e9c9d52bf321dbb209ab420b8411b8e7cd234"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tsc-watch\u0027: Declared in langfuse/packages/shared/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":"langfuse/packages/shared/package.json"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a67418127a3c497d1dc6a7f8854fd0d457ac139e38f2c715e83cdd302ebd5a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027zod-to-json-schema\u0027: Declared in langfuse/packages/shared/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":"langfuse/packages/shared/package.json"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"338ae47287c2901d0f8d55dc2a366bc92528c3a6946e3a0a2cb67e4a5046e5e2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@anthropic-ai/tokenizer\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f0b66a6c5747bf0f446bea0161b68ed63dce9c7e4b450dc05dd3f264d121dc"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@heroicons/react\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ff6a88111d59db80c9414dd0c4fe49f271c8ffc59c7642cf46b9987902d408"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@langfuse/ee\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb77c4a8463a9ed72fc42e0866499b332094606231da73548dd27a24803a9f19"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@mui/x-tree-view\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb58738943e187fecdd2705f7401e00fbdf4604c112be20de4e456848600ce80"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@opentelemetry/instrumentation\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c371faa2437efa81f49a965ed19822eed96c83d07ad8718ed3324a1e68bfd03e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@opentelemetry/sdk-trace-node\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38d9677a09d3d6cd90b8432e19ef1dbf71bac303a092a7e4b9ab5769bd87dae"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@paralleldrive/cuid2\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2518e404f66f1d604468accdafa88af641f293e254b8034478b24328a22de71a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@radix-ui/react-icons\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5234880c7358a9351c2b9140330d3db58e71fc932f654184368e27e60825230c"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@remixicon/react\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8377baf7d8915801234ffa2900fd86362e08040215a0e6f3e0f687a9ad586fef"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@typescript/native-preview\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0782b1cc16578214b40cd84bb2b27369b974f7d22002b6ca28d2bf6debc59f5"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@xyflow/react\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aad661a9e07d87d53a9e48c0b07d23b9fc77b2244735dd9abb166bade7311ae"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027graphql\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"76448adaa40f466734e7c41386e5ae2e233caea17b3c31cca19e23f337ccb32b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027https-proxy-agent\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"932e27d7fd3e4967205fc4d4f0130ad5ec75e81dcb32b9dbfaeadb99f54bac31"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027langchain\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62729e4105ecbb02a52174c2f7e6000f7cf680c43ec28b1ed056e65ec42342f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027remark-math\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5a14c3f2beb578ef5666a935eab4ee57fd9979bbab4861baa1a66c457b668e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027remark-parse\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"94537df19f37084aadae93a599ddd98363d9780449e6b2f8436497877a1ee524"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027remark-rehype\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5159f52ec0f86a1b3e260365c721d19407986ad5022662b310f7862dae3df5d"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027remark-stringify\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"590cb8460776ef92d7ff5f647724c42bd5b94913d4eb297f8160b869df1ec69e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tsconfig-paths\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8362171c47951c707d58deaa5b5f69145ff2f4143bc4acba00b42ef0a5dd03c8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027unified\u0027: Declared in langfuse/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":"langfuse/web/package.json"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb53b8ce6a740c1185be40aeebe491be96d3cdfe44a15b4e8ea3f1b3510e9b8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@aws-sdk/client-s3\u0027: Declared in langfuse/worker/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":"langfuse/worker/package.json"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a338b281f4f131c448827ca06569be4192d7bd6ceec8e41dda9f560cce7aa7d6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@opentelemetry/instrumentation\u0027: Declared in langfuse/worker/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":"langfuse/worker/package.json"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f039f4a49a594f3656abb23ecdfd7dc239b606a804aebf45f8b7754e515c68f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@typescript/native-preview\u0027: Declared in langfuse/worker/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":"langfuse/worker/package.json"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b530cc8af0b71c463ea8fa5224b590c8b774244f69b1a76c111348216ca2ee10"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027backoff\u0027: Declared in langfuse/worker/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":"langfuse/worker/package.json"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"031a807e2e6d0da624353145527d9472d32cd6a31f13d3feddd1b1155d5d3e93"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027kysely-codegen\u0027: Declared in langfuse/worker/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":"langfuse/worker/package.json"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6991caeb58ceedb639247483e1df109fbcd39c9a3ae7f6522ed0e3db8f8b49"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tsc-watch\u0027: Declared in langfuse/worker/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":"langfuse/worker/package.json"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c62580c34a197a656a6c86e3e08b175d091dda16554984b5170de17d4c78bb"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): langfuse/packages/shared/src/db.ts \u2192 langfuse/packages/shared/src/index.ts \u2192 langfuse/packages/shared/src/domain/dataset-items.ts \u2192 langfuse/packages/shared/src/db.ts (one verified cycle inside a mutually-dependent group of 142 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/db.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b18c6bd4f849109237b52e9d2b7a5b378bfe170844baafc150bc4b3c93a76e"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): langfuse/packages/shared/src/server/instrumentation/index.ts \u2192 langfuse/packages/shared/src/server/logger.ts \u2192 langfuse/packages/shared/src/server/instrumentation/index.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/instrumentation/index.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d94f2e485dc066da3499a48eb2a69d992af03746542213bdd1b1008982e6d4"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (4 files): langfuse/web/src/utils/api.ts \u2192 langfuse/web/src/server/api/root.ts \u2192 langfuse/web/src/features/dashboard/server/dashboard-router.ts \u2192 langfuse/web/src/features/dashboard/lib/score-analytics-utils.ts \u2192 langfuse/web/src/utils/api.ts (one verified cycle inside a mutually-dependent group of 134 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/api.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82c6fc861ebede26c10e2d643681a818f374b0332aa8d70028baf08bde13826"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): langfuse/web/src/components/session/TraceRow.tsx \u2192 langfuse/web/src/components/session/index.tsx \u2192 langfuse/web/src/components/session/TraceRow.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/session/TraceRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caf18669b7ecf1e05ecd4593d340bcf3544c3ac5dd18fd89802c989e386908f"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (5 files): langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/CreateEvaluatorDialog.tsx \u2192 langfuse/web/src/features/evals/components/evaluator-form.tsx \u2192 langfuse/web/src/features/evals/components/inner-evaluator-form.tsx \u2192 langfuse/web/src/features/events/components/EventsTable.tsx \u2192 langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/index.tsx \u2192 langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/CreateEvaluatorDialog.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/CreateEvaluatorDialog.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"80648270f9b1bf1cac0f2765a8eec76c14e1708514f4b5cb3bc2c8adfc60dab2"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx \u2192 langfuse/web/src/features/datasets/components/DatasetRunAggregateColumnHelpers.tsx \u2192 langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx (one verified cycle inside a mutually-dependent group of 3 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetCompareRunsTable.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1774d4d4f67383a385797f34b829fda5b616fc42033c4f64f11ce4747818c3f5"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): langfuse/web/src/features/events/server/eventsRouter.ts \u2192 langfuse/web/src/features/events/server/eventsService.ts \u2192 langfuse/web/src/features/events/server/eventsRouter.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be0c69b5ec2a0b7e9d50da5020f9073977f6bf42874ab7e0dd907ab131712f6"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): langfuse/web/src/features/scores/schema.ts \u2192 langfuse/web/src/features/scores/types.ts \u2192 langfuse/web/src/features/scores/schema.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/scores/schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"172429059c1d1f9051f5c4a951c51d367bf4115b103a570cb393605c02946cb3"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): langfuse/web/src/server/api/routers/generations/db/getAllGenerationsSqlQuery.ts \u2192 langfuse/web/src/server/api/routers/generations/getAllQueries.ts \u2192 langfuse/web/src/server/api/routers/generations/db/getAllGenerationsSqlQuery.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/server/api/routers/generations/db/getAllGenerationsSqlQuery.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a98d5ec6e2946946555c1b03972fb9555b6b21a98841fa6894c9bd0317e4082"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): langfuse/web/src/utils/date-range-utils.ts \u2192 langfuse/web/src/utils/fill-time-series-gaps.ts \u2192 langfuse/web/src/utils/date-range-utils.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/date-range-utils.ts"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"64df4c53b3c6c64e306eb06e06db15f94ce850dcdd0e412632d0fce739cc8e76"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): langfuse/worker/src/app.ts \u2192 langfuse/worker/src/utils/shutdown.ts \u2192 langfuse/worker/src/app.ts (one verified cycle inside a mutually-dependent group of 3 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/app.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"684d90d788549efd19db211c577db3db8aa768511b12e1fc7946d445e9aef266"}},{"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 (\u0060createHash(\u0022sha256\u0022)\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":"langfuse/worker/src/features/batch-data-retention-cleaner/index.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b90f23847e64c4ef614f7b79723ed017135198e815a26b52cb058d314a65eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!clearTypeFilter \u0026\u0026 normalizedForcedLevels.length === 0 \u0026\u0026 !replaceLevelWithErrorType \u0026\u0026 !replaceLevelWithPolicyType\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4cef69fe86b66fe7a1173746822520fa6ca4764e47b30a94f255af3c38ffc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!columnKey || !omittedColumnSet.has(columnKey)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"f309a5cd9ff4bb79ac0bfb7f2ddea919866a8ebb9bd5c67cd7ee8402f836234d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!env.CLICKHOUSE_URL || !env.CLICKHOUSE_USER || !env.CLICKHOUSE_PASSWORD\u0060 appears character-identically in 8 files \u2014 langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts, langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.ts, langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts, langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouse.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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"000baf170928955c420a60a9a775c53542c45246eb932de8853d08a60bb1ba51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!env.EMAIL_FROM_ADDRESS || !env.SMTP_CONNECTION_URL\u0060 appears character-identically in 6 files \u2014 langfuse/packages/shared/src/server/services/email/batchExportSuccess/sendBatchExportSuccessEmail.ts, langfuse/packages/shared/src/server/services/email/cloudSpendAlert/sendCloudSpendAlertEmail.ts, langfuse/packages/shared/src/server/services/email/commentMention/sendCommentMentionEmail.ts, langfuse/packages/shared/src/server/services/email/organizationInvitation/sendMembershipInvitationEmail.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":"langfuse/packages/shared/src/server/services/email/batchExportSuccess/sendBatchExportSuccessEmail.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fc320c06339ea50d5a2338530a405284dc4dd6b6b12102c9dcd56846b93af6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isLoading \u0026\u0026 selectedModels.length \u003E 0 \u0026\u0026 allModels.length \u003E 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/dashboard/components/LatencyChart.tsx, langfuse/web/src/features/dashboard/components/ModelUsageChart.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":"langfuse/web/src/features/dashboard/components/LatencyChart.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"66597a35a8b12d8047c891cf48ff26907a3bf7d03e99b00a71ac35a1a84b525c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!metadata || typeof metadata !== \u0022object\u0022 || Array.isArray(metadata)\u0060 appears character-identically in 4 files \u2014 langfuse/web/src/features/dashboard/server/dashboard-router.ts, langfuse/web/src/features/experience-summary/server/router.ts, langfuse/web/src/features/projects/server/projectsRouter.ts, langfuse/worker/src/services/IngestionService/index.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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa91a3ecb767a603a8b3e92ee38db900c26160449631e56e7b3e2b574a282322"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!node.isExpanded || node.children.length === 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/ui/AdvancedJsonViewer/utils/multiSectionTree.ts, langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.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":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/multiSectionTree.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"172534d725fe0416bb9c6944f623cdbb1757637a60b8ae40b16989686443c27b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!searchQuery || searchQuery.trim() === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useMultiSectionTreeState.ts, langfuse/web/src/features/datasets/server/dataset-router.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":"langfuse/web/src/components/ui/AdvancedJsonViewer/hooks/useMultiSectionTreeState.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"834d0f00e7d5169b1b60291c7ad96d8533cca80ce128a436156cb993f5d51467"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.isAborted \u0026\u0026 !this.isFinished \u0026\u0026 processedRows \u003C maxRowsToProcess\u0060 appears character-identically in 4 files \u2014 langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts, langfuse/worker/src/backgroundMigrations/migrateEventLogToBlobStorageRefTable.ts, langfuse/worker/src/backgroundMigrations/migrateScoresFromPostgresToClickhouse.ts, langfuse/worker/src/backgroundMigrations/migrateTracesFromPostgresToClickhouse.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":"langfuse/worker/src/backgroundMigrations/migrateDatasetRunItemsFromPostgresToClickhouseRmt.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5800aa36ddfe742b796d5f332d1b95733ca59eabf63022b552160e9c43aca888"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || (value !== \u0022ERROR\u0022 \u0026\u0026 value !== \u0022WARNING\u0022)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d455951381e875c2929d7f96386e70d4d5a171e39c2a660dc03ddc0d1a2bcad4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || isUnclassifiedErrorTypeValue(value)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1348b26416c24014b67f61687cc5c9636be9a7bceb9c33c93d260be09895663"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022attributes\u0022 in meta \u0026\u0026 typeof meta.attributes === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts, langfuse/packages/shared/src/utils/chatml/adapters/langgraph.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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"449885e67cf7bbcb22c35f0bfa61c5d281e3da8d63e23aaaecffbbc703bb90fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022message\u0022 in error \u0026\u0026 typeof error.message === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/evals/components/inner-evaluator-form.tsx, langfuse/web/src/features/evals/components/template-form.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":"langfuse/web/src/features/evals/components/inner-evaluator-form.tsx"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac43e569d84d2709b242f204e9907f0e0bfe9288de4c4d431cc98fe53738f60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022projectId\u0022 in query \u0026\u0026 !showAllOrgMembers\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/rbac/server/allInvitesRoutes.ts, langfuse/web/src/features/rbac/server/allMembersRoutes.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":"langfuse/web/src/features/rbac/server/allInvitesRoutes.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dde39e42334e39494a813289d54ffdf0d08b60a869dc256674fb5d7c6312760"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022scope\u0022 in meta \u0026\u0026 typeof meta.scope === \u0022object\u0022\u0060 appears character-identically in 3 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts, langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts, langfuse/packages/shared/src/utils/chatml/adapters/openai.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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3457838027b692db5f0108ece4eebd4377af29c5f60d70f22f46739792cebf3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022type\u0022 in message \u0026\u0026 message.type === ChatMessageType.Placeholder\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/llm/compileChatMessages.ts, langfuse/web/src/features/prompts/components/NewPromptForm/PromptChatMessages.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":"langfuse/packages/shared/src/server/llm/compileChatMessages.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c158e3433242062a1a02f7069309312d55df570703e60df98cacddacb0dece"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(e.metaKey || e.ctrlKey) \u0026\u0026 e.key === \u0022Enter\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx, langfuse/web/src/features/projects/components/NewProjectForm.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":"langfuse/web/src/features/organizations/components/NewOrganizationForm.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f1ece8ac5891fbb43c5c42807d0d891eb7098574c6a86f9c8b7471d47db566"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(error as Error).message?.toLowerCase() || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/repositories/clickhouse.ts, langfuse/worker/src/services/ClickhouseWriter/index.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":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b204502b0e47e3e037b049dfbf28142bb4e01aad41e5add215d6176167ee3ae1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(f.column === \u0022Start Time\u0022 || f.column === \u0022startTime\u0022) \u0026\u0026 f.type === \u0022datetime\u0022\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/components/session/index.tsx, langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/hooks/useEventsFilterOptions.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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f9b0ba4fc13966edaae35740267641dfb6e990a71e678372e611b2ccdd36cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(row.level === \u0022ERROR\u0022 || row.level === \u0022WARNING\u0022) \u0026\u0026 !!row.traceId\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"de192879b332d91aad1f4c2995ba2113d82e186698fa0a25eb492c6de5f8e7e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(valueType === \u0022object\u0022 \u0026\u0026 Object.keys(value as Record\u003Cstring, unknown\u003E).length \u003E 0) || (valueType === \u0022array\u0022 \u0026\u0026 Array.isArray(value) \u0026\u0026 va\u2026\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/utils/jsonExpansionUtils.ts, langfuse/web/src/components/ui/PrettyJsonView.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":"langfuse/web/src/components/table/utils/jsonExpansionUtils.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"262afb7e659de3343cc116c642624ac57026d1dfc0dc49242c4bcd6c50d9ab4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeTab === \u0022score1\u0022 || activeTab === \u0022score2\u0022\u0060 appears character-identically in 4 files \u2014 langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx, langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx, langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx, langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.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":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"313aa7fc38182db1526b2ad7c09d61ed0aab894a0d6d6840628adc12467e997d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeTurnIndex \u003C sessionTurns.length \u0026\u0026 obs.startTime.getTime() \u003E= sessionTurnEndBounds[activeTurnIndex]!\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/lib/observationIoSource.ts, langfuse/web/src/components/trace2/lib/tree-building.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":"langfuse/web/src/components/trace2/lib/observationIoSource.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1308400f4490087e4c2f3a848ec00af5a89dc4d6f779625d99a6a760721798"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aiPrompt.trim() \u0026\u0026 !createFilterMutation.isPending \u0026\u0026 projectId\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/data-table-ai-filters.tsx, langfuse/web/src/features/filters/components/filter-builder.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":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae2ecd96aaf797181c2afdc060d20e2b0310f5ca329a93c84aa302d5386c4f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attrs \u0026\u0026 typeof attrs[\u0022operation.name\u0022] === \u0022string\u0022 \u0026\u0026 attrs[\u0022operation.name\u0022].startsWith(\u0022ai.\u0022)\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts, langfuse/packages/shared/src/utils/chatml/adapters/langgraph.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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f8a592fc1bd833316346db493258251eb0d9c4a894f2ca50ddfebdf12c9dc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authCheck.scope.accessLevel !== \u0022organization\u0022 || !authCheck.scope.orgId\u0060 appears character-identically in 15 files \u2014 langfuse/web/src/pages/api/public/integrations/blob-storage/[id].ts, langfuse/web/src/pages/api/public/integrations/blob-storage/index.ts, langfuse/web/src/pages/api/public/organizations/apiKeys/index.ts, langfuse/web/src/pages/api/public/organizations/memberships/index.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":"langfuse/web/src/pages/api/public/integrations/blob-storage/[id].ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb44842a51131d8ee53320946d0c955e02588925d5004bcaa71872ccab186ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authCheck.scope.accessLevel !== \u0022project\u0022 || !authCheck.scope.projectId\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/pages/api/public/mcp/index.ts, langfuse/web/src/pages/api/public/projects/index.ts, langfuse/web/src/pages/api/public/prompts.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":"langfuse/web/src/pages/api/public/mcp/index.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"78818021660d883e5fb89006c68a31e0f23d4a94a9425dda79385a62ebbd6a3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.id === filter.column || c.name === filter.column\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/filters/components/filter-builder.tsx, langfuse/web/src/features/filters/lib/filter-transform.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":"langfuse/web/src/features/filters/components/filter-builder.tsx"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb362edb66c5256266d8ff8bfea66e54f9f58145612f1f129679bc102968cd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.uiTableName === orderBy?.column || c.uiTableId === orderBy?.column\u0060 appears character-identically in 3 files \u2014 langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts, langfuse/packages/shared/src/server/services/sessions-ui-table-service.ts, langfuse/packages/shared/src/server/services/traces-ui-table-service.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":"langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd13c6774274b2133b55e9a289478f73027d2fd7cb79684ba5378c2339823a13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chartData.length === 0 || categories.length === 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesBooleanChart.tsx, langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesCategoricalChart.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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesBooleanChart.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10e3fd1d55b554fdce6a8d35beb7efcdab0ab0925681243e48eb14b33aacd20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060col.uiTableId === column || col.uiTableName === column || col.clickhouseSelect === column\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/tableMappings/mapDatasetRunItemsTable.ts, langfuse/worker/src/features/evaluation/traceFilterUtils.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":"langfuse/packages/shared/src/server/tableMappings/mapDatasetRunItemsTable.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c052e6721c5bdb4e6dbe803d879ecde5f7c9d34b39455b2ae03576764ba3716"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060col.uiTableName === f.column || col.uiTableId === f.column\u0060 appears character-identically in 3 files \u2014 langfuse/worker/src/features/database-read-stream/event-stream.ts, langfuse/worker/src/features/database-read-stream/observation-stream.ts, langfuse/worker/src/features/database-read-stream/trace-stream.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":"langfuse/worker/src/features/database-read-stream/event-stream.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"762c800a917ad5753b61f61443020d04a804fd3f40784a38e6b86a2fcb3269e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060colors[category] || Object.values(colors)[0]\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesBooleanChart.tsx, langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesCategoricalChart.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":"langfuse/web/src/features/score-analytics/components/charts/ScoreTimeSeriesBooleanChart.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d630eaa2c1491f531e0e7ed7392bb797932eb22367d08feccbbc44b19a155101"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060column.align === \u0022right\u0022 \u0026\u0026 \u0022text-right\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableViewHeader.tsx, langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableViewRow.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":"langfuse/web/src/components/trace2/components/_shared/JSONTableView/JSONTableViewHeader.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"509813716133b6357c4d308dd4c38843b11f9767c49399e0568e05de86b9d2d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content === null || content === undefined\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/helpers.ts, langfuse/web/src/utils/chatml/playgroundConverter.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":"langfuse/packages/shared/src/utils/chatml/helpers.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e4e85e87232d67cd4c1433516622a67389bd1cbb0dd42b7f3f99e679da7e25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060createFilterMutation.isPending || !aiPrompt.trim()\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/data-table-ai-filters.tsx, langfuse/web/src/features/filters/components/filter-builder.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":"langfuse/web/src/components/table/data-table-ai-filters.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e5b9be1b224c2ea785577d06b6b6d80f50ae07aab8698fc0a1630871deac9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.type === \u0022CATEGORICAL\u0022 \u0026\u0026 baseline.type === \u0022CATEGORICAL\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/datasets/lib/calculateBaselineDiff.ts, langfuse/web/src/features/datasets/lib/calculateScoreDiff.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":"langfuse/web/src/features/datasets/lib/calculateBaselineDiff.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1adaadb3b018da3a4f7ec5bf0e027c9b643209d457bd2ed2c8097b6c1e787ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.type === \u0022NUMERIC\u0022 \u0026\u0026 baseline.type === \u0022NUMERIC\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/datasets/lib/calculateBaselineDiff.ts, langfuse/web/src/features/datasets/lib/calculateScoreDiff.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":"langfuse/web/src/features/datasets/lib/calculateBaselineDiff.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"923cda3f33aac66dd5bcee3528fde76d8c1b54ee54a3b42b31e32b95bfe786a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentView === \u0022json-beta\u0022 \u0026\u0026 isJSONBetaVirtualized\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx, langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e13ba50442ba1f6f9c098c30009e853d81c2e893ec3747ee985cb339cd35adf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.step != null \u0026\u0026 data.node != null \u0026\u0026 data.node.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/events/server/eventsRouter.ts, langfuse/web/src/server/api/routers/traces.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":"langfuse/web/src/features/events/server/eventsRouter.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e4c01a19a08446c4b703722abca9a33592f7ecb37ef783a93630182c5bfb26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060date.getHours() === 0 \u0026\u0026 date.getMinutes() === 0 \u0026\u0026 date.getSeconds() === 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/ui/time-icon.tsx, langfuse/web/src/utils/date-range-utils.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/time-icon.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"77686e57b0cc7ae094df56e8b2cdde4ec3e86c508b0ce9f011fe273c1e19c10d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060domain \u0026\u0026 blockedDomains.includes(domain)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts, langfuse/web/src/server/auth.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":"langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"267b35f5351138d027449fde8a8dca4859ae1319c954e201cd4a2de375df2923"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.LANGFUSE_NEW_USER_SIGNUP_WEBHOOK \u0026\u0026 env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION \u0026\u0026 env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION !== \u0022STAGING\u0022 \u0026\u0026 env.\u2026\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts, langfuse/web/src/server/auth.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":"langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6095b17d4ce265df513ccc98683be7bfa3904fcdcdda710227d651c9b073d8bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.NEXT_PUBLIC_POSTHOG_KEY \u0026\u0026 env.NEXT_PUBLIC_POSTHOG_HOST\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/layouts/app-layout/index.tsx, langfuse/web/src/pages/_app.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":"langfuse/web/src/components/layouts/app-layout/index.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc197a3c7d80859f82593115c5ebbc62bf235014b60c473d6ec13aeb4987a93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.NEXT_PUBLIC_SIGN_UP_DISABLED === \u0022true\u0022 || env.AUTH_DISABLE_SIGNUP === \u0022true\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts, langfuse/web/src/server/auth.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":"langfuse/web/src/features/auth-credentials/server/signupApiHandler.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea709c108499295dd4fd02d24e31a0324f7b93edaef52112faa207dd34095b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.REDIS_CLUSTER_ENABLED === \u0022true\u0022 \u0026\u0026 shardingKey\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/redis/ingestionQueue.ts, langfuse/packages/shared/src/server/redis/traceUpsert.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":"langfuse/packages/shared/src/server/redis/ingestionQueue.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"708863a0ce26f4fd69946263c62d9451da901f9436db1e136b821d82a700a516"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err?.name === \u0022AbortError\u0022 || err?.message?.includes(\u0022aborted\u0022)\u0060 appears character-identically in 2 files \u2014 langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts, langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16ccf56c9c65e609d76f4978d8b7e5319099925ad739571ae2ed7ea089409fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 error.name === \u0022AbortError\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/ee/ingestionMasking/applyIngestionMasking.ts, langfuse/worker/src/queues/webhooks.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":"langfuse/packages/shared/src/server/ee/ingestionMasking/applyIngestionMasking.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c610115610936e160dfa61453cf09b371a7aea44c5e2875b478d8b0db84b205"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Prisma.PrismaClientKnownRequestError \u0026\u0026 error.code === \u0022P2002\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/rbac/server/membersRouter.ts, langfuse/web/src/server/api/routers/tableViewPresets.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":"langfuse/web/src/features/rbac/server/membersRouter.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d18c4796ace592e6b6147840142fb737feeea1286e77c1dab73a26fc84be899"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Prisma.PrismaClientKnownRequestError \u0026\u0026 error.code === \u0022P2025\u0022\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts, langfuse/web/src/features/datasets/server/dataset-router.ts, langfuse/web/src/server/api/routers/sessions.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":"langfuse/web/src/features/annotation-queues/server/annotationQueueItemsRouter.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1ceb3ba9057a5445de27d4be9b37a5a54dd238afeb50080129883b4c4296bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.data?.code === \u0022UNAUTHORIZED\u0022 || error.data?.code === \u0022NOT_FOUND\u0022\u0060 appears character-identically in 4 files \u2014 langfuse/web/src/components/session/index.tsx, langfuse/web/src/components/trace2/TracePage.tsx, langfuse/web/src/components/trace2/api/useTraceData.ts, langfuse/web/src/features/annotation-queues/components/shared/hooks/useAnnotationObjectData.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":"langfuse/web/src/components/session/index.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a4c2121c885064cf684b3203c3f8331f500ba77b7674c6956c2d78b92222b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errorType == null \u0026\u0026 target.level === \u0022WARNING\u0022 \u0026\u0026 isSessionOutputTurnObservationName(target.name)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"7179ae902f15eec306aac875dc4398899e3acd748ce035e3826a51a6cde8ae2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event \u0026\u0026 (event.metaKey || event.ctrlKey)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"2102b29ddc177d1c1a71f5c74c1bbe79009acac8e62fef72b4647b826d16d949"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement || (event.target instanceof HTMLElement \u0026\u0026 event.tar\u2026\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/comments/CommentList.tsx, langfuse/web/src/features/navigate-detail-pages/DetailPageNav.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":"langfuse/web/src/features/comments/CommentList.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10af4610e463693db13cfd12dd9ab1a95036ca3118e8f6f09a6583db202da6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060externalFilterState || combinedFilterState\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/components/table/use-cases/traces.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"1505fc5292d3eab28623331039210bdf3f06c0225a44261294d5e6e1d1b75603"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.clickhouseTable === \u0022traces\u0022 \u0026\u0026 f.field.includes(\u0022timestamp\u0022) \u0026\u0026 (f.operator === \u0022\u003E=\u0022 || f.operator === \u0022\u003E\u0022)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/public-api/server/dailyMetrics.ts, langfuse/web/src/features/public-api/server/traces.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":"langfuse/web/src/features/public-api/server/dailyMetrics.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17bfdfb4d4b843bfeac24eb05911146d1967e12975d5734b4c2bf3f55b762ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.field === \u0022min_timestamp\u0022 \u0026\u0026 (f.operator === \u0022\u003E=\u0022 || f.operator === \u0022\u003E\u0022)\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts, langfuse/packages/shared/src/server/services/sessions-ui-table-service.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":"langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfbafd8f2f473b10c0a88f69a43d64501ddbe9b1035be3ed5c767550e1fabed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.field === \u0022s.scores_avg\u0022 || f.field === \u0022s.score_categories\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/repositories/events.ts, langfuse/web/src/features/public-api/server/traces.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":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"400855d76a717b8f8fe77ad9adf745e85df59e972bdcea169ee1a3ce7590d162"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.field === \u0022timestamp\u0022 \u0026\u0026 (f.operator === \u0022\u003E=\u0022 || f.operator === \u0022\u003E\u0022)\u0060 appears character-identically in 3 files \u2014 langfuse/packages/shared/src/server/repositories/dashboards.ts, langfuse/packages/shared/src/server/repositories/traces.ts, langfuse/packages/shared/src/server/services/traces-ui-table-service.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":"langfuse/packages/shared/src/server/repositories/dashboards.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"585defc08497808f2226385ec85d3c09f036121ac0b79b2d00da4f04d60a17ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.type === \u0022numberObject\u0022 || f.type === \u0022stringObject\u0022 || f.type === \u0022categoryOptions\u0022 || f.type === \u0022positionInTrace\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/filters/hooks/useFilterState.ts, langfuse/web/src/features/filters/lib/filter-query-encoding.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":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c58b93efc077e89ce33ddde18aeddc69f8b6a46115c9202064729c4cac39097"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.type === \u0022stringObject\u0022 \u0026\u0026 f.column === \u0022metadata\u0022 \u0026\u0026 f.key === \u0022policy_names\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4df9140d24d03f941bfabd139e056204815cd9f56c66a68a476c2a2a2693d4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.type === \u0022stringOptions\u0022 || f.type === \u0022arrayOptions\u0022 || f.type === \u0022categoryOptions\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/filters/hooks/useFilterState.ts, langfuse/web/src/features/filters/lib/filter-query-encoding.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":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd873e2f675beb72ad61e3694d5cdce1ad801e9ebcdf267918c6ccee08f9d16a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.value === undefined || f.value === null\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/filters/hooks/useFilterState.ts, langfuse/web/src/features/filters/lib/filter-query-encoding.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":"langfuse/web/src/features/filters/hooks/useFilterState.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4952ae1a34aea609413afb49a7dc3c462f8f4d8d409ac2b4cd547b8654b32c1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter.column === \u0022Start Time\u0022 \u0026\u0026 filter.type === \u0022datetime\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts, langfuse/worker/src/features/database-read-stream/observation-stream.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":"langfuse/worker/src/features/database-read-stream/getDatabaseReadStream.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a834ed81a98041a832c37d1ab06072df673d9929a2a0a6614f0528132e384a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter.type === \u0022string\u0022 || filter.type === \u0022stringObject\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/filterToPrisma.ts, langfuse/web/src/features/filters/components/filter-builder.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":"langfuse/packages/shared/src/server/filterToPrisma.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a446274a189b9b7be636d1b0ece5017947b6a780949a34c5805e2f9966af2c37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter.type === \u0022stringObject\u0022 || filter.type === \u0022numberObject\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/filterToPrisma.ts, langfuse/web/src/features/filters/components/filter-builder.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":"langfuse/packages/shared/src/server/filterToPrisma.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e5a4d720af5d74f523b53d425e35e6b56baf77f800f7c3834e47e07d0a2721"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filterOptions.isPending || environmentFilterOptions.isPending\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/components/table/use-cases/scores.tsx, langfuse/web/src/components/table/use-cases/sessions.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cf473a03a13bc725e7b28cc0bd3d61a23229b02b90003a673250b01a500489"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filteredTemplates.langfuse.length \u003E 0 || filteredTemplates.custom.length \u003E 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/evals/components/evaluator-selector.tsx, langfuse/web/src/features/evals/components/template-selector.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":"langfuse/web/src/features/evals/components/evaluator-selector.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94baded91197aad84d0422243ee36006f19613ed949ed8411a920d00cc934e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060finalInputSchema !== null || finalExpectedOutputSchema !== null\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/datasets/server/actions/createDataset.ts, langfuse/web/src/features/datasets/server/dataset-router.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":"langfuse/web/src/features/datasets/server/actions/createDataset.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"324a879fd5378cc7c3c22ea9bbd12bc444427a0513db9c28a62704074f78e084"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060form.getValues().name === \u0022\u0022 || !hasAccess\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/organizations/components/RenameOrganization.tsx, langfuse/web/src/features/projects/components/RenameProject.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":"langfuse/web/src/features/organizations/components/RenameOrganization.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"861efb141e8657b63380f66f6f03c5d10b65b6e1c4f0c4182cf443d88500b3ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060func.description !== null \u0026\u0026 func.description !== undefined\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts, langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0143a9c0653f20d86b0bb7c00785376ecbd6f5dda422dc2210095a3a536cb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060func.parameters !== null \u0026\u0026 func.parameters !== undefined\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts, langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d2491519a996788da9c07f9c5cc3adeeef9ac79d4e3a8fa5ef040010dc6def"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasGraphableObservations || hasLangGraphData\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/api/useAgentGraphData.ts, langfuse/web/src/components/trace2/contexts/TraceGraphDataContext.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":"langfuse/web/src/components/trace2/api/useAgentGraphData.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0476bfab76143f003a46e8f57c196fa4829d7bc7723513bd6ca3f8d6c3da754c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasSeenUnclassifiedPolicyRef.current || selectedPolicyType === UNCLASSIFIED_POLICY_TYPE\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9345a5b1d4f729586543147c532e51a7788c64bc479304a3e48c9be61f3c1aa2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060highlightedDimension !== null \u0026\u0026 !isHighlighted\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/widgets/chart-library/AreaChartTimeSeries.tsx, langfuse/web/src/features/widgets/chart-library/LineChartTimeSeries.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":"langfuse/web/src/features/widgets/chart-library/AreaChartTimeSeries.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9660916af6e0ede272bcfa29d5214b658bbf82459186eceb762a4ca3e65022"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060highlightedDimension !== null \u0026\u0026 highlightedDimension !== dimension\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/widgets/chart-library/AreaChartTimeSeries.tsx, langfuse/web/src/features/widgets/chart-library/LineChartTimeSeries.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":"langfuse/web/src/features/widgets/chart-library/AreaChartTimeSeries.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9545ab4391720b16560b7959c9d0d01199f092bb98d48fe8eff7c689356c6064"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060highlightedDimension === null || highlightedDimension === dimension\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/widgets/chart-library/AreaChartTimeSeries.tsx, langfuse/web/src/features/widgets/chart-library/LineChartTimeSeries.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":"langfuse/web/src/features/widgets/chart-library/AreaChartTimeSeries.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2772acdc064795031b602753dcaf0df4b31fa3830729f77875125d641ddf667"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.limit !== undefined \u0026\u0026 input.page !== undefined\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/prompts/server/routers/promptRouter.ts, langfuse/web/src/server/api/routers/scoreConfigs.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":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4e0e0b1d700a8644b6e51a0ac6d07df99c2fc16169f34f8fbc39e8264e5164"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isErrorTypeLoading \u0026\u0026 errorType === undefined\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"07de788c1db8423f12d0bcf8b236619d3d69900d8540d4015ba92cc86826feb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLLMCompletionError(e) \u0026\u0026 e.isRetryable\u0060 appears character-identically in 2 files \u2014 langfuse/worker/src/queues/evalQueue.ts, langfuse/worker/src/queues/experimentQueue.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":"langfuse/worker/src/queues/evalQueue.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aafd945adc395c4b6ee799c052a5aa5a0d3ee97d2393daf20b8a3310523103e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLLMCompletionError(e) || isUnrecoverableError(e)\u0060 appears character-identically in 2 files \u2014 langfuse/worker/src/queues/evalQueue.ts, langfuse/worker/src/queues/experimentQueue.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":"langfuse/worker/src/queues/evalQueue.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca31c03c7c0a060c6d4d219d3a278cf8cc77f53fffdeeb96eac6b0a454547910"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isString(active.id) \u0026\u0026 isString(over.id)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/ChatMessages/index.tsx, langfuse/web/src/components/table/data-table-column-visibility-filter.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":"langfuse/web/src/components/ChatMessages/index.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1df4bf2c6d9b595c8fe4fbd90e974020bae277ebf8e4ed827305ec99471cdf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key === \u0022__unmatched__\u0022 || key === \u00220\u0022 || key === \u0022\u0022 || key === \u0022null\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx, langfuse/web/src/features/score-analytics/components/charts/ScoreDistributionCategoricalChart.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":"langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab68fd38e1da3959709307b128165f6040465fa00b608e3b022a785196d5db5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.uploadHttpStatus === 200 || media.uploadHttpStatus === 201\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/pages/api/public/media/[mediaId].ts, langfuse/web/src/server/api/routers/media.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":"langfuse/web/src/pages/api/public/media/[mediaId].ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4e687f022c1b3efe09edb5d55b3c8378481fe15a895fb50126ecc5dca1202a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.json?.tool_calls \u0026\u0026 Array.isArray(message.json?.tool_calls)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.ts, langfuse/web/src/components/trace2/components/IOPreview/hooks/useChatMLParser.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":"langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"974ca639679b742489b139594d3b5978cda873932d04a6224c25cd91fb4fdae6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.role === ChatMessageRole.System || message.role === ChatMessageRole.Developer\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts, langfuse/web/src/features/i18n/server.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59fb39363421ff16d67e6321699cb94b3156bedbed6fd52ee441cf1ca70ea33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.tool_calls \u0026\u0026 Array.isArray(message.tool_calls)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.ts, langfuse/web/src/components/trace2/components/IOPreview/hooks/useChatMLParser.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":"langfuse/web/src/components/trace2/components/IOPreview/components/chat-message-utils.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"03580952ae215d72c6faed4167240855269d0fcc35f65342079753fadf6c1fa2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060meta \u0026\u0026 typeof meta === \u0022object\u0022 \u0026\u0026 \u0022attributes\u0022 in meta\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts, langfuse/packages/shared/src/utils/chatml/adapters/openai.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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6cdf74e6a1fdb2bea3bd67224ef4044453b4fb35d0cff294ce9fe790a4751a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata !== undefined \u0026\u0026 typeof metadata !== \u0022object\u0022\u0060 appears character-identically in 4 files \u2014 langfuse/web/src/ee/features/admin-api/server/organizations/index.ts, langfuse/web/src/ee/features/admin-api/server/organizations/organizationById.ts, langfuse/web/src/ee/features/admin-api/server/projects/createProject.ts, langfuse/web/src/ee/features/admin-api/server/projects/projectById/index.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":"langfuse/web/src/ee/features/admin-api/server/organizations/index.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdadd58588f55418d111a2d801bd337382ce56ed9e2f8884ea0cb3c4dfc55934"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata \u0026\u0026 Object.keys(metadata).length \u003E 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/scores-table-cell.tsx, langfuse/web/src/features/scores/components/ScoreRow.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":"langfuse/web/src/components/scores-table-cell.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdb6a4f5685732a095e4028f122bad9a8d9388388a7d1b287ffc8c98589e05f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata \u0026\u0026 typeof metadata === \u0022object\u0022 \u0026\u0026 !Array.isArray(metadata)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgesSimple.tsx, langfuse/web/src/features/governance/utils/policyMetadata.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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgesSimple.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbda19650f44518b316757b0169a1ac7ca00f7ae6b7acd6e5edaa6dc3f3bfdf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode === \u0022nthFromStart\u0022 || mode === \u0022nthFromEnd\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/data-table-controls.tsx, langfuse/web/src/features/filters/hooks/useSidebarFilterState.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":"langfuse/web/src/components/table/data-table-controls.tsx"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc77fad45c348997b2986267f25365dd63fdef2d3af74353e2dead50ff1aa7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelParams.provider.value \u0026\u0026 modelParams.model.value\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx, langfuse/web/src/features/playground/page/context/index.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":"langfuse/web/src/features/experiments/components/MultiStepExperimentForm.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ee36eafe68dbd869eb2c58b349e06b91175bf6a9f00aab59fe4a1dad339208"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.backgroundColor || theme.background\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx, langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e37c2f705fc68bc67865a6db9f38514307d84c0f3f1a0cabf8a2c4c335880"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nodeName === LANGFUSE_START_NODE_NAME || nodeName === LANGFUSE_END_NODE_NAME || nodeName === LANGGRAPH_START_NODE_NAME || nodeName === LANGG\u2026\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts, langfuse/web/src/features/trace-graph-view/components/TraceGraphView.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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48c9a57f77273ca8016049580f3a7932d79d5377d3aee7017f19b3abbb9ea91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022false\u0022 || normalized === \u00220\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts, langfuse/web/src/features/trace-graph-view/types.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"6675ffa3363d82ec0b3502259388534ccaf55a4fd3b70c70acbad3ed0d9cf6e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022true\u0022 || normalized === \u00221\u0022\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/features/governance/utils/policyMetadata.ts, langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts, langfuse/web/src/features/trace-graph-view/types.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance/utils/policyMetadata.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4accb8606f524afb0d4bac2af28bbfd459dca338c32a9c2eab5a34f9498a90f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === UNCLASSIFIED_ERROR_TYPE_FILTER_VALUE.toLowerCase() || normalized === UNCLASSIFIED_ERROR_TYPE_FILTER_LABEL.toLowerCase() || no\u2026\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4498f8b1ae76fb56299cffd5ee5eeb9b2af508c84bd1f5cae8dd217c37ae9032"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.content \u0026\u0026 Array.isArray(normalized.content) \u0026\u0026 normalized.content.length \u003E 0\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts, langfuse/packages/shared/src/utils/chatml/adapters/openai.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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8ae81da1602ca926ba5855222fe57cec1cc75c1c348d41b3c81a969627aeb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.parts \u0026\u0026 Array.isArray(normalized.parts)\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts, langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecd59d62e1fd274138e21ad7b7244646525f844eed95b5ede5a7150ceb55e9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.role === \u0022tool\u0022 \u0026\u0026 typeof normalized.content === \u0022object\u0022 \u0026\u0026 normalized.content !== null \u0026\u0026 !Array.isArray(normalized.content)\u0060 appears character-identically in 5 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts, langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts, langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts, langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"807ac0c44b6d1128f74938f3d78156f81b0c55681808735bcad7b460b09039ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.tool_calls \u0026\u0026 Array.isArray(normalized.tool_calls)\u0060 appears character-identically in 3 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts, langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts, langfuse/packages/shared/src/utils/chatml/adapters/openai.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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"438198f62fa80f81d04f7d1ed099626252f9e719e9e32f718f2060e34b3f874b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizedColumn !== \u0022policytype\u0022 \u0026\u0026 normalizedColumn !== \u0022policyname\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c7bb438de04e210d603d69b5b1722467d97d0cf6c93c7de59ad8114498c453"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060obs.observationType !== \u0022SPAN\u0022 \u0026\u0026 obs.observationType !== \u0022EVENT\u0022 \u0026\u0026 obs.observationType !== \u0022GENERATION\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/api/useAgentGraphData.ts, langfuse/web/src/components/trace2/contexts/TraceGraphDataContext.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":"langfuse/web/src/components/trace2/api/useAgentGraphData.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"82915e7e8a93f8b79e13502e73aaae45399386729fd5db822519613e8dc515ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060observationTurnIndex != null \u0026\u0026 traceTurnIndex != null \u0026\u0026 observationTurnIndex === traceTurnIndex\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/lib/tree-building.ts, langfuse/web/src/features/governance/utils/policyMetadata.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":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"71162332e177cfc001f25dc5f86edefb289d34913587718acad3a928d532214c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060observationWithIORaw \u0026\u0026 \u0022type\u0022 in observationWithIORaw\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/ObservationPreview.tsx, langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.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":"langfuse/web/src/components/trace2/ObservationPreview.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"955b612416ba0f00f787df79681a0a16095e8fc75accfcf4573c8ddd48e963f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.type === \u0022text\u0022 \u0026\u0026 typeof p.content === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts, langfuse/packages/shared/src/utils/chatml/adapters/pydantic-ai.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":"langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb589702bd6ba233aa1f5f36d812e2016596c35fdeb011e297e6f22474acd2f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0022object\u0022 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 4 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgesSimple.tsx, langfuse/web/src/features/events/components/EventsTable.tsx, langfuse/web/src/features/governance/utils/policyMetadata.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d4ced2409dcbffa847b51d3f65110bacba0d2d1f3d0542d2bc36d5097a3cd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pendingTodos.length === 0 \u0026\u0026 manager.activeCount === 0\u0060 appears character-identically in 2 files \u2014 langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts, langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68aabc05026cf0949398b1818930b6cb63f2ac16ecfcd208fcf11015f9c9cdc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060projectIds.length === 0 || traceIds.length === 0\u0060 appears character-identically in 2 files \u2014 langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts, langfuse/worker/src/features/eventPropagation/handleExperimentBackfill.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":"langfuse/worker/src/backgroundMigrations/backfillExperimentsHistoric.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cb2576d1e6f3186fb11733f611c4cd4de8dbe56a24554cf3d127f5e25f7a1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query.useEventsTable !== undefined \u0026\u0026 query.useEventsTable !== null\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/pages/api/public/observations/[observationId].ts, langfuse/web/src/pages/api/public/observations/index.ts, langfuse/web/src/pages/api/public/traces/index.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":"langfuse/web/src/pages/api/public/observations/[observationId].ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8a409595c409ef65dc54df0dfcf42608001f8220a8eeff78efd3d85bdeeda0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060range.end \u003E 0 \u0026\u0026 range.start \u003C range.end\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx, langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a816c0b2a2bac5edbcff40e0c3a430c4f38038ac3e9b39420ccecf4c19131d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawTurnIndex != null \u0026\u0026 Number.isFinite(rawTurnIndex)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/dashboard/server/dashboard-router.ts, langfuse/web/src/server/api/routers/traces.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":"langfuse/web/src/features/dashboard/server/dashboard-router.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad69039dc37b3ec710b6e0a726463bc443a20c085a84914c895b4a44b927c942"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060replaceLevelWithErrorType \u0026\u0026 selectedErrorType\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"26453b74b41c7a781c51636cd0a3d51e6b996d30efeb33685fd8c327fda13cdf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060replaceLevelWithErrorType || replaceLevelWithPolicyType\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1849005a18b7e439947fd8fa03ba2e5c714cc323e8f4b6655e432354abddd36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method !== \u0022GET\u0022 \u0026\u0026 req.method !== \u0022POST\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/pages/api/public/projects/index.ts, langfuse/web/src/pages/api/public/scim/Users/index.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":"langfuse/web/src/pages/api/public/projects/index.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7647d078a0edb3318093a101eb8946380d4d7f1aa062550ec4f9a19e5e96eaa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method !== \u0022POST\u0022 \u0026\u0026 req.method !== \u0022GET\u0022\u0060 appears character-identically in 5 files \u2014 langfuse/web/src/pages/api/admin/bullmq/index.ts, langfuse/web/src/pages/api/admin/evals.ts, langfuse/web/src/pages/api/admin/organizations/[organizationId]/apiKeys/index.ts, langfuse/web/src/pages/api/admin/organizations/index.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":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a0cd1ebc0ac99333651e59b598de0a19095673a535d9a0cd624abebd131239"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0022POST\u0022 \u0026\u0026 body.data.action === \u0022retry\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/pages/api/admin/bullmq/index.ts, langfuse/web/src/pages/api/admin/evals.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":"langfuse/web/src/pages/api/admin/bullmq/index.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1357123f52126d564dbc95a9eaf0799d2c23490af719625305158b628e725d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runIds?.includes(run.key) \u0026\u0026 runIds.length === 1\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx, langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/index.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":"langfuse/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43a00d2b4d1e39064659717ecfe69d6baf7659592132bd1edf63b5acddc276f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scheme !== \u0022Bearer\u0022 || !token || token !== env.ADMIN_API_KEY\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/ee/features/admin-api/server/adminApiAuth.ts, langfuse/web/src/ee/features/multi-tenant-sso/createNewSsoConfigHandler.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":"langfuse/web/src/ee/features/admin-api/server/adminApiAuth.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa3f820c87a14436a7e409ce0c2052ee5db076f9c7ef80eb07ec89c7f85ebc2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scrollContainerRef?.current || parentRef.current\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx, langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.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":"langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedJsonViewer.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"41183fa08295c122b0705cad6ce50558bcad44c168c9d1483403cc3841b2ab46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchQuery === undefined || searchQuery === null || searchQuery === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/prompts/server/routers/promptRouter.ts, langfuse/web/src/features/rbac/server/membersRouter.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":"langfuse/web/src/features/prompts/server/routers/promptRouter.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abe47428ff624c1f894d86e54f45349967c38638f8af27ff8cb1ff1d197a05a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segment.startsWith(\u0022[\u0022) \u0026\u0026 segment.endsWith(\u0022]\u0022)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/layouts/breadcrumb.tsx, langfuse/web/src/features/command-k-menu/CommandMenu.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":"langfuse/web/src/components/layouts/breadcrumb.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c407855a015073aeb3bcb838eee0f857a60b5bdc7d99c782c4c9f1a3f308d6dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segment.type === \u0022comment\u0022 \u0026\u0026 segment.preview\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx, langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx, langfuse/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.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":"langfuse/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f379cc52be31d5b98246adf28d3466bbb31e64df1d701c0b88715b07046bc8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060select === \u0022metrics\u0022 || requiresScoresJoin\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts, langfuse/packages/shared/src/server/services/sessions-ui-table-service.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":"langfuse/packages/shared/src/server/services/sessions-ui-table-events-service.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b9801b244327fdf3fcc7b07dc235c1a54cbf09c3229d663a1c9f962080ef07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedErrorType \u0026\u0026 !ref.has(selectedErrorType)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa39cecfc7a61ea4d2721c57ed4669461318373b3b535879e86b3b9baf1667"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedPolicyType \u0026\u0026 selectedPolicyType !== UNCLASSIFIED_POLICY_TYPE\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"50481d67bdaa01462c2f7a1f8c9543383e9e75bc49689e796d8ff233f1c82a10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedTab === \u0022log\u0022 \u0026\u0026 isLogViewVirtualized\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx, langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0df32b59e76ce978be3fb9a4e6fe724c2ce4fd644c9b8f21d2c7290b0b3d0b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedTab === \u0022log\u0022 \u0026\u0026 isLogViewVirtualized \u0026\u0026 value === \u0022json\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx, langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e950d08f540c8533a1407c544e1dc08291f50bdb23b7e9c3593245f8fabcd227"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedTab === \u0022log\u0022 || (selectedTab === \u0022preview\u0022 \u0026\u0026 isPrettyViewAvailable)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx, langfuse/web/src/components/trace2/components/TraceDetailView/TraceDetailView.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":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb65beea24eab182468a61247a88791b97e7a83cdee90c2d75d0e7e44b5d05dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060startTimeFilter \u0026\u0026 startTimeFilter.length \u003E 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/events/server/eventsService.ts, langfuse/web/src/server/api/routers/generations/filterOptionsQuery.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":"langfuse/web/src/features/events/server/eventsService.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c736efeb9d5d68b73139ca299adfef7d3adf1cc71617758f943f3e0dc4b21dda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.phase === \u0022init\u0022 || state.phase === \u0022loading_chunks\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts, langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5a2ec52c09b86240ee65ca67b0a916de893138bbffccdd40e71c756819be6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t.status === \u0022pending\u0022 || t.status === \u0022in_progress\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts, langfuse/worker/src/backgroundMigrations/backfillEventsHistoricFromParts.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":"langfuse/worker/src/backgroundMigrations/backfillEventsHistoric.ts"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"783b1a6769b88affa570c637f7ac68fce684986498c7293ec23d0451c8d4ddaf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.level === \u0022WARNING\u0022 \u0026\u0026 isSessionOutputTurnObservationName(target.name)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":2083}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25e462cfb7c0ab90ca02ad9879828bb2e1f5e391e95ec6e955e93926d74e663"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tc.function \u0026\u0026 typeof tc.function === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts, langfuse/packages/shared/src/utils/chatml/adapters/openai.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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a18bebaf89530333ace21a4dc288c04418b5048d935c878e3a7e1da7a59aa8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timestampFilter \u0026\u0026 timestampFilter.length \u003E 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/server/api/routers/scores.ts, langfuse/web/src/server/api/routers/sessions.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":"langfuse/web/src/server/api/routers/scores.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71d9cb05f2c89d6db460a359e66e40b122c9b678339e4de9a29702fd3a905ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolPreMatch?.groups?.toolName \u0026\u0026 toolPreMatch.groups.index\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/lib/tree-building.ts, langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.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":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"109bc93f713cfbd52f6e8fc8365628cd8597696fe8d646403fbf639d166ccc87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolResultMatch?.groups?.toolName \u0026\u0026 toolResultMatch.groups.index\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/lib/tree-building.ts, langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.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":"langfuse/web/src/components/trace2/lib/tree-building.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a936e90a87f750fb67befcdbed9fd7db4b49545e28d4002b3c20e44c101f7a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060topLevelObs?.parentObservationId || null\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts, langfuse/web/src/features/trace-graph-view/buildStepData.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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eec311d21a2a6128c6d4b536e8c15b61b6cbe7eb1903ff908720f9bb31cefa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060touchedFields.expectedOutput || dirtyFields.expectedOutput\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/datasets/components/EditDatasetItem.tsx, langfuse/web/src/features/datasets/components/NewDatasetItemForm.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":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd132adc51dfd1cc05c60e70f451ef739ec0a8e3c3bb3723ffd9628ab8d9108d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060touchedFields.input || dirtyFields.input\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/datasets/components/EditDatasetItem.tsx, langfuse/web/src/features/datasets/components/NewDatasetItemForm.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":"langfuse/web/src/features/datasets/components/EditDatasetItem.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ec078bca399ac6a88d7724005bf35b2a2ec323467cb9695fa7c5cf2b5eef7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trace.data \u0026\u0026 \u0022policyConfirmationTurnIndexes\u0022 in trace.data\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/peek/peek-observation-detail.tsx, langfuse/web/src/components/table/peek/peek-trace-detail.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":"langfuse/web/src/components/table/peek/peek-observation-detail.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2786bf9eb3d6fa5a6b3d42757e4c1a75c455b250de0ba2bb846a75ba5f4de19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof data === \u0022object\u0022 \u0026\u0026 \u0022messages\u0022 in data\u0060 appears character-identically in 7 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts, langfuse/packages/shared/src/utils/chatml/adapters/generic.ts, langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts, langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.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":"langfuse/packages/shared/src/utils/chatml/adapters/gemini.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"427648bc3584392cd62a12f3c9ba5143749e14096cbed1df3b2e875f8e0ab925"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof data === \u0022object\u0022 \u0026\u0026 \u0022role\u0022 in data\u0060 appears character-identically in 4 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts, langfuse/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts, langfuse/packages/shared/src/utils/chatml/adapters/openai.ts, langfuse/packages/shared/src/utils/chatml/adapters/semantic-kernel.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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb24149d10c7ac8f6004fc1f5549cf2a0d4f13d656ea046b2eec4d610655af8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item === \u0022string\u0022 \u0026\u0026 !!item.trim()\u0060 appears character-identically in 3 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgesSimple.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29d0ab0bbc39705a5d9ffd57d7df599947f817bcb9da59a2d68d4d98e67c2a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof metadata === \u0022object\u0022 \u0026\u0026 !Array.isArray(metadata)\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/table/use-cases/observations.tsx, langfuse/web/src/features/events/components/EventsTable.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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fa2c42f3f75d584ef5a021d3ca8b5034b7a3355837e5f110e25910be9719a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof msg === \u0022object\u0022 \u0026\u0026 msg !== null \u0026\u0026 \u0022parts\u0022 in msg \u0026\u0026 Array.isArray((msg as Record\u003Cstring, unknown\u003E).parts)\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts, langfuse/packages/shared/src/utils/chatml/adapters/openai.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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8e05fa5757c530e73cbc7edd92a32ec62d7a55666d34a37c15d44882824894"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof scope.name === \u0022string\u0022 \u0026\u0026 scope.name.startsWith(\u0022Microsoft.SemanticKernel\u0022)\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts, langfuse/packages/shared/src/utils/chatml/adapters/openai.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":"langfuse/packages/shared/src/utils/chatml/adapters/langgraph.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c392b414d7f3befbceb3a9c86799a80985569c37b6662389e30582ea1e244955"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022object\u0022 \u0026\u0026 value !== null\u0060 appears character-identically in 2 files \u2014 langfuse/packages/shared/src/server/otel/ObservationTypeMapper.ts, langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.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":"langfuse/packages/shared/src/server/otel/ObservationTypeMapper.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97ddbb8b487e180440f0cef4a022ae0e90b97a93bf076dd33784309f43f11b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts, langfuse/web/src/pages/project/[projectId]/analysis.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":"langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"7803f8ac93e000d8a2db474d7e02d0db5daed4c64af08849b5895a470e491094"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 || typeof value === \u0022number\u0022 || typeof value === \u0022boolean\u0022\u0060 appears character-identically in 3 files \u2014 langfuse/packages/shared/src/features/evals/utilities.ts, langfuse/worker/src/features/evaluation/evalService.ts, langfuse/worker/src/features/evaluation/observationEval/extractObservationVariables.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":"langfuse/packages/shared/src/features/evals/utilities.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad2af69272ea43aa708e0b381657ab62b5820dd1923066582f818392a2887a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window !== \u0022undefined\u0022 \u0026\u0026 localStorage.getItem(\u0022jsonViewPreference\u0022) === \u0027\u0022json-beta\u0022\u0027\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/trace2/contexts/ViewPreferencesContext.tsx, langfuse/web/src/components/trace2/hooks/useJsonBetaToggle.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":"langfuse/web/src/components/trace2/contexts/ViewPreferencesContext.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f553efd5f031d175bd820b7cf0695b6bdfeb9607a72540cccef90682e49aca71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window !== \u0022undefined\u0022 \u0026\u0026 typeof ResizeObserver !== \u0022undefined\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx, langfuse/web/src/components/ui/AdvancedJsonViewer/VirtualizedMultiSectionViewer.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":"langfuse/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e51e811182851a69a202b340ed5e643b642a6feee5eb38a48a6a594d84481d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window === \u0022undefined\u0022 || !window.Worker\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/hooks/useParsedObservation.ts, langfuse/web/src/hooks/useParsedTrace.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":"langfuse/web/src/hooks/useParsedObservation.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"931fe74b894b24e91adaff48018f1858d02d375e4386720f7e587079037329f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060val === null || val === undefined || val === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/widgets/components/DashboardWidget.tsx, langfuse/web/src/features/widgets/components/WidgetForm.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":"langfuse/web/src/features/widgets/components/DashboardWidget.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bdd2ac75e5880800803928a0b65c366208ae4dda9cdbcb1cfaf5a7adda012a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || value === undefined || value === \u0022\u0022\u0060 appears character-identically in 3 files \u2014 langfuse/packages/shared/src/server/otel/ObservationTypeMapper.ts, langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts, langfuse/web/src/features/llm-api-key/server/router.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":"langfuse/packages/shared/src/server/otel/ObservationTypeMapper.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3a38965eabf3f705cf669e90c1e3ef1da6bece4bcc3f2039bfd7aeb3a9313c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060windowId || MULTI_WINDOW_CONFIG.DEFAULT_WINDOW_ID\u0060 appears character-identically in 2 files \u2014 langfuse/web/src/features/playground/page/context/index.tsx, langfuse/web/src/features/playground/page/storage/keys.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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c9e87d79277b89c21b3e9c6fce367517843d03a731040d64c3839924220c06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022,\u0022.join(trigger_decision.reasons) or \u0022no trigger conditions matched\u0022\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f1049bb9772c786086b6aa04cdf132813f9c46a197f10ba49c9fa7d523e182"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060RUNTIME.extract_tool_calls(response) or []\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"26075bb8d0a2b5a01670e482e54837d3a71e0531f76e10a9c124e1179569c6e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_is_reset_marker_text(cleaned) or _is_reset_request_text(cleaned)\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py, ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc892443aceeb93df8ebd103346e3ef474e9745733b36ca26416ebae15fb6afd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allow.get(\u0022instruction_types\u0022, []) or []\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"1804dd152b1e61b594fe033883e1ed9e7a6985ee247549edf4148d1b5d239cf3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allow_cats and cat and cat not in allow_cats\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8623fbe3ecbc19989893e60835c60a51f095ac70755f2ba17276b42f9cbce5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allow_types and it and it not in allow_types\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"614e52a67e4dd19534692918d243d71b696ce22c432b7194ba63b0e3c464363e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.reset_requested and context.latest_user_fingerprint\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py, ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcb7649f9e7c469ae68791b5b83efe8fde9f047630546f7a32f66f6bf467252"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(allow_auth, list) and allow_auth\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"266487ff67fac10bb91f1e394116800c016577db5173cd526a4adf622ff91dee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(c, (int, float)) and float(c) \u003C mc\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ef9336d9c25d69327cdf2f6bfb00e7d083e0cc86a89a65dae96394f10b3613"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(content, str) and content.strip()\u0060 appears character-identically in 4 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d507d5f60bfbd712c809335bf810659dda7f81af5a2c2147822fa73c96e9b3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(deny_auth, list) and deny_auth\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b49781f55eb4acfd46cd54b5c8147e87d7a7852043208c3022ea87c4c9e8864"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(error_type, str) and error_type.strip()\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/redteam/_automation/run_cases.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3808}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecde9e7d8c9d34cd87aa8638d85e01412f85b4166e054164c0dc0e9da300825"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(fn, dict) and isinstance(fn.get(\u0022name\u0022), str)\u0060 appears character-identically in 3 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py, ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy/nanobot_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"68508893971b0bb15bc6bba9fed36ad08b6281811eef97f6934051d4c41630c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(guard_name, str) and guard_name.strip()\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b283bb734c3e693ed07d0e523d67113d8569f333d7ae7c8e3a1b9f4998682ec2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(item, dict) and item.get(\u0022type\u0022) == \u0022text\u0022 and isinstance(item.get(\u0022text\u0022), str)\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/redteam/_automation/run_cases.py, ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad407113d2ba414b413a9bb3fc52c35a794c145f7ae6e3b4081ea6bc52e58b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(tc_id, str) and tc_id.strip()\u0060 appears character-identically in 3 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/types.py, ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/user_approval.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/types.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae302dd44cceb65f9946603ae979acccf887202dbcb38d9093d2ac05ae9f11f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(trace_id, str) and trace_id.strip()\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"176e3b41cfdc6d75700451cec507b84e60abb8b66d422d9af88a41244ce2574d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(v, str) and str(k).lower() in ( \u0022path\u0022, \u0022file_path\u0022, \u0022file\u0022, \u0022filename\u0022, \u0022src\u0022, \u0022dst\u0022, \u0022directory\u0022, \u0022dir\u0022, )\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b56d405fdced316873a8cc33cf6596e2274a4bb96f02ac28a9a759da735b41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, str) and value.strip()\u0060 appears character-identically in 9 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py, ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/direct_metadata.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"927c9bb65e991353988e98b601b0f61383ab90069d609f48ebc2759e1b341cb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(cleaned) \u003C= 200 and _RESET_PROMPT_RE.match(cleaned)\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py, ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfc0fa963dc75f4cc68442059df2dca4b5a45430cb67466743270c98ab1f38a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(norm) \u003E= 3 and norm[1] == \u0022:\u0022 and norm[2] == \u0022/\u0022 and norm[0].isalpha()\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/registries/_base.py, ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/registries/_base.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e07681fc82f9c3a2ec3a2e30bd7ff4be2fd3054f70a8d696b065952d9792df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(words) \u003E 1 and not words[1].startswith(\u0022-\u0022)\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py, ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c512f78d217d8c08444ae300acf9c4d74f3f2032bce5284662fbbe0399bbb8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not allow_reset_control_topic and _is_reset_control_topic(preview)\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py, ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa807bfb5f8ea131181e9f7febf145ea6b95a088169387b3a7857f3a1b83f165"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not context.latest_user_text or not context.latest_user_fingerprint\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py, ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a239852dc7f7c3898ac84b75cfadc729c723307ad133a99b49903ca8d41298"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not instructions or not latest_instructions\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20f0357dcf5656a60290a4ac39962e306041e83d6b845cc0f3323849a5d7b6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(data, dict) or not data.get(\u0022enabled\u0022)\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/redteam/_automation/run_cases.py, ArbiterOS-Kernel/redteam/_automation/toolemu_v1/llm_utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/run_cases.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4d65feb200b1307229262ea8fb39c7af88b7c1133d27f4459ef8ddfe6c9528"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(response.get(\u0022content\u0022), str) or not response.get(\u0022content\u0022)\u0060 appears character-identically in 11 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/allow_deny_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/delete_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/efsm_gate_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adf0a52b6d157b1fd319fda0b336e3f679ad0ad381ba414d65968aa2dbfc8b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(sec_cfg, dict) or not sec_cfg\u0060 appears character-identically in 3 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/security_label_policy.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9677cc2226c0c66399fdf4bec6e038d0c73395a8ca400d26fb15443ab4a101"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(text, str) or not text.strip()\u0060 appears character-identically in 5 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py, ArbiterOS-Kernel/redteam/_automation/run_cases.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb06e5b8ba91d351b9cde5c8ed439dbf3297fba292c4721ede837a24a9f36015"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(trace_id, str) or not trace_id\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py, ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"1092a720106db2aa4de46e1dcb078f40ed30070148a23582db5b160bd6441186"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(trace_id, str) or not trace_id.strip()\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0eadf2bc6a335718798774e52db44f156e16e35224e891212174b9e32d544e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not model or not api_base or not api_key\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"f522a03a19d2456914107f27f7e03e3803bec1a81a2052d9fa0095fab7c44790"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not token.startswith(\u0022-\u0022) and seg_itype in (\u0022READ\u0022, \u0022WRITE\u0022)\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py, ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8488553ae6e8b4eaee00a0507f1fbdecac04167982a2ab32fa2495389209f245"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060op_after is not None and op_after not in _CD_PROPAGATING_OPS\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py, ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dad843584a0aebb2ebba552a33135cd0760266553a42d108ea52c1dfdbb2cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rl.get(\u0022max_consecutive_same_tool\u0022, 0) or 0\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"f312465d05353e4bc34decb7061eb707010aaebc1d328e0bcccb1cf597f4d945"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060st.get(\u0022prop_confidentiality\u0022) or st.get(\u0022confidentiality\u0022)\u0060 appears character-identically in 3 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py, ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"b636541c0891301665ccca7d1c9a55a7b52d88fad91f79f195456aa87d5ab8bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060st.get(\u0022prop_trustworthiness\u0022) or st.get(\u0022trustworthiness\u0022)\u0060 appears character-identically in 3 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py, ArbiterOS-Kernel/arbiteros_kernel/policy/relational_policy.py, ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a64487213f727a8e64c54268ab87b3830f1627923ec1a6ae8338b95c2f76a22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ta.get(\u0022sink_block_window_seconds\u0022, 0) or 0.0\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfe80a482e1c7afcbdc7399fefdd2d474bc1fdc20bdde0afcf9d7f2811aa61c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_call.get(\u0022id\u0022) or tool_call.get(\u0022tool_call_id\u0022)\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py, ArbiterOS-Kernel/arbiteros_kernel/policy/nanobot_policy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab94a10ed0a8d6b2fd7597312b618d1e12944d09ee1cb5c1576e19600ac19c8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ttl \u003E 0 and (now - float(st.st_mtime)) \u003E ttl\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py, ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc00cfa0f476f761efe00f378944792033ded5b7a423fbb2eac6bd12375c4c3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060words and seg_itype == \u0022EXEC\u0022 and _is_path_like(words[0])\u0060 appears character-identically in 2 files \u2014 ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py, ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/powershell.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/shell_parsers/bash.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0efe7313dabddf7ebc8e2d6b4441b139e1d2998e9525634196e9708b9dfcf9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060useColumnVisibility\u0060 is exported, takes a document from its caller (line 41) and hands it to \u0060setVisibility\u0060, which calls itself at line 29 (\u0060setVisibility\u0060) with a piece of \u0060column\u0060 \u2014 and nowhere in \u0060setVisibility\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 \u0060setVisibility\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/column-visibility/hooks/useColumnVisibility.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"456275ac3efd781904b1c506c1a2432ef45f4e3cf850ae2afb06d0c33a3a2662"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060countAllDescendants\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 229 (\u0060countAllDescendants\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060countAllDescendants\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 \u0060countAllDescendants\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/jsonTypes.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dbf1a37281d5704050d999c0bc44325bf6a31fdc1391c746463d2b7709eb63"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060countJsonRows\u0060 is exported and takes \u0060data: unknown\u0060 from its caller, and it calls itself at line 40 (\u0060countJsonRows\u0060) with a piece of \u0060data\u0060 (and at line 52) \u2014 and nowhere in \u0060countJsonRows\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 \u0060countJsonRows\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/utils/rowCount.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a30a5db430d005b600e9232a1d24631f85864bd2dc99a0bbcb2a0c08e736b0b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060unnestObservation\u0060 is exported and takes \u0060nestedObservation: NestedObservation\u0060 from its caller, and it calls itself at line 194 (\u0060unnestObservation\u0060) with a piece of \u0060nestedObservation\u0060 \u2014 and nowhere in \u0060unnestObservation\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 \u0060unnestObservation\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/lib/helpers.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e0516714ee67c55ae50681ba1b33fc9ba9d4edeb9bf10caeea8156c284b40b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060flattenJsonToPathArrays\u0060 is exported and takes \u0060obj: Record\u003Cstring, unknown\u003E\u0060 from its caller, and it calls itself at line 30 (\u0060flattenJsonToPathArrays\u0060) with a piece of \u0060obj\u0060 \u2014 and nowhere in \u0060flattenJsonToPathArrays\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 \u0060flattenJsonToPathArrays\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/utils.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e24822269c6ef273865b2755702780a32b4a01e60346b3097f681010cf9bca9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060extractValueFromObject\u0060 is exported, takes a document from its caller (line 66) and hands it to \u0060parseMultiEncodedJson\u0060, which calls itself at line 45 (\u0060parseMultiEncodedJson\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060parseMultiEncodedJson\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 \u0060parseMultiEncodedJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/evals/utilities.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"673244b2e542efa75c65f364879c1ec538563f4eea106297d7ca2e1a3e6457fe"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060generateJsonPathSuggestions\u0060 is exported and takes \u0060data: unknown\u0060 from its caller, and it calls itself at line 291 (\u0060generateJsonPathSuggestions\u0060) with a piece of \u0060data\u0060 (and at line 302) \u2014 and nowhere in \u0060generateJsonPathSuggestions\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 \u0060generateJsonPathSuggestions\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/features/batchAction/applyFieldMapping.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a797ac2dfbc970d05d8079b9f5fb3c8c80b764744009fbed5e1e6c5c27c137c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060async_pre_call_hook\u0060 is public, takes a document from its caller (line 5926) and hands it to \u0060_to_json\u0060, which calls itself at line 1512 (\u0060_to_json\u0060) with a piece of \u0060obj\u0060 (and at line 1514) \u2014 and nowhere in \u0060_to_json\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_to_json\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"26255c329ee259b4c22077f79560f7e3633caca35cbf8370dbe791adc9ae3be4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalize_args\u0060 is public and takes \u0060args: Any\u0060 from its caller, and it calls itself at line 150 (\u0060canonicalize_args\u0060) with a piece of \u0060args\u0060 (and at line 153) \u2014 and nowhere in \u0060canonicalize_args\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060canonicalize_args\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf85ebd442031aace83bed8e9dabefd50179ab3a5235b8f38eb4fa2d51a437d0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redact_args\u0060 is public and takes \u0060args: Any\u0060 from its caller, and it calls itself at line 167 (\u0060redact_args\u0060) with a piece of \u0060args\u0060 (and at line 170) \u2014 and nowhere in \u0060redact_args\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060redact_args\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc0de56d9c36171d934763706d42a161b7fa2b8c8ce00d103cbe3ca2e7e4cbc"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalize_args\u0060 is public and takes \u0060args: Any\u0060 from its caller, and it calls itself at line 88 (\u0060canonicalize_args\u0060) with a piece of \u0060args\u0060 (and at line 91) \u2014 and nowhere in \u0060canonicalize_args\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060canonicalize_args\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cc1cfc4ae766e05995ca8b05a18bea819143a40d14fdc5a18054848e03c242"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redact_args\u0060 is public and takes \u0060args: Any\u0060 from its caller, and it calls itself at line 105 (\u0060redact_args\u0060) with a piece of \u0060args\u0060 (and at line 108) \u2014 and nowhere in \u0060redact_args\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060redact_args\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"344b63c89025f3bc1548c6fe943eda04f3e2df3465fe38a069ecef1b61ca5418"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalize_tool_args\u0060 is public and takes \u0060args: Any\u0060 from its caller, and it calls itself at line 610 (\u0060self.canonicalize_tool_args\u0060) with a piece of \u0060args\u0060 (and at line 614) \u2014 and nowhere in \u0060canonicalize_tool_args\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060canonicalize_tool_args\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"06df081d909acafd76e987afd53a2a82ca8436422562df8a8e97f2d18645fd75"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060check_taint_sink_for_tool\u0060 is public, takes a document from its caller (line 904) and hands it to \u0060_collect_strings\u0060, which calls itself at line 937 (\u0060_collect_strings\u0060) with a piece of \u0060x\u0060 (and at line 941) \u2014 and nowhere in \u0060_collect_strings\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_collect_strings\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"5240314cd338620d2452604a7177a2d701b3ea97b99c295b5b78e72df721ee7b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060check\u0060 is public, takes a document from its caller (line 321) and hands it to \u0060_coerce_text\u0060, which calls itself at line 151 (\u0060_coerce_text\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060_coerce_text\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_coerce_text\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"87aca3d851e905e6c0ac75fab2d5210491e3b94582a8596a4add4101635f675a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060should_trigger_postexec_sentinel\u0060 is public, takes a document from its caller (line 535) and hands it to \u0060_walk\u0060, which calls itself at line 264 (\u0060_walk\u0060) with a piece of \u0060node\u0060 (and at line 270) \u2014 and nowhere in \u0060_walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_trigger.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"785e1fab68ec54b5ad0eb56df7cc53a0e42e04a2b6130f2d3de71e9d39817ce2"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validate_policy_rule_ir\u0060 is public, takes a document from its caller (line 211) and hands it to \u0060_validate_predicate\u0060, which calls itself at line 698 (\u0060_validate_predicate\u0060) with a piece of \u0060raw\u0060 \u2014 and nowhere in \u0060_validate_predicate\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_validate_predicate\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1b03a156721ce767c1d7707630f65aaeb04fbece6fdd70519558c8fa1d242f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060compile_policy_rule_ir_to_unary_gate_rules\u0060 is public, takes a document from its caller (line 252) and hands it to \u0060_compile_predicate\u0060, which calls itself at line 751 (\u0060_compile_predicate\u0060) with a piece of \u0060raw\u0060 (and at line 753) \u2014 and nowhere in \u0060_compile_predicate\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_compile_predicate\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"de251f1a0e819190c0cf6f7805b6e6a793c7fd17889da05e77bb4fa0acf985ea"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validate_policy_rule_ir\u0060 is public, takes a document from its caller (line 211) and hands it to \u0060_extract_vars\u0060, which calls itself at line 804 (\u0060_extract_vars\u0060) with a piece of \u0060raw\u0060 (and at line 807) \u2014 and nowhere in \u0060_extract_vars\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_extract_vars\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/policy_rule_ir.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0be38ae866c42b5ed68da3aa1d611d239b865c4294dbabb8e00ccca130351b4"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 3/14 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: sendBatch: \u0060sendBatch\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":"langfuse/worker/src/features/mixpanel/mixpanelClient.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee1b50d0092635696f3151acb5b6a5634f17448bd2fcd0033a9e17d7a20928f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: createUser: \u0060createUser\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":"langfuse/web/src/server/auth.ts"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65a20c5c23f07be4678b6107c654e757567c556314135e850eb1a2c7dc1b298"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: uploadToPlainS3: \u0060uploadToPlainS3\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":"langfuse/web/src/features/support-chat/SupportFormSection.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2958b523370a513108d9c64da57aaa28a614a38eae85dcce770cb57dc3f70df1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: sendToSlack: \u0060sendToSlack\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":"langfuse/web/src/features/slack/server/slack-webhook.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c0846cc7fda5ee19812cdbbff303a468c9b1858dc60554ea00a27d885c0db4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getChatCompletionWithTools: \u0060getChatCompletionWithTools\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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"4630e7f6829ddc5d72cfc0804c96d41779ab9b3077c3bd1a789c8fffbe51ea74"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getChatCompletionWithStructuredOutput: \u0060getChatCompletionWithStructuredOutput\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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffb8a005c94051aba732e198d075162bab951b66d12c8c2eb125a1bcf263f31"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getChatCompletionStream: \u0060getChatCompletionStream\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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bbce4774d3e23f872ef049f2dff2e026f955e7acf9d1210b0664490a56d8ee"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getChatCompletionNonStreaming: \u0060getChatCompletionNonStreaming\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":"langfuse/web/src/features/playground/page/context/index.tsx"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"2604916e1a92f96b1a32349d8821492733ae66950faafe73f9cd4ed63d550e2a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: syncLanguageCookie: \u0060syncLanguageCookie\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":"langfuse/web/src/features/i18n/LanguageProvider.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fc313a992bb97e8cd48f656024de270f1a4f165acac772ddc06797c251bad5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchWithSecureRedirects: \u0060fetchWithSecureRedirects\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":"langfuse/packages/shared/src/server/webhooks/redirectHandler.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f87a0c992694b8019018022266e40361ff0f33292e2ca0d41f5ac3cd214132f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: request: \u0060request\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":"langfuse/packages/shared/src/server/auth/gitHubEnterpriseProvider.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fbb154ba719d82d67f5fbd050ad211ae54a043b5f7193bb1059bb167391611"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 62 is called with an argument built by \u0060tools.map((t) =\u003E t.name)\u0060 (line 65), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/mcp/server/mcpServer.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23852c4d9dee8845e82dea377c03586c1301ee75dacaae9f5fcc3221232221d"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 526 is called with an argument built by \u0060list(zip(abs_paths, per_path))\u0060 (line 530), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/registries/_base.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9a62d0d35fb6db2e70eb4e2b12e3a06893b6498db36e3973d7777fc56fef7f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060Object.entries(THEMES).map(([theme,prefix])=\u003E\u0060\n${prefix} [data-chart=${id}] {\n${colorConfig.map(([key,itemConfig])=\u003E{\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/chart.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6496087b5eec564f7875ba4ea7f81c1da62ade9ae85f5c62639739aa2ace3577"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"49898baea95586ac6b0299736dcff843c1f8e1b8cc4d02e6a9a4cdd48352c04b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed8520e6e2545b15ea0b82b895ede0a350e9bfec2e0be684fe5090393b75303"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"6438844c30b175e20913c752072ca8d95d217edc88a6015fc1f1ad7e1b2e412c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e411eedc77f61604236422c4b8ed62ce391ee33a9b612cb3b670f544142dc2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/utils/date-range-utils.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12605cba60b975df6ff35719c449f75aaf33d539ed082ba46421d4f8cdbd6b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useClickWithoutSelection.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"315536af0d99a03035e4544395dd61b3b5dcb0b68e7c2e7a330b60cbfacb660d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useCollapsibleSystemPrompt.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f661a277c7c3d0eff071652d4ee65ace687288571cb94c497c1c10809544eeee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useFormPersistence.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b25ce118f04c3202987a26225f2f53234dce4a3237211ab87f537a4b3b1c243"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/support-chat/trpc/plainRouter.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a09fd115687b34b7d299f2a7472950250bb1dc928ab260d2c2dcd5eaa4fdfd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/lib/color-scales.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a8c694715b693c4db0df023822c0f5c9b52c4ea930905099868efdb09137d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/public-api/server/RateLimitService.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d573c649c88320b8833283bfe8e60ecfc79d9e95761042a8b31c019b37cf53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4537886cb3faf897bf54b24ebca3c62919aa975b1cdd8fe6e96bb22dc40f5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fd85757a81223bda77520c4456ff376fd7da5ab2beb67e0757d3eb7c48d705"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5fc2a1acb2a486e3ab00d088e447af1376c39e5364abdbb371c7c45c34dbc0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6395d10807ecac8d5010a0c0adb123737181081d1bde27f188d25055b4e1d59d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8012b9f8f94b78da8d759194c49d747f8cf6ff6d0c1a714b25bf3a2735f25c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b758260048c726dfbffc0d057839216c88023fce62e1e08349e92b6270c849d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4cd277f1882463540ace23336505cdf992b3239bea80ac71d92e9269dc72b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/hooks/useSurveyForm.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"38177931f1b65d8073ad24c91d20fa5aecc884352ebbd8ae640c2fae8ec323ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/onboarding/components/OnboardingSurvey.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"678b50bb08641d73a67177ca14b79ef9ab2b163850f45e9c4903b04dd74aa1bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/natural-language-filters/server/utils.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b597a0b5e4de83de62abec2c5d918d53bebf636414a95249ab8c5147c37cd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/i18n/LanguageProvider.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"886287f6c15bf631ef610b2f08c09fa4aa64fb91b10385daf0e55bb034eb02ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/i18n/LanguageProvider.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd95c1f4ef05275f60003b1dc56802d785c0838a0ae1b91e53c559519b4ad225"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance/utils/policyMetadata.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e46a88bd7aedf69a67462ce130ec3b533bfbbbecd1ea013af443b132288f75"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/governance/utils/policyMetadata.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e766fdd5e6436bc7131fca3f4d42feceae083a9027a00201746cc0f306673d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"283bb3c130eda159e9c749adf149b38f066eeb661502be7ff452ac4b57e8a860"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/evals/components/evaluation-prompt-preview.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66918e579b3821b7d75a2a2b196e4a93dc7d01dbe0c97d13575db8602e84ffb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f38d5b362d73d833e473c677d5f02c8c4e74a841a8e64e7b6160266f34ec494"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8f847e72b7427cd8627771e6ae43ec2269fa297a15dd027483685328a76cf6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/batch-actions/components/RunEvaluationDialog/index.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e73f060f02b9a93272bcf9f991ce92f2d1928da1113586289c52002ac0af97c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/background-migrations/components/retry-background-migration.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d470866309ff7d464bf03099269b179bf6c71a0941972f11231da02708855989"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/auth/lib/createProjectMembershipsOnSignup.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec91e6f75da04767f8450fd8aeeed6cc3545847b3dadaa59a39764c2d9da094"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/contexts/JsonExpansionContext.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a01f0fb1584b69c0349b012dc84e36277ef7d9b5362532a539b2f2e15c0f1df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgesSimple.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd69ed0add6acc7f3099c3f922c99210278ee0a5bb74296154bab67d88f82504"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/ObservationDetailView/ObservationMetadataBadgesSimple.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee48e18f707e6517cf6b272976046ba07d0e77b5f1193f3924713ca7abfd0c2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/ValueCell.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"67609165c6fb1778ad9c39252f620d028eb1b4ce5232d6a13375af47134f2a4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6990860c174f855e078b558d067252cef05e9adc61689a0d313bdd85b14aeb9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/chatml/adapters/generic.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1666a285694ff739af8e1161623872e56aeb64f3ffc8635c97cfb7c002d50ba2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/utils/IORepresentation/toCompactVerbosity.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb8c3a177422a38029f8bd6b4cfcff22d837535ce8d7d43e7fbbdd80df3f99d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/webhooks/validation.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2597f6ff56129d41a52a4f28b61ed1c12cd6720aba962906c95d0b8f9dc4f77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb19a9fd53051b7a36dc6c432e4e6b364770d8fc46840d1c93d56456d514b29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c545e8693f84de2680a86c0c5d1aad5df126ff46354dbd61028fb23e63349a4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1aef30e03e8a0511ae30a34ab0da8d650626ae099256d99508187ee8d28032"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"8701cf68afacff11843c7c02bfda1a5908d3ad1342545ecd88f5191c93fa03eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d93a1aa1f01cb2efca41d4787ff18fd24bdd176a68c7de4821d1d5adf4ee46e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"860f8a359e09c0d91e025dd6ecaa4b799b4b029bf10671238de7664ebf03c485"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a66fcf247049fa24576118bcd4f1e636a7378a94eca2f2345259f37b14947eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2108}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d79893c181e3c1007b838493f18cfb188d448fddae048a5a7a0637156bca30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ab6a0fcc31b32b27852ac6819b9d1e07c3349d89abd8d2ea4be5942c1737ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"deacf9a5d4edac2327420fe4a2b62c0d1fc1e007dd0ff4917c770108210352a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"685218d69d02b5867296ca5c36d768d84cfaa89e4ccb7a642a22ebcdb4dfc644"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d65843f97c7907d3d00d6c4a70e975e17365071e8719bef0983bae8f767d419"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb16de226f626b87d8f07f7ff0b2c57a437b2a7b8a89c132eae81cbea39041"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/llm/fetchLLMCompletion.ts"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c47f2d7938aa2f0c62b76f44c1055fdb9b4d32f033d6ce05ecbab50c2c04b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/processEventBatch.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7706536ffa748f58469b7ad67682bbc642492840a0d9fe868a31e251112c50b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b097345e0ab4b350d4aa35f87e00e5c5380b0f1b008e91936d78aa3850a410"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5937b9f37251bd56d9f57c48941dc2f3d4e12de14f40c5d740959b112e8d46e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4fb69b34cdebfab26757d5e9ade96278f8372f18a3ed3d463ef94a85e99326"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98f9a7ea97255ecc1c189ed25594c1ade70cd2980e5d299a6e07d64a9ab1d5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35c0864bec128ea06b0a5588a7db4619c38a41dc293a21485601bfad8310d25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ff228a09d9c2a6988799c30bf0633e65d62eba87a7a0b629fa8b1065e89d18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebca7371d8395fd26e34eceea149bbb859324e09b3d42f21af5bf3aa70bd7e93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccae0bd1e92f3a7c49eb9cd25cd4c5374257d313a5ac15651d397ac5ef747d84"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef2d56410448af8150820b9198e8be790c61e3dfd8485ffee1a9b13ca3acf14"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1689edd60f13cbd20bc1ab36afe4e41fc5f68b303c7c9cb9ac747f8dd665b0ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e00b25325b8d7607bd1d6724db1a75cda5df7c902b1f94263f8776b990f1d07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2807a50fd8ced171d2688aef91471adb850e012dd8a0583294513e17634b0c71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c18a25a349b6aa8757d3514a5b6a91f74143391e69faf5813ae5bb3ae147d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cd927709cf7f0a7b13b9216b1c42fe2e6164a7e1d7af9440e601009cc9f8bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c5795df79ea23547131d83c2d0a7505ad99d8c70f7f48d008ce5360c3e1596"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"035c067ab523edc6dd02d136d649d56454d72518621125522b99dfd58b3f5c7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"78261e1794e4857b94e3761ff38dab2e36277d2b706f539a435f0a520ce4fd72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f618d28c324b9344495c68578d5d88c9e131f337bd0d68d2347e2b5d51cfb8b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba64163e1a2d213d613447cdba3835c4438333db99b5b009caf745f5c3173686"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"856cabc519fa65581682041cecf0fc9e7f9d51157868d5f5af174df39395fd1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":3979}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cd55ebdb5de2700efe8fd0d0fdf50521498f3b17bbcfb61817528b6250e2b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4293}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b56d39ea4ce15657ebe95783c6619e01b0f29edfa233072f811a1bec02f564"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4387}}}],"partialFingerprints":{"codehealthFindingId/v1":"38408bb856de58bf18d3409758074e598ba69b23578371e3a750dd124c70f062"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4603}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a91d00e79ec5a583a35908818defcc83fc2fc8f68957395971cb4ce3c0a85ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4669}}}],"partialFingerprints":{"codehealthFindingId/v1":"4315e3840936e713364dfa68cc6961569f54fa3057567d5afd831dba86ea8d6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":4919}}}],"partialFingerprints":{"codehealthFindingId/v1":"4608d222242f468e36a14f90e94999c3d938dd69c64d8f96bab4e2eb0b4bd8fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5266}}}],"partialFingerprints":{"codehealthFindingId/v1":"434d6d88101acc7e2cd235de2cbf8515de94cee08c905cd8cc526cedaf42f9bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5408}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2c91d01c0e486cd4333bbe10a55c2359c845c5d8f0f53503466768f4d7ff9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79242d05a15e1fc07645191174dc212dc70dd80b3cca8708307fbd747f44740"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5444}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fee6d21193ab6dc8cf2b5e504b8603cd857082a7cff7c54c60f90f7805a3245"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":5451}}}],"partialFingerprints":{"codehealthFindingId/v1":"15eb791526e385f038ef2445076da3b2ecb3873991436461376beea29b566eba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":6692}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdf7c4583c285c48d541b736fe3c72f5efd3e37fc792550bdba1c9b0a7c48f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":7271}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1c3859e3f663f796dcf196e21eab25d7007bed84fde953cde1a104add14e7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f991872606ad7eea40fb34af8875f52eafcfba4ef358ee2589bd182d07a45c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4ed2fe712ffdb12ffb77793e8f3c98d1331c8e51f41d0ae49e97ae1e19a172"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"069f82ec58151da9d292ad5f4837ee7e16ac375d5b2baf9b719542319a1ba51c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d4b9264767211c737ae67e928d1b8aae24e08ba05909847ae4817f6807adf7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9024ff898a3bc6cb3685b66cd09a623969f6c19dfd822091b029383e71c0ea14"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ff2bf39359523690833db9a8e9ecfd99478d7ec13704ae090db5eb60de49e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"783716626ddebb8165112be13e43625d94ebf597fb6deed8d10ccc68f7c3056e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0dd960361e3f200a7d8d72ad40a27daf8d61cbb650dce65a6f9962625730f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85f829983a8192ae9c006fe7fe5dac3c4282c01a245ac7b869a6c7aaab47aa1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"e925b70cc37ae78af408abf03a2260a14e344d9d61b34bd77a5a3b9d464f9965"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde4732c4a2710e7289783669aafb594f412b39f8720573ea0e3692dc4365136"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"859f426df0ce1497e26d2ea82ba59177bb81aa884b0c5bfad90623427e68652d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e691331efbdc3fc4ee90f12787787e8afeb18ba5d28b9ca792fe9ab53beee2fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"a118a8024b2ad9597e4cea8772d30eaf9deb21946f6c2a569a4a8fda87dd852e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"89592f5c0ae2e771df9e4ce6d216bc8fb37eded72ad01b7e8fd5bdc3cca45874"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b862d04534569085ca9a10cceb75e6bb35112602206a7196c9415886e991d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb9c26aff66858f64b07cab395be49ef1723fc381922c3151e5492b194ee02c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"7509012b9599b1375644ca21dfc9ea219edd714316b1163cea13e03b5b9c6116"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d71b57f9e14524b1e1a6487ae635179b55addb73c71366e832d316586ec5571"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe406c71d6847c049ea6be80e7e5eee3ac0083e40f6f3be6c7bad6dbc88e18f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9dcbff903092f5f638cf33fbd90991f9bb63cebe14ba4c2d8515a4db24b10f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"580712cfcc0f5bb8b60248269c4df26dbdebeebd23b2937da4c8754531450b80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc011c6dc00c0f1217838f7ba33ed929b0265f29ce9a969cfc5f99b0744e7b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7435c693011c1482132255d6a673b69d489a6dfb11de7ce76715b0cdbeda35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"587de83a99624daf00dfee481a2af4b349470adaba8f6d27f5b7e1344cbb3710"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64da75753835ca687e3dddc7a5cc038eb9cad4b21440c2738527ea74d563cdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"acef87189dcab3a0c5f6578e07c55dfb5f1b4811889697802b04bc49622b4153"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"702da5a821f9923822e6c6bb824575cae0840fd700f81a8bdb208fe3aef07f57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2cdbb8c78ed7d6541bd06a28eb9c654eab8394060915671044b7b6a7051ee4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"269eaf1b3507d377366bfa25272056d9feccd6374d91140f34d8cc27e8ba61c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2191010dfdfed56e02dd3c4c88d350c36e633738eee16385b817e05a6a1d16b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a76036cfbe95480d34333c725d209b3d03969a53d811964d17afad2b93898"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/protocol_adapter.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62c402d926c776f7e3c1afe17229ebb97ed9f92b611ce27fc7ad6721e35d65e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/taint_ablation.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"677d6889255a5199e9a89a7531b80c51f3ca84267a82d38e9d692a6a4fc41dbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/taint_ablation.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"26da364a09795f289b8604ca4c8ade3c143955da2f6014aacb89e3a9a88b2ca5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4083759b400a44638526337ff6fffefc21c700451d44a420fec730c2e586a85a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be7170b52f6e699b4b0d7b15cb797351a27a3a4fdbc614f214a9b71a1fd0fa6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b50e3b1e32865ddd3f03a63e149a12a841eb04e74130a42080cf84e2f17b86f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8a5dfa6dfdd2556ec98915abebb45beb005efe70d439c9907bd43c566c8c7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbbf0180da160a3915fbdd4e1de13088d05bad70229d636510201e31e2c1b14"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04e182092f12c2a251c198c28a1051fa3630f150114691459835264453f52ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"814c1bbe5a02839785e748b85ee5d69375fe93e31b20935893985e8985846c46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/exec_composite_policy.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d24634d07b248f2eb9721dfe82a1749b4280ea1bc8656a366129423dad881e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/nanobot_policy.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82766cb27c4eaae8c6629a496c661aca572696ac1e7832ea76d169dfaf36b9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/nanobot_policy.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a201d778a7ee3ba60e686cb0bd25ddc5d6ffda9ac7824cd8a7165b12247b4ca6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ad9c3bbd9ce63c0d9250db8d4c83730dba8e4973dc5f8ccb4e169828621022"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03f6fb8eeff462f59ea09abd12096841db5e71b4c4f1bcfe77f8fccbafdc3ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/openclaw_policy.py"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5a94b7b7c8cb886cefd5726bb4899af27c49e8ddee1527fd58048c807ed343"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/rate_limit_policy.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0952969c77f9862d3de387b38a7636d87bccccbbe72a0972e18fc226b80dd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/rate_limit_policy.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"543c5ece2a357dda1eef57a97130fe5fc040fa549c725cda0a368cb43fd4351f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/resource_guard_policy.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd7aa2e6b0550f11dda7a3b186196c100c805f2c53e660f8c8516439ffa1288"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/unary_gate_policy.py"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb78ce5d6ac95541e13b0f12ef605aaf6ca2667df522e19ef88b3cd85878cb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/instruction_parsing/helpers/skill_trust.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6780d18fd812e766a2c4c04ac8297944c3bd7715393d61a8319391c345cc3423"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 44 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/db.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec0fe52be22821920f640af5067f0248a72f0197bd29ab8967fa4622650a3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 49 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/db.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"002b8dc3af52e236dd5a2db27b73f0a6c0fa4b521ea02127bd11eff01f053c27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 53 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/db.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddcc801430939b5630fc60294b327792cff7656a5c42c4e82c4acb24b81b49f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 41 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/evalJobConfigCache.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"be46cd3b1cf91ec52532363ed7773109ae49dfa6896b2e2782fda33b98be57c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 62 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/evalJobConfigCache.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e013ef4a766e5d110fc202b9bd3ca0905f0f87fc39a0ee5c0d590690058d0fa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 66 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/evalJobConfigCache.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b468ff3c51cd8b9be0c6af2fc417d49ef3fd1a94d4dd363540e301906dcc9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 85 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/evalJobConfigCache.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf39c19e2487a1ec047d817ce280c89c90d2229c1cc4941a8dea0f40fa41743"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 89 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/evalJobConfigCache.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"be88b1ad7e429b7bdf7723d0a8f1d9ea8d83c28a2647829a31bdeaa91274e98e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 18 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/traceDeletionProcessor.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a901b33bea399f356e1b43e719d0363695f568ec6d406a0dfff0525d73db019"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 38 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/traceDeletionProcessor.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18f93be6c39a219c5e36a467e870c966e85ec2b3ab2354d69f97b6bf9e8a3cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 81 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/traceDeletionProcessor.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4ed6a435548f4fa8dd21009a8db373c9d742021b048d01ec765eb110b0dbc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 129 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/traceDeletionProcessor.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5728a00a697472a18f4bfc07b15c6370580ccc8ae0bfb9fd20c63944c4baeb7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 93 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/webhooks/validation.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"725d1d5cfd3e0d77c972c5a90cfb0bb973eb48e64df983ceb3d69dee56642e42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 106 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/webhooks/validation.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b7a6a69cb711d5f47f2308ccdd30cad7fa52393e6ed17b3692b7716a84b07b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 48 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"917c63b5e7b21a00bd1450b727dae032f5a8bb11976d38445acfed885ed88f35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 192 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c83b8e1dc39fd3558d06cd78efdc45f0376f698b60a2e38e2133e25639d2cf6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 194 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"09423d3ad5d709dce39311aa44c0d5f267b1ab00b831b0672e01a4481ba14a84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 227 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"36447c91f4f4ebc27ea9e39f30aee36b44a2a066be26050254fb383fd5fcd8ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 246 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a60ecb57c86f002c0826c7c14590842d38deb66692eab47fe36b9b393ccec2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 265 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"773038231ae2cb41aef0a4518e730493672ad21325de72bb41b7f5f67c7c4eae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 296 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74c10a9873ec095c195cdce3c63bcc338d14c683a8591c3be5f8c78be264fd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 321 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"690869e06e9922684946042c0e13554c80bc6af3ab887be529d2429083687b60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 350 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"befdbe5ca9a651e2cc18144492a34e36064e253355adb1b1ffed3344b558ca00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 382 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"259dfd7098c03b38ad2804128b4025f66002e0e21708c2c7110e79d46ae94840"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 415 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d3a20f5c63d990d2e118cdb54751b06a20dc5439f194c7881d3e4faadab1f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 525 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeb9fd79a412306b1f8d4d4041f5a1574a8efd1d8663bb76d58ed878d17aeda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 545 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e560c368e218359957ec412baa7734323fe2400345d6c47b7f2f351065cf9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 563 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"b617cb688917ac84a042eb3c4f4f1d4c61af782552dfc6abc94867fbc044c1bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 578 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"b737df7e27a3913b5e50275dfb518de11dbc3b5eb33ad183813aefc156dcf510"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 602 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4527ad0b2e62fb2182f0d529da34182f3efd38a3ad0e5a6ed42c91235742ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 625 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"200b16cea3cf56a3ec2400c01d896cefe16157eb2159384b7edca60ea652bfb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 656 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de314b005dba80fca753d2d6557e3cdbefce1ef490138104ca6d6f03288bd68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 765 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dda3806312f3d99ced49dedf2196f508a10e941bb1bdbfe8a98df01cf3ed26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 784 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14b2ce1343ce00b5ed3cc936843592c7469ab61bc63b77e2f4f7e8d4da21de3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 805 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d0f308bc05e439387dc3c7d05d1f12850787ef157a7864894916a6e2c3d39c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 820 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"98651fdf1126b1d1f1ab08a6c0b71314cc9dc02effe338cc19f81a0e4c7151ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 842 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"1142726689e113670ee569cdff5a9678077149007333c865976f49a66bd7eac0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 871 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0047994746d0d051e6bde36dd7dd401678ad1c4bc0f4ea8c8a4fc11073941e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 904 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/StorageService.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"c897cc1d9c3716aed6d06ad4acb36e4ddbd37d88a9c6012cb9e3d8c35c837199"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 41 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/cloudSpendAlert/sendCloudSpendAlertEmail.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9aaaa7d5c1197ec3c3e9a8ea7bcdce784f63b0c1dffd10d8c602de08639861"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/cloudSpendAlert/sendCloudSpendAlertEmail.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ababa3e127acfa0cc200c86773d8c82a32a2ceabc97964abc2e47016afa889f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 80 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/cloudSpendAlert/sendCloudSpendAlertEmail.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"af300b7352400a6ab8e788aa9a12177ebe34f9db339bd4cc180d6a4978c28fc7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 84 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/email/cloudSpendAlert/sendCloudSpendAlertEmail.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"af020b0a3fedcf192bdd26521574fa724381ad1a6216be6966a55aa827451928"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 422 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/PromptService/index.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c48f07357fd76aa54689641357cca578e30ea1dca02a3c169c15ebedaee9ea2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 426 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/PromptService/index.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7bdee389530994449c4a75f28a50513ca9241b0bd6dddc9160ea419ee41a7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 430 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/services/PromptService/index.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce16d3ad0dc4d05e919b551ac63204c715797c82f0fa1f37d973443ac086a724"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 195 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff7b0c0eab1a6296d82e235f7cc5ef0c71e8459328e5549e9337c0286be58e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 211 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8fae39252bacf5c1837ad524cb5721b317ba6d1425c3720fee4921c97aeb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 261 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0d420e6260d17ca025d04ada2676af08fb207a51e825f623466c83ed6a6ed7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 277 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"435d34696d51a8d1cd10203b2922ee470b9c5f042e7d21ce592296c759d8c59a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 330 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b38de75fc66e96b107fbbbb75c0550bcfbbbd8e7ad9e2a49b98263903449d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 387 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6204642bdfd1c06b65619424d9cb56cd76e8a1717ac6eb7eed28b441bbdeb48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 417 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"753d889114b1a04d4ac02e8358fca49b56d866cfb8f5f4d7eee233318bc9b44a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 431 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"e149bba0440063da75ddd8ce236b5ffbcac9b023bdf6861665d800fd84d2b1f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 444 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b84e3f46ede68bfe6f00e0a9cd4ef85db4f8f2927187d9aeaa31582bdb2261"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 499 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4920e3adac0dd5c958541f86c3f64e1c561133538d89a5d7770c9452f70ee0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 515 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/clickhouse.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ed0ee1a108e7d276be5fe85d5f071eb3dcee57b9f8f1ebe49273a1524832e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 675 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43e5457a9f34e5abdac5ca10d9ef8b5c48fe5dfa68da24b76dc3126bc041370"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2344 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/events.ts"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd96258587ba35d54ed96b166d5bdf4dc1bd10c5d461e757bc1b5455bafef4cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 378 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"af00084670fa9b75280ca899928dbbae68e43431aa231e348c3bde8debfa1844"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1258 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations.ts"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a383eafc7febf1a57df1597102aadf91a3a258787788d0790a4f097e3f2ac553"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 127 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/observations_converters.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3a3ddbef03a714017960c9f4f70d54d17234999ffe3c63d64dfc1e638a6f09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 968 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/repositories/traces.ts"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4b76bde74b359476c50afb29edde185354255c64c9150297e51cc5df46b53e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 86 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/ingestionQueue.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8080c5ddd5170c684f1c3c7446c92f96f5a235a8403228f29b27efd8796ac60f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 90 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/otelIngestionQueue.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f16712eeb0a04d340054f3fe2d74087778ead82f8dd548c58ad0ef0c3bd6564"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 19 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/redis.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8e69aefc8f2af8ffcac3c5260cbbc94f40c621c737445e943ddc3097fbb059"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 27 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/redis.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0f7a45feff4647b779d6b4167ec01772861fcbae9001dfd68226adee3fc8ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 32 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/redis.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e398746272b0ec83493cc05655b32e6b675de992c8fbf4fa435a01d3d8901b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 90 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/redis/traceUpsert.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"effcb45dbb8a921d690e24164e9c8142cfc2588fc0112a60eebdb799882b11a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 159 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/factory.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bceec1ea2050a6c747a00acc87d9666496511533d05a9b69c23a6c8cafc083"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 37 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"759b561050017c9cf89cf764612624c2ac3d4034b0a99b70cf3cfe1353846675"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 45 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ed98931f44a48007ac74c549c09c0ead9cec28fb165aac72f0c30bd8a49366"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 90 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"555ff75f57efdcda11bd88d8a8c12d2b0c05ce6374c768952ff2d21c1a24554f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 97 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/queries/clickhouse-sql/orderby-factory.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc18bf21e6478acdffd390c309799acf58b8b1de0cb99024399afe1abd8a8f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 308 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/otel/OtelIngestionProcessor.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef28bf85433f16a6ddffa8d29a80c2de809bb8479f6f3c1363d1afbdb172196"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 36 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5d6fc1de85209eeeff3027c421ec75db16b3842fbf81db946dc2f4cad2b0bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 45 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7908f4ce919795eb760b258b344e058173f1092e055702b3ccadf6a9f935440"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 65 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1d8d65a13bb5fcd175f9d577e952930c338b907234d1c763c0780f7951f4c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 75 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d14e32050504a3f28c4a1e7e7bbd57e68dadf7de259606bb5d2237ed3edb94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 87 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df0b85cdbcd7f704c8a52bf2ae8770bb722f9d9ef4d4a4a744bdcf02959919b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 153 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b3ca9f6a789b912f7f9e235837f136a6121fbb441cc7bced936bf6408a5423"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 158 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12e35093e480631e1fe86cf1c08c219ab03181ebbef6d377f2c5cd00de05240"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 248 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f6cbc5d732ea44a81ff3e71350ddf3f47f25e127464277a24575a879b3b6b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 279 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bb37b3801d64d4301a2e4be4b9ea36ac054428089b76bfc48033b89e8011fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 337 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a8d9eab2c4642d60ebbca6c0b34c9c3582871a6fc9b2b41d70a54380686512"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 342 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3183e8c4d5b404b6105654de5d47c2f8ff38da4f741a20ff01e392161323e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 388 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a12929dd8d0a2adc70852ca61ee1a137cf9f7aacadba251d1a2681f9d4758f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 392 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f49d22bc8c5e1975dded1fce0dd6ae96bbacf9e99a2e58d8c798f7baa13c5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 395 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/modelMatch.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91968c24617dabf8633f47ad881d945016bed51b968ba255ebe3c6b6389662e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 32 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ingestion/sampling.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7e36895fea24f3f074ea0dfbe700827c655102a763753d4e8b743d96e5a9e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 177 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/ee/ingestionMasking/applyIngestionMasking.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5494fce8f781ab5f03d76741983a6b56cae9fdec92c7157e613c9f1ce0ca53f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 79 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/data-deletion/ingestionFileDeletion.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1695649f80d892e4b1231a5e28d26a0a80c71f16dd8b1b7655034d001ae84c6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/data-deletion/ingestionFileDeletion.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"546cfa76ab8976438659c39ea081da74f01bc5d14f0ac0a5db3aa1a9c74d165f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 11 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/clickhouse/clickhouse-logger.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"84111137e9abeb516a5fc5a28de951d1c64124225433efbffbeeba642f1076bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 15 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/clickhouse/clickhouse-logger.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"901f1ba5d474c49838dd0712c51b31f2343e116f73c22bced01de0e3a68399dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 19 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/clickhouse/clickhouse-logger.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf0810c1122fa406528fe70f6fef643e28a853b6b31864952115b7f92fda88c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 23 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/clickhouse/clickhouse-logger.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"029eac34a6bf0c14b06784317e64197f8f3a362eb2681b21000faaf17e7f1213"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 30 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/clickhouse/clickhouse-logger.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e34494c40a3dcd7e259fc16d76030632f4524014758a16e874d0263407e87a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 37 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b39d3c2458e1af2e8b6d80013d5ad7a8eb98ae950ab356ea95aa3c6d56c5f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"272d6d3152ece4d9e34198462ab037f29d42249940141b4750be7ccfe9a47685"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 80 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"440f1c214c4c248ad874b32920a77714164d21233cf706b42a707ec0f0058539"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 110 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec81a0d630edd00498f598328262a2c77fa75a228ee42272d510c34a274e466c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 115 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/src/server/auth/invalidateApiKeys.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c62fa6f3dafdb5ab76c3378b7d989bcb5aa2dcaa293f8cd91b1acbbdbe27ed7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 82 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/load-seed-clickhouse.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fad65808b1197f47fb0b9839b57f594c80b6c841f389f4de66f84091443115c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 15 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/prepare-clickhouse.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b0b170eb90e82550f52e5d9de4e4f35f5af748ca218e6d9b123318e32eb8a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 49 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"53339774f716b19ee637190378322de3e1d7aee876b26cd08df43a1684d4c254"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 199 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ad98f2344b078316bf658e019a58806ab9ccad3b61438dfbd9f4f6e95517a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 203 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-dataset-versions.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacf871c08cf8fb3d7919697ab26bf2ab1eff6487f116b0abbd8b49fd7727d92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 106 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d18e1f94e990d8f7987efc977b44b6fbcb31df59ac59bddaac81589d25209c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 131 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f347bb6d6c7d52b73cebe304a67c76ec6963731bcfd03a7f1a6361392cd799"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 163 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c409b2d104269e43d7af94c69d4bf275ebb46893291b99fc31f2a0943eb4bc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 165 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8caea0d2df758cc3d104c9b3479252126a3e715f36a4a55c7391633b05398b1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 210 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d20a4784db3367cfb37e71539cc7cfc6b88b89626f741dec236d4f2cda523e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 223 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-media.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4223a7ea5ce68d123b02f504b8e74dc79167b826cbf408c6c85012c22ad2a43f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 707 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/seed-postgres.ts"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce27196130b6807382fdc70b014e059975a42c92a53e1ecad6ac7423d8ae552"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 98 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3270ae57735a559342a0b250358dc0e57d8e60e9e68c1b750d3c1a0c5b9de766"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 103 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6049991ea49214a607c72922cbbd05a51dfda120d7d2325128f48913e17067"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 108 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afd7a5fa3734e43e37fbb2f12038760c33f79480f7e518d034ff7d71c49fe2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 207 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7d39df34392f97007bafd70c44992f8279bd02fbfb742fa51c267d67107623"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 210 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf794c4a79974f45ec878fe4d71ec60f81cf70ef8a9f6ea03500560a3ebf7a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 251 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3df8a30b4bd396f80673642fa9034f992140ee8ec7bbea14ee0611c9be2a8fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 256 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58af3c7c6fa54728cd8822cd1f73a4e939fbd4a6320be1f297a2806727437d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 265 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"86053f0052a42fbd0e9abaa26fb92b08d4b8e85f4204b3032464985e567aef7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 399 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"686fb32c8c71b4b4170378139f449ab529db1cc32c402f72a71bf81bdb71a58e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 405 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4b61a9b715dd6f5c51129f27153367fa9c31db30d11287d453097b24ab87cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 410 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6046db95915c546494670b0cf815c1188b1bcf7c2e9a654fc7ffec01c78a124"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 430 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d274ef64856a8a069e3ce4b20acefcaa42a09f093d2b1f336010a100c10ec67e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 435 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73a0dc14f5b5a33a058a6f516c08bcf82b7bd2b8fbc898a63371c9ebf7507a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 462 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"71382e4166290ea89b6a3eb883ff704ce2c4760369bfad55f5923f25e244053c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 469 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"de887f4cb18e5d411553a5047b3ab8facbc251271bee43153f7a08f6f34e6c41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 549 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/seeder-orchestrator.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1ed26e40c9c370cc3fe27148051af3a7e87a83b98695e73b98ce974949ea8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 55 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/packages/shared/scripts/seeder/utils/framework-traces/framework-trace-loader.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a83f0b428bdbad5c23b940cc92beccdb250dfc45dc6ef1debb86390cb1d6cb"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 1/4 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.0 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 362 assertion(s) across the 362318 source line(s) of the 1885 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeExpansion.clienttest.ts (39), langfuse/web/src/components/ui/AdvancedJsonViewer/utils/treeStructure.clienttest.ts (17), langfuse/web/src/features/trace-graph-view/buildGraphCanvasData.ts (17). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a554ad00f56accfecdf63ff9f8b2eeffacd6f9527eb8d8a96fa4ac41b591b88"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/langfuse_replay.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a4c61e1ead2f2258036859220688b0c175c6423bbb9c3b25de34611a6c1a59"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab4ce5800e80dcdb1362b74547f0d15600157b328319be9ab88ce50a2e2ee03"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"683b5751a14277d0a4cf9cbd708c79ed834137f1a6eed8baf0718a18dd6a71a5"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Distribution Loading chart...\u0060 under \u0060isLoading\u0060, but \u0060isLoading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionBooleanCard.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0316830445d57d091231ee5e119929adbe953186581407800af25a86f8f415e4"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Distribution Loading chart...\u0060 under \u0060isLoading\u0060, but \u0060isLoading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionCategoricalCard.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b270d2df85e4934c15a4e7e2e9213a71b44a8f77ca35471d78ac57255a52bc5"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Distribution Loading chart...\u0060 under \u0060isLoading\u0060, but \u0060isLoading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/DistributionNumericCard.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db4733c513d73babed40aaeea37b5045c73ef191bfbe3db49231efd15a0f716"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Score Comparison Loading heatmap...\u0060 under \u0060isLoading\u0060, but \u0060isLoading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/HeatmapCard.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"985c55c4028446b8afe45168afcde2319b78e808021ad8939e5e82ed1f92a90a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Trend Over Time Loading chart...\u0060 under \u0060isLoading\u0060, but \u0060isLoading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/score-analytics/components/cards/TimelineChartCard.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfb429bfc9c4acc6ad25e409c1f729c311133883dea8fc582fbe91e479aeae4"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CPage withPadding=  headerProps= \u003E\u0060 under \u0060! isLoaded\u0060, but \u0060isLoaded\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/index.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fbc7c7084a7a1afe5b81c8ee094eac7a984d2c69ef892e9a752cd16e5ea4f0"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3 w-3 animate-spin\u0022/\u003E\u0060 under \u0060globalIsExecutingAll\u0060, but \u0060globalIsExecutingAll\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/playground/page/index.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"286ae0a301b41bdf38e70d08596b2c31cf6bc8720c142adc3496c7739f30b991"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CNoDataOrLoading isLoading=  class=\u0022min-h-[9rem] flex-1\u0022/\u003E\u0060 under \u0060isEmptyChart ( { data : chartData } )\u0060, but \u0060chartData\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/dashboard/components/score-analytics/CategoricalScoreChart.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ffa9ec5637a4f8dd8e28882159c259f2f66faa6d2356c266eb658b876a1253"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Building tree...\u0060 under \u0060! tree\u0060, but \u0060tree\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/ui/AdvancedJsonViewer/MultiSectionJsonViewer.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3d02128bda558a309a91ef0b2193a6173c9575fc10c89ac7e09db978cfa906"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading graph...\u0060 under \u0060isLoading\u0060, but \u0060isLoading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/TraceGraphView/TraceGraphView.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0faff6d42c3e0855a9196f962da9007663deb10e6985724d7743d711b3720abc"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022mr-2 flex items-center gap-1\u0022\u003E\u0060 under \u0060isValidJson \u0026\u0026 saveStatus === \u0022saving\u0022\u0060, but \u0060isValidJson\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/trace2/components/IOPreview/components/CorrectedOutputField.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd965886e2b7b2a828798e291b3f9865aeab03ade54994296d7510bed2e1379"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoadingLayout message=\u0022Loading\u0022/\u003E\u0060 under \u0060! session . data\u0060, but \u0060session\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/components/layouts/app-layout/index.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c727f7ebf522237a95bc484d153b8bec674d75ea0009a83626ec2a317299e2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_litellm_config_yaml\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":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"04663faaaeb336f0813ecda4a8b7f75bb9263f033161f3ecda7fb13cf3dab0fc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_max_emitted_tool_result_index\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/litellm_callback.py"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3d062c239fcf24e7ca61f9ef274e3351f9a8a642967c5a2d97f3fb26a4f7d2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_coerce_text\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/alignment_sentinel_policy.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddbf798fe78ff12502b6ac4cebd04bf373fae782c3e774b41d45b1f34506f3f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extract_exec_parse\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/exec_composite_policy.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbabbb2a44a42414cd0a28921881bc69df69c2ff3530afb3f4e1f2a1415b35ba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_parse_arguments\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":"ArbiterOS-Kernel/arbiteros_kernel/policy/nanobot_policy.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc8da13d1831a759ce8ed5018ab3e26748146874f87fabb4df00c55947e7856"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_parse_tool_arguments\u0060 returns \u0060{}\u0060 when \u0060(json.JSONDecodeError, TypeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/arbiteros_kernel/policy/path_protection_policy.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"119ccebd3004f554b1ad42291734e43fabe1ef654bee9f1e0e5f8317436a0200"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_load_role_policy_sets\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":"ArbiterOS-Kernel/arbiteros_kernel/policy_check.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b0a2a0585a929d72100e34f3e3ad044a07cb6e5f960188251f5562d19ceb7f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_efsm_hist_max\u0060 swallows every exception into \u0060return 128\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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae8348310336b534ac098b2ff9401ecdf6953b61e82fafa9866d9a4b14a7245"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_efsm_event_dedupe_max\u0060 swallows every exception into \u0060return 1024\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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec529e970b407fde6872c52e6b57d0256fc69993267841f9747abd137d5e7a4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_approval_ttl\u0060 swallows every exception into \u0060return 120\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":"ArbiterOS-Kernel/arbiteros_kernel/policy_engine_bat.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf23e34c89f303a73fe1b4f39d20cac3daee73fd14f4648b932f6aefd126ce5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_approval_ttl\u0060 swallows every exception into \u0060return 120\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":"ArbiterOS-Kernel/arbiteros_kernel/policy_runtime.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad9a1818c66d4355d9a9d105f0902e4fea4930c0261d9c7959f3bbf3af2c03d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060safe_json_loads\u0060 returns \u0060{}\u0060 when \u0060json.JSONDecodeError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArbiterOS-Kernel/redteam/_automation/toolemu_v1/tool_mapping.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f241ea82a517f1f5a0efd5d1891e1d2d2dfc4eedfb5d2d8cfdd1b6328d2a938"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060flattenToolDefinition\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":"langfuse/packages/shared/src/utils/chatml/adapters/aisdk.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8559e8a65c556714add281318bc197fb6ad019dae9aa1e4490e28b1e6a3d62"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parsePolicyNamesFromMetadata\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":"langfuse/web/src/components/table/use-cases/observations.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d044244383a887d82579372317d0a5a148469abc97424e646e4e7600d04f076"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readFormattedExpansion\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":"langfuse/web/src/components/trace2/contexts/JsonExpansionContext.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"69357d6ff574dad9a54077801f85f366f73ab78bcbcea87cc8c7e6f6cf68ba19"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060jsonSchemaStringValidator\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/datasets/components/DatasetForm.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2983e9da4b310e4cba6672f03c3c7deb20cb8755ff1edd50f865de5135e45e24"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getErrorTypeFilterOptions\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":"langfuse/web/src/features/error-analysis/server/errorTypeFilters.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c28409b00895cce2bf0586409b263cad5a5907bb2bb24674ffad9dc901db60b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060coerceToString\u0060 swallows every exception into \u0060return \u0022[Unserializable value]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef912d5935651a2b65ca1cec555f05871649c2387242e497415e2f6985fad03"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStringify\u0060 swallows every exception into \u0060return \u0022[Unserializable value]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/error-analysis/server/router.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6b2cfd005ceeb9e5991c3cfadf9c3b0613b43541585ed29abd3af5de60668b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parsePolicyNamesFromMetadata\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":"langfuse/web/src/features/events/components/EventsTable.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49fd278aa00f51cdf1dd34fcf5bcf2954470dae92a7d3598fe8771c8bf920cf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStringify\u0060 swallows every exception into \u0060return \u0022[Unserializable value]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/experience-summary/server/router.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9733227046bcd522a87fbbcd54ad504742be9789e9175c24f1c5603301e799"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseStringRecord\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":"langfuse/web/src/features/governance/utils/policyMetadata.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"728227b32a89ec2b7ed36386d35beb06ce7ec0ad689adf8e7e52cf50e5e19975"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseTools\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":"langfuse/web/src/features/playground/page/components/JumpToPlaygroundButton.tsx"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"b846df5f11c66cdb5d9590db4da6fafe7a35e80e105b9d2d241d32a81e47a743"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStringify\u0060 swallows every exception into \u0060return \u0022[Unserializable value]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-governance/server/router.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff099ec67cda7fdd710c70683aaa3d00db7b56904cf4c0f0f20c6faeaf6f060a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStringify\u0060 swallows every exception into \u0060return \u0022[Unserializable value]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/features/policy-suggestions/server/router.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f4c2aaa8a69bbfb2345565db5062109a9a3c4718e00c9a7ebba4ab921bdec6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060useCollapsibleSystemPrompt\u0060 swallows every exception into \u0060return true\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":"langfuse/web/src/hooks/useCollapsibleSystemPrompt.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d3ee933bbbe9a05f0d1012c5f72129138131f5e3cba4d83aeb2297d0c708c3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060estimateSize\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedObservation.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ab362b416b1b705e07afb61430fcc24b9275b0ade81bcc464d2dcb022e18e7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060estimateSize\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/web/src/hooks/useParsedTrace.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"156fb4df9749faeefba604c4fcda287a9ddb3bbe33f81f76b854ffb9c8f892a7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStringify\u0060 swallows every exception into \u0060return \u0022[Unserializable value]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ef04e9f274fd920179a6df9b7038e1541f64db07db7341eeaa7ea713e92807"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060coerceToString\u0060 swallows every exception into \u0060return \u0022[Unserializable value]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoErrorAnalysisQueue.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d39c1186842599c96c2d988e0ae6fc3037a6b6702ca6dbefd802aa051e39c5b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStringify\u0060 swallows every exception into \u0060return \u0022[Unserializable value]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"langfuse/worker/src/queues/autoExperienceSummaryQueue.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed09ab406c19e4388f473ae36445629ef3dcaca3d515c5642d1ead838cb378b4"}}],"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-1188","guid":"90b5d93c-2e8f-7d58-b831-915e7ee4a150","name":"CWE-1188","shortDescription":{"text":"CWE-1188"},"helpUri":"https://cwe.mitre.org/data/definitions/1188.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-287","guid":"ec161954-9db0-355d-9539-ae741453fd44","name":"Improper Authentication","shortDescription":{"text":"Improper Authentication"},"helpUri":"https://cwe.mitre.org/data/definitions/287.html"},{"id":"CWE-310","guid":"97174724-2e33-8455-b7cd-5c3258d1cb8f","name":"CWE-310","shortDescription":{"text":"CWE-310"},"helpUri":"https://cwe.mitre.org/data/definitions/310.html"},{"id":"CWE-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.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-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-601","guid":"9b8963d5-129b-475c-90cf-2d1766e66f2f","name":"URL Redirection to Untrusted Site (\u0027Open Redirect\u0027)","shortDescription":{"text":"URL Redirection to Untrusted Site (\u0027Open Redirect\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/601.html"},{"id":"CWE-653","guid":"aa3e371b-590e-225d-a56c-cd490a1dca63","name":"Insufficient Compartmentalization","shortDescription":{"text":"Insufficient Compartmentalization"},"helpUri":"https://cwe.mitre.org/data/definitions/653.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-863","guid":"423a0473-f7ff-b65b-94ee-e2f6cb591901","name":"Incorrect Authorization","shortDescription":{"text":"Incorrect Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/863.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":321,"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."]}]}