{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"id":"C5","name":"Data-Subject Rights","shortDescription":{"text":"Data-Subject Rights"},"helpUri":"https://codehealth.canine.dev/dimensions/C5"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"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":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"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":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"TreeManager.next_task (cyclomatic 47): TreeManager.next_task 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":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"875141cebefd26ce3ddb73618635e511517de3694e8872ef5c79f51e020b472a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatConversation.ChatConversation (cyclomatic 47): ChatConversation.ChatConversation has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 14 of the 47 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 234, 77, 312, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Chat/ChatConversation.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd243a1bd82ace66d5859a20bf63cc9d3d9d6a271422f3a7040451e9a3ee5610"}},{"ruleId":"D1","level":"warning","message":{"text":"custom_datasets.get_one_dataset (cyclomatic 44): custom_datasets.get_one_dataset has cyclomatic complexity 44 (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":"model/model_training/custom_datasets/__init__.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09c786c599a6bb9df6f27905ecd1d85edbea3bdcc2f258cdff501801df5867d"}},{"ruleId":"D1","level":"warning","message":{"text":"label.labelInteraction (cyclomatic 41): label.labelInteraction has cyclomatic complexity 41 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 14 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":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfc65ce54bee426ac39eb21b969ef69524583783f5b19a857c98dcb4c2d7b8c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageEntry.ChatMessageEntry (cyclomatic 37): ChatMessageEntry.ChatMessageEntry has cyclomatic complexity 37 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Chat/ChatMessageEntry.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e897cd12c3ee5ee2b706147d053a5a49db1dfdf23c65aa9f56e4ae1ec305bb6f"}},{"ruleId":"D1","level":"warning","message":{"text":"__main__.main (cyclomatic 34): __main__.main 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":"text-frontend/__main__.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"00356fff78093672d7dcc0e9f32e08289fe556eb0f9c10e9f21d0bebc4d8d1cf"}},{"ruleId":"D1","level":"warning","message":{"text":"patching.patch_model (cyclomatic 33): patching.patch_model 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":"model/model_training/models/patching.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d962f0f32a74f0d7b56f0536543ee71742b219db4ffdb7e9a5c5209809e866"}},{"ruleId":"D1","level":"warning","message":{"text":"trainer_sft.main (cyclomatic 32): trainer_sft.main 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":"model/model_training/trainer_sft.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcd2a9679dd68a3d7e30d4d24ac5b4c3ff74a6121672cf4a8b0bc3a450fa1d9"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaModel.forward (cyclomatic 30): LlamaModel.forward 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":"model/model_training/models/prefix_llama.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"530ee24c1aed12a9f536c661a2c899cf4fdaafff724403021e8833de1b5249b8"}},{"ruleId":"D1","level":"warning","message":{"text":"main.get_url_content (cyclomatic 30): main.get_url_content 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":"inference/server/oasst_inference_server/plugins/web_retriever/main.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44071de8aa7e7050ec7d466ec71f11c647af7f1b6e0b57df7c3905ecebe6ec2"}},{"ruleId":"D1","level":"warning","message":{"text":"workers.handle_worker (cyclomatic 30): workers.handle_worker has cyclomatic complexity 30 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/routes/workers.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9eaf0a1d3e506cee673cab65ecfc3ef29e85df7efd9a8210837658699c0448"}},{"ruleId":"D1","level":"warning","message":{"text":"random_stuff.qna_random_magic (cyclomatic 27): random_stuff.qna_random_magic 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":"data/datasets/semantics_ws_qna_oa/random_stuff.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c41a2c71cb8d8d2ecd9e8877b730e9b476af975745cc7fdc0646c9510640c5c"}},{"ruleId":"D1","level":"warning","message":{"text":"Task.Task (cyclomatic 27): Task.Task 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 5 function literals inside it that branch (lines 73, 135, 170, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Tasks/Task/Task.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a496e2f63b3bbec9b48a0e0dc30e1a212a5853e6d698a5ff61c59d72659d804d"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptRepository.store_text_labels (cyclomatic 26): PromptRepository.store_text_labels 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":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e4d7da8bf029bcf022a3db61b188109249a0165c8dd828cbb0f4023c671778"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptRepository.query_messages_ordered_by_created_date (cyclomatic 26): PromptRepository.query_messages_ordered_by_created_date has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eb101af0defbd2612a1968fd2d2f6696b147db2aba5eeb3e3caee1666ca31b"}},{"ruleId":"D1","level":"warning","message":{"text":"auto_main.main (cyclomatic 26): auto_main.main 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":"text-frontend/auto_main.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3d9296a1b8c83db86eba2e294b4fdb41ec6797654066dcea85867c3023e97c"}},{"ruleId":"D1","level":"warning","message":{"text":"trainer_rm.main (cyclomatic 25): trainer_rm.main 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":"model/model_training/trainer_rm.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"422bb0e048280304b7eda07ef1e9db110dcd93afc12ec0e509ea48b0648dee6e"}},{"ruleId":"D1","level":"warning","message":{"text":"pretokenize.tokenize_dataset (cyclomatic 25): pretokenize.tokenize_dataset 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":"model/pretokenizer/pretokenize.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c86d8a3c175eb4d7ea782b75d97d9df80a2975f27980c71a37765be1e044875"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptRepository.handle_message_emoji (cyclomatic 24): PromptRepository.handle_message_emoji has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5e1032484a1640361a294cfb3ae547c53218cdde8ddd8f1a7170de8956a97c"}},{"ruleId":"D1","level":"warning","message":{"text":"UserStatsRepository._update_stats_internal (cyclomatic 23): UserStatsRepository._update_stats_internal 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":"backend/oasst_backend/user_stats_repository.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2c2a1d3d98d76fc9bda56c391e110612b713a1a542d435c2dff17befb79b66"}},{"ruleId":"D1","level":"warning","message":{"text":"prepare.main (cyclomatic 23): prepare.main 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":"data/datasets/soda_synthetic_dialogue/prepare.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"424d3149cbbe42cf2b662329d53d34a7d63b7bd55193b6505ab2f42d4f755358"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminMessageTable.AdminMessageTable (cyclomatic 23): AdminMessageTable.AdminMessageTable has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 129, a function literal at line 215, onClose, \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":"website/src/components/Messages/AdminMessageTable.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede80cd7b71c87104708c9aaa2bda74caf11d3d16845afdb20de8d872cf55ed2"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.get_messages_cursor (cyclomatic 22): messages.get_messages_cursor has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/messages.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a87d09092571fc51201ee52807db9ef8822be7e89cf3d6f7dc5e333890547f"}},{"ruleId":"D1","level":"warning","message":{"text":"DialogueDataCollator.process_one (cyclomatic 21): DialogueDataCollator.process_one 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":"model/model_training/custom_datasets/dialogue_collator.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8221ac42d6246ef575fc9053308ef2e7e1cf8ac60775a5942fa02ee3854b16"}},{"ruleId":"D1","level":"warning","message":{"text":"admin.get_flagged_messages_cursor (cyclomatic 21): admin.get_flagged_messages_cursor 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":"backend/oasst_backend/api/v1/admin.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96d18593b8435a3bafe43e555d57a6797de3fdd820c96d6a5489edbc287a023"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeManager.handle_interaction (cyclomatic 21): TreeManager.handle_interaction 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":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aba971bf0d0f83ee72971f41126bbf0c492d27eea3c1c1dea2b2c77ee808128"}},{"ruleId":"D1","level":"warning","message":{"text":"__main__.main (cyclomatic 20): __main__.main has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/__main__.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d66545036fc66d7e7a48b9c8a15e802be1c520a5c294ccd67f2fe0ada4ec37"}},{"ruleId":"D1","level":"warning","message":{"text":"work.handle_work_request (cyclomatic 20): work.handle_work_request 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":"inference/worker/work.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee395dc17043a3a3d01705f4ea47bfa4f11236a6c4025fd14989dcef9ae8da2"}},{"ruleId":"D1","level":"warning","message":{"text":"oasst_dataset.load_oasst_export (cyclomatic 19): oasst_dataset.load_oasst_export 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":"model/model_training/custom_datasets/oasst_dataset.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8395f3bcdae044fce4fc6fdff2aa55bcfe369c9cf9d64ed5d8cf2fa54ef007"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaForSequenceClassification.forward (cyclomatic 19): LlamaForSequenceClassification.forward 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":"model/model_training/models/prefix_llama.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d316587ed7766119c52f895fd5ad9c56d9f36ccf6a0f9ee19309d970207a4be"}},{"ruleId":"D1","level":"warning","message":{"text":"export.export_trees (cyclomatic 19): export.export_trees has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/export.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5e3ccf2068e352fff87fec69e1f0f3a0f03845e4a2ddccadf7d788557bc69c"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptRepository.store_text_reply (cyclomatic 19): PromptRepository.store_text_reply has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"79daec5d1672cf9b1780227f3690af702f3206645034115b3fb9807162344cea"}},{"ruleId":"D1","level":"warning","message":{"text":"work.work2 (cyclomatic 19): work.work2 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":"discord-bots/oa-bot-py/bot/extensions/work.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e1cac80e2029fe8a5d365285113dee0f8aab5a914e51b825207f60588fb7b2"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageTableEntry.MessageTableEntry (cyclomatic 19): MessageTableEntry.MessageTableEntry has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 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":"website/src/components/Messages/MessageTableEntry.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0d222a1399db21eb04d34e555dd8f0a43c85a511c7da8b9bb21685553db651"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt_dialogue.load_oig_file (cyclomatic 18): prompt_dialogue.load_oig_file 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":"model/model_training/custom_datasets/prompt_dialogue.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d455187f745e79988b7251e6bf73020e653e83cbd4f59ec06d5795ede6d868e"}},{"ruleId":"D1","level":"warning","message":{"text":"chat_chain.handle_plugin_usage (cyclomatic 18): chat_chain.handle_plugin_usage 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":"inference/worker/chat_chain.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc1952b481d4aa5f6b2e6c867bd666d260b9fa555540155b32dad27d0872108"}},{"ruleId":"D1","level":"warning","message":{"text":"tree_export.prepare_export_message_node (cyclomatic 17): tree_export.prepare_export_message_node has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/tree_export.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c3621c98466f5afde1d8e63efcc468c4eab0462bab20eb0375414aff0333d8"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatListItem.ChatListItem (cyclomatic 17): ChatListItem.ChatListItem has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Chat/ChatListItem.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5216df95d6ba7cdccd48f4ff24f4468170e48399ee3032c9d5c921da68ef6ab"}},{"ruleId":"D1","level":"warning","message":{"text":"Vicuna.process_vicuna_conversations (cyclomatic 16): Vicuna.process_vicuna_conversations 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":"model/model_training/custom_datasets/qa_datasets.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f8d6c582b2a116fdb4c0e9bfefe662564082757c8ed26306cff18cb04598c6"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomPPOTrainer.make_experience (cyclomatic 16): CustomPPOTrainer.make_experience 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":"model/model_training/utils/ppo_utils.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff2fe3a056d7afd67df22fb8e071008f9ceddb9631372b499eb3c2a85c1e678"}},{"ruleId":"D1","level":"warning","message":{"text":"UserRepository.query_users_ordered_by_display_name (cyclomatic 16): UserRepository.query_users_ordered_by_display_name has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_repository.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"50abef75de0ead72b048794da0107f1db30db19ae07ab6a7d2dd78780239f2ce"}},{"ruleId":"D1","level":"warning","message":{"text":"chat_chain_utils.compose_tools_from_plugin (cyclomatic 16): chat_chain_utils.compose_tools_from_plugin 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":"inference/worker/chat_chain_utils.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"232fb3d73d80ee190f51fca7a9c57d8b409aae01faa662169f1c4dac31db3e99"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatConfigForm.useHydrateChatConfig (cyclomatic 16): ChatConfigForm.useHydrateChatConfig 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 252). 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":"website/src/components/Chat/ChatConfigForm.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"69aa97ab1fe0d63c6bb11c2e739599c4d6963d40332f25506f735a68377a5d5f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatConversationTree.TreeChildren (cyclomatic 16): ChatConversationTree.TreeChildren has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 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":"website/src/components/Chat/ChatConversationTree.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe4274b3ae05bc82804a5099637dd0310619ca5e1508ca70c7f5606e20f9ec3"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeManager.next_task (cognitive 97): TreeManager.next_task has cognitive complexity 97 (threshold 15). Drivers by points: if/else 34 (85 pts), boolean chains 7, loops 1 (4 pts), match/switch 1 (nesting depth added 54). 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":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"4604d821e7af1304b0b06e95b69870f6f81155901c86472a015701ba2e78c6e8"}},{"ruleId":"D2","level":"warning","message":{"text":"__main__.main (cognitive 89): __main__.main has cognitive complexity 89 (threshold 15). Drivers by points: if/else 12 (38 pts), loops 9 (27 pts), ternaries 4 (20 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 61). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text-frontend/__main__.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c3e50bc7a4018e1057c9bd078bc70b185d4016186ef52c1915db487ac29965"}},{"ruleId":"D2","level":"warning","message":{"text":"label.labelInteraction (cognitive 83): label.labelInteraction has cognitive complexity 83 (threshold 15). Drivers by points: if/else 31 (66 pts), ternaries 4 (10 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 42). Of this number, 48 points are the body\u0027s own statements and 35 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":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe0e8bb8f5bed542df19589d8b5822c451f4965baf20cabeb4b3f9e7db29871"}},{"ruleId":"D2","level":"warning","message":{"text":"auto_main.main (cognitive 70): auto_main.main has cognitive complexity 70 (threshold 15). Drivers by points: if/else 10 (38 pts), loops 5 (17 pts), ternaries 2 (10 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text-frontend/auto_main.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae42b9fa08aa465071ff8b8f0ab2150b710c093cf78b094ea0323be0828cbf9"}},{"ruleId":"D2","level":"warning","message":{"text":"export.export_trees (cognitive 58): export.export_trees has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (40 pts), loops 4 (11 pts), error handling 1 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/export.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"db938f05439b6c7d0ba1e81e6386a672edd6df77a79deb1de90356a9bb421a45"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptRepository.store_text_labels (cognitive 50): PromptRepository.store_text_labels has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 7, ternaries 2 (5 pts) (nesting depth added 24). 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":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18ae4de69d2a4e883c599af8cf6e59d7b53f27d148807a099acb77669a0dcd5"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatConversation.ChatConversation (cognitive 50): ChatConversation.ChatConversation has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 15, error handling 5, ternaries 4 (5 pts) (nesting depth added 6). Most of this is not in the body itself: 11 of the 50 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 234, 77, 312, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Chat/ChatConversation.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c2414bfbd135ce02fb98139fcf47c8125cc7082ed727ce13ba79e27f4b809c"}},{"ruleId":"D2","level":"warning","message":{"text":"tree_export.prepare_export_message_node (cognitive 49): tree_export.prepare_export_message_node has cognitive complexity 49 (threshold 15). Drivers by points: if/else 7 (33 pts), loops 2 (7 pts), match/switch 1 (5 pts), ternaries 3, boolean chains 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/tree_export.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"627aa5de22e92811ae212944ff54c13975808e8e3b1dcb6bf907e7f2e2603a50"}},{"ruleId":"D2","level":"warning","message":{"text":"workers.handle_worker (cognitive 48): workers.handle_worker has cognitive complexity 48 (threshold 15). Drivers by points: error handling 10 (20 pts), if/else 8 (18 pts), loops 4 (6 pts), match/switch 1 (4 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/routes/workers.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f0e61260894928a30968c8d8f13558b7b62c48fe81983d3860d0bafd85840f"}},{"ruleId":"D2","level":"warning","message":{"text":"trainer_sft.main (cognitive 47): trainer_sft.main has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 7, loops 3 (6 pts), ternaries 5 (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":"model/model_training/trainer_sft.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7cf27c0e7ca30dc58a873950ff76e925d92c718523d83dcad2bb7828b7a566"}},{"ruleId":"D2","level":"warning","message":{"text":"pretokenize.tokenize_dataset (cognitive 43): pretokenize.tokenize_dataset has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (31 pts), loops 5 (8 pts), boolean chains 4 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/pretokenizer/pretokenize.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"596a01366d9225a2169d1f54ce70f8e1eb1ad8c4ef1ce568465c7eff22b0952a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.get_url_content (cognitive 43): main.get_url_content has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 7 (13 pts), ternaries 4, boolean chains 2, error handling 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/plugins/web_retriever/main.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a386c6f3bc1d354519234d09b9a4f7448efe178a7aabb5a18876f03f60d59c20"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare.main (cognitive 42): prepare.main has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (37 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/soda_synthetic_dialogue/prepare.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9afbd9d8f82105cc2267c1fd381cf377a5d3bc38c9c491869e07a11f2c2bcbb"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeManager.handle_interaction (cognitive 41): TreeManager.handle_interaction has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (31 pts), error handling 2 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 25). 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":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacda24cef9d7867e0899abaddc8f3e5728e40dcbd0dbee80aaef00cc99082c6"}},{"ruleId":"D2","level":"warning","message":{"text":"patching.patch_model (cognitive 40): patching.patch_model has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 12, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"model/model_training/models/patching.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c851130ad3949380a47af132da0747f08022151253e50991b5094e78212b46c1"}},{"ruleId":"D2","level":"warning","message":{"text":"trainer_rm.main (cognitive 39): trainer_rm.main has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 6, loops 2 (4 pts), ternaries 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/trainer_rm.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f1642bf4f7798d95bd1d1d4875295f9629e10712621102697120582d338291"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaModel.forward (cognitive 38): LlamaModel.forward has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 10 (13 pts), boolean chains 3, 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":"model/model_training/models/prefix_llama.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"9034a3462b4e608b662b185171af9edcdb4eccbb43be02c86e30b70c7dab9303"}},{"ruleId":"D2","level":"warning","message":{"text":"oasst_dataset.load_oasst_export (cognitive 34): oasst_dataset.load_oasst_export has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/oasst_dataset.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"993bd7bd5c1528bf22093bcba3d2cfeba4911d291f85a85d500ffe1fd46b9f5e"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt_dialogue.load_oig_file (cognitive 34): prompt_dialogue.load_oig_file has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/prompt_dialogue.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1e930eebc5aa6b7b4ef90e3eb782c1da416eb4667eff8bc1260d4ffc007abc"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomPPOTrainer.make_experience (cognitive 34): CustomPPOTrainer.make_experience has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (28 pts), loops 3 (6 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/utils/ppo_utils.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c20398c5b4e0594252cfcd7d793e2c22fa654a1945e18f5ffa462660061a92"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptRepository.handle_message_emoji (cognitive 34): PromptRepository.handle_message_emoji has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e33ed0bd67590b4386cab2d86111856aad076c5745d67b99123e2aa60b97680"}},{"ruleId":"D2","level":"warning","message":{"text":"work.perform_oom_test (cognitive 34): work.perform_oom_test has cognitive complexity 34 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 4 (10 pts), error handling 4 (8 pts) (nesting depth added 19). 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":"inference/worker/work.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12c2b8c2c6a407cb9ff66188ba30ac168691bee367b4ae77cd1b7510bfe9e3b"}},{"ruleId":"D2","level":"warning","message":{"text":"__main__.main (cognitive 33): __main__.main has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (7 pts), error handling 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/__main__.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"367fa91f57f38a8bb3ecb1ffa3774bbab9efe406864137368573008eb71e5e41"}},{"ruleId":"D2","level":"warning","message":{"text":"sampling_report.merge_configs (cognitive 32): sampling_report.merge_configs has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 4 (12 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":"model/model_eval/manual/sampling_report.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a774725b7ba61f42d8139fb5743b15642c275e881af4c6a82d10a07a8841d35"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptRepository.query_messages_ordered_by_created_date (cognitive 32): PromptRepository.query_messages_ordered_by_created_date has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4873c00f19588d205a05eedb1a01f31cfaabb3aaed702d3ebaab49824f26b54"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomCausalLMHydraWithValueHead.from_pretrained (cognitive 31): CustomCausalLMHydraWithValueHead.from_pretrained has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (7 pts), error handling 1 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/utils/ppo_utils.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d34f44c8b2439835c3f600dc4881083f5f05770cb273ea2e377667f44b786b3"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.get_messages_cursor (cognitive 31): messages.get_messages_cursor has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 5 (9 pts), boolean chains 8 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/messages.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0322497d339b7625aad88ad3eb36021b5316186ecaf01ada48533995a32ffc02"}},{"ruleId":"D2","level":"warning","message":{"text":"work.handle_work_request (cognitive 31): work.handle_work_request has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 4 (5 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/work.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf209204224513eb653f77293d184226668cf78820fdfd40ae16417ae9689e2"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.get_flagged_messages_cursor (cognitive 30): admin.get_flagged_messages_cursor has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8, ternaries 4 (8 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/admin.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cdd0e1a53ca643e1b95e97ae0e32e60eadd36af9aac8149c01813403a222ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Task.Task (cognitive 30): Task.Task has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 4 (8 pts), match/switch 4 (7 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 13). None of this is in the body itself: all 30 points belong to 5 function literals inside it that branch (lines 73, 135, 162, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Tasks/Task/Task.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f63802cc33e55c8b0a0499d6f04f2d024ab6dd402f282534c89ab432150f80"}},{"ruleId":"D2","level":"warning","message":{"text":"create_synth_import.main (cognitive 29): create_synth_import.main has cognitive complexity 29 (threshold 15). Drivers by points: loops 8 (15 pts), if/else 5 (13 pts), boolean chains 1 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/manual/create_synth_import.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01a90cd00f7ddb4c7201bb4ba7376dd077af47c3aa63101dfd018e41a607497"}},{"ruleId":"D2","level":"warning","message":{"text":"DialogueDataCollator.process_one (cognitive 29): DialogueDataCollator.process_one has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/dialogue_collator.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3c36994dc670150bfaf5a8fc0ac979ba061cfa54596515ce56dd744debc0b8"}},{"ruleId":"D2","level":"warning","message":{"text":"Vicuna.process_vicuna_conversations (cognitive 28): Vicuna.process_vicuna_conversations has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 3, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/qa_datasets.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84057b015a3c7fc64b181a7a8713263f6cf9712bac5cbbe622d6b486078a3e3"}},{"ruleId":"D2","level":"warning","message":{"text":"twitter_process_json.process_single_file (cognitive 28): twitter_process_json.process_single_file has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (6 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data-collection/twitter/twitter_process_json.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6570da997ff0519cad047e740f7fd7b550815d6273ada74f73d908e6f1aaf9dc"}},{"ruleId":"D2","level":"warning","message":{"text":"DialogueDataCollator.__call__ (cognitive 26): DialogueDataCollator.__call__ has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (11 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/dialogue_collator.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3a9eef2f8f9e77490551f83468c6d99a88da27e7a0dfc6294a36b3aa022899"}},{"ruleId":"D2","level":"warning","message":{"text":"sampling_report.sample (cognitive 25): sampling_report.sample has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/manual/sampling_report.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a5d76ecc15c306d7189214a921d17b1515695da649ea824ebcf64770fbfe80"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaForSequenceClassification.forward (cognitive 25): LlamaForSequenceClassification.forward has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/prefix_llama.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edb537cc30962fa1cf484d1770f6e30e1391912f0e7a7b1794b50e3eab5f958"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomPPOTrainer.decode (cognitive 25): CustomPPOTrainer.decode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 2 (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":"model/model_training/utils/ppo_utils.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e9c94b013b5dc2dc67b5736551be39bd70255dd1be823a98a08538d0b2b57b"}},{"ruleId":"D2","level":"warning","message":{"text":"chat_chain_utils.compose_tools_from_plugin (cognitive 25): chat_chain_utils.compose_tools_from_plugin has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 4 (6 pts), boolean chains 3, error handling 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":"inference/worker/chat_chain_utils.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4197461a1747ca60441fb05f3f7a15be4fae0fbb0929e2d3c0b991249e5e54a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageEntry.ChatMessageEntry (cognitive 25): ChatMessageEntry.ChatMessageEntry has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 19, if/else 5, ternaries 1. Of this number, 17 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Chat/ChatMessageEntry.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28e65e5662ad7487b4174791eed4de8acb96dcac944ee5b22f76bc3bac158d6"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_model (cognitive 24): utils.get_model has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/utils/utils.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b166b01a0b3359be75651ee3dc0a1c505acfc56e8988707b8ba8667ff3f34c"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptRepository.store_text_reply (cognitive 24): PromptRepository.store_text_reply has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e972ea327e814b8286ee1183c1ae1ded699fc2da58c3582acc3094b2e3ec347"}},{"ruleId":"D2","level":"warning","message":{"text":"chat_chain.handle_plugin_usage (cognitive 24): chat_chain.handle_plugin_usage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/chat_chain.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"254c09a15aca9b0731dc0012e724fa523bcc8342c4e039a09e541c0457290e13"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminMessageTable.AdminMessageTable (cognitive 24): AdminMessageTable.AdminMessageTable has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, ternaries 8 (9 pts), if/else 5 (nesting depth added 1). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 129, a function literal at line 215, onClose, \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":"website/src/components/Messages/AdminMessageTable.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c8e1e08622bcd8de666d901c478d0d9711059fdf74d43d6bec185fb1425dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"patching_llama.llama_forward_with_flash_attn (cognitive 23): patching_llama.llama_forward_with_flash_attn has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (22 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/patching_llama.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9d514bf06673ba20ae6f8f63845f016eec5507626b3c7617e104623404d38a"}},{"ruleId":"D2","level":"warning","message":{"text":"UserStatsRepository._update_stats_internal (cognitive 23): UserStatsRepository._update_stats_internal has cognitive complexity 23 (threshold 15). Drivers by points: loops 11 (12 pts), if/else 6 (11 pts) (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_stats_repository.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adc76d57116ea548be5fce2fe8ed67a4b1a7686547457571cb6f03e4252e923"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatConfigForm.useHydrateChatConfig (cognitive 23): ChatConfigForm.useHydrateChatConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 3 (nesting depth added 6). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 252). 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":"website/src/components/Chat/ChatConfigForm.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded80f350b1333072beaa6b5c31461008168e3313f99a2aa4ba7aaa65cd53e15"}},{"ruleId":"D2","level":"warning","message":{"text":"task.taskInteraction (cognitive 22): task.taskInteraction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 2 (5 pts), boolean chains 2 (nesting depth added 10). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 69, 98). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/task.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"db99970857888b83a70e76c6c829158a801cac6307bb8b65a42274a4124df109"}},{"ruleId":"D2","level":"warning","message":{"text":"check_dataset_counts.argument_parsing (cognitive 21): check_dataset_counts.argument_parsing has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (7 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/check_dataset_counts.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f9728bcabed0bd22077d6a3167e896ee188f376d1314c964c029862e80d72f"}},{"ruleId":"D2","level":"warning","message":{"text":"RankingDataCollator.process_one (cognitive 20): RankingDataCollator.process_one has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/ranking_collator.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1959acd9118ba77b7fd3afecda6f5e10fd47567d6d55bf86dae5feace2b87ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"UserRepository.query_users_ordered_by_display_name (cognitive 20): UserRepository.query_users_ordered_by_display_name has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (20 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_repository.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1731565cf87c13478fb31e1defb0b485cd5b2d03c0dfb1f5a58b7f1a6814f92c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatListItem.ChatListItem (cognitive 20): ChatListItem.ChatListItem has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 3, boolean chains 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Chat/ChatListItem.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d437bf901fae2a1197a2ad0326a04345d41b4b47530c86eab604f1e78f7906bc"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_dataset_fractions (cognitive 19): utils.get_dataset_fractions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 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":"model/model_training/utils/utils.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcb74b3feda5dce6ca409a755dc9f7d7ee72cd571a252f87bc85bb741ad91d9"}},{"ruleId":"D2","level":"warning","message":{"text":"UserRepository.query_users_ordered_by_username (cognitive 19): UserRepository.query_users_ordered_by_username has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (19 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_repository.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bffcc078afa3bcaa6e8ae5638937c3e38958e61d376b4d13b1bd9e8c9da4e41"}},{"ruleId":"D2","level":"warning","message":{"text":"openapi_parser.parse_plugin_endpoint (cognitive 19): openapi_parser.parse_plugin_endpoint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), 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":"inference/worker/openapi_parser.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d00dd06c603029782e4d65b66179f08540d675b2eb813a26a6e8b5a55ebb76"}},{"ruleId":"D2","level":"warning","message":{"text":"index.StatusIndex (cognitive 19): index.StatusIndex has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (18 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":"website/src/pages/admin/status/index.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6b56dedadfbed1d48e4044779fc62609d4aeb75bc7ac199c57bd3480629b19"}},{"ruleId":"D2","level":"warning","message":{"text":"HFSummary.__init__ (cognitive 18): HFSummary.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, ternaries 2 (3 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/summarization.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0132e09e771a2c0d71b029abaa81642ae259caa7dfccc8a72dcc01c57d9e3ef"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregateResults.aggregate (cognitive 18): AggregateResults.aggregate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (7 pts), error handling 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/tools/augment_oasst.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a939eb7fddf3d4ea6c1fe622ffc3c7d84ba890265a20631b23ad33181e22deb3"}},{"ruleId":"D2","level":"warning","message":{"text":"trainer_rl.argument_parsing (cognitive 18): trainer_rl.argument_parsing has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 4 (6 pts), ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/trainer_rl.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3ee536a6f803b4b29eb9f2d0059ec03ce344731d21c41b7fe512867504bbfe"}},{"ruleId":"D2","level":"warning","message":{"text":"trainer_sft.argument_parsing (cognitive 18): trainer_sft.argument_parsing has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (5 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":"model/model_training/trainer_sft.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a16e45770508fdae35097bea245b25cc847dab0b501e76742b12f9312343c3e"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeManager._enter_state (cognitive 18): TreeManager._enter_state has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d759ac8f2b0702c4e63c5b07a231936b00c1ca8b7d9cc36afacb5011dbc6cbd"}},{"ruleId":"D2","level":"warning","message":{"text":"UserChatRepository.add_prompter_message (cognitive 18): UserChatRepository.add_prompter_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (18 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":"inference/server/oasst_inference_server/user_chat_repository.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f6b4c990e3e3dec1580d01762f14e5e1a6cea269c65563b2a8e725e381279b"}},{"ruleId":"D2","level":"warning","message":{"text":"chat_chain_utils.similarity (cognitive 18): chat_chain_utils.similarity has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (7 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":"inference/worker/chat_chain_utils.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76be9eb8be8e4b340cb4e7f80bf31581dccb5e0c2b45a95b6d5fc74bc8a5ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsChooser.PluginsChooser (cognitive 18): PluginsChooser.PluginsChooser has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4, boolean chains 1, error handling 1 (nesting depth added 3). 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 89, 55, 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":"website/src/components/Chat/PluginsChooser.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a88de60d81cfbbae5151d4e1c8976bc7df657ab046651688db668726f1204e"}},{"ruleId":"D2","level":"warning","message":{"text":"index.handler (cognitive 18): index.handler has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (18 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":"website/src/pages/api/chat/index.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fd6f80f55f95ceee4113daef14bcaef0ea57d03e7e9488243b272b47283d10"}},{"ruleId":"D2","level":"warning","message":{"text":"Utterance.system_tag (cognitive 17): Utterance.system_tag has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/formatting.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0545a3b6b77b0a6a9b2ce9175c2a9ff13b2b25a1d974c815bbb0198d8b8e7fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetEntryRm.get_formatted (cognitive 17): DatasetEntryRm.get_formatted has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 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":"model/model_training/custom_datasets/formatting.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8fba9d270378a0f8f41f8f629473c2ea7b0516b1bd3cbfc39fe95c3094c798"}},{"ruleId":"D2","level":"warning","message":{"text":"Gpt4All.process_conversation (cognitive 17): Gpt4All.process_conversation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/prompt_dialogue.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a455c7cb99f580208e7f853275ec09e560907b8c140cbaf45a0e9c0e3955a57"}},{"ruleId":"D2","level":"warning","message":{"text":"trainer_rm.argument_parsing (cognitive 17): trainer_rm.argument_parsing has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (5 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":"model/model_training/trainer_rm.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3e5ea151a0c1557bf368d200bd4dbecd72dd4f878ea23316f948f3a3f11cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"pretokenize.parse_args (cognitive 17): pretokenize.parse_args has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 4 (6 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/pretokenizer/pretokenize.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"514d7cf69d96a112ffbf3e2a19b33deb48001bae731d996b4449e8ea1cd59576"}},{"ruleId":"D2","level":"warning","message":{"text":"random_stuff.qna_random_magic (cognitive 17): random_stuff.qna_random_magic has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 4, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/semantics_ws_qna_oa/random_stuff.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"0595b2c2fba950930fbb06394b1d553200e3bec4eb7e264141d2a70d6d1d68dd"}},{"ruleId":"D2","level":"warning","message":{"text":"scrape_by_topic.end_to_end_auto_scrape (cognitive 17): scrape_by_topic.end_to_end_auto_scrape has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 3 (6 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":"data/datasets/zhihu-kol/scrape_by_topic.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1ab2ca9f5dfc8105df04bc707ba6ae601ec77f804a6b5efef4643ff7ba33ff"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugClient.send_message (cognitive 17): DebugClient.send_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/text-client/text_client_utils.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"888f1bdebea8aedaeb6d3c1e958503e7f39b208c5ea5be2c9f42ec968bb238b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatConversation.ChatConversation: FunctionTooLong \u2014 ChatConversation runs 365 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 265 over it, 3.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Chat/ChatConversation.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba354de5bc05ec93e0f00848641914eac562a0cc0e8e032039c87a4e622d5320"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: label.labelInteraction: FunctionTooLong \u2014 labelInteraction runs 288 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 188 over it, 2.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":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bc45c24b84ed6e7a67fbffe7a3428327991ffa9779dc4fc7fc14d76f0a1b12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminMessageTable.AdminMessageTable: FunctionTooLong \u2014 AdminMessageTable 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":"website/src/components/Messages/AdminMessageTable.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daf885afc3c0e97e4b605f943f993ab90dfeea96576b6b41d6c7b7ef8093a22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginsChooser.PluginsChooser: FunctionTooLong \u2014 PluginsChooser 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":"website/src/components/Chat/PluginsChooser.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da1132d26776c840e790906e24a3a65781f9dfb42504472830c7ce27634828a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oasst_backend/prompt_repository.py: FileTooLong \u2014 822 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 322 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70505ffa1f006d16e78144fe2fbe794ec4d0d53d6fb8d502caeb997970011a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TreeManager: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a01b91f72bec1da2c7330b757d7802a27fe944d2b90af59990ea9c5d5de3dba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OasstApiClient: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/lib/oasst_api_client.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"91121b5225bb1cf5df0d3209509ae960afce3f7f1ffd514287a22619f88e4f8d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PromptRepository: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a917230eb3d335c72f2f3836620f7ba77b4f918ca059e3f48f5614d590c5a09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: privacy-policy.PrivacyPolicy: FunctionTooLong \u2014 PrivacyPolicy runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/pages/privacy-policy.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0428fd0126e9f4627108c7fdd2d0fe95f824f4dade689cf28f02ab724d712c2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LabelLikertGroup.getLabelInfo: FunctionTooLong \u2014 getLabelInfo 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":"website/src/components/Survey/LabelLikertGroup.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77d49ee30ca22bf5b0cf1f63db41605e43923a49e7d1f6b91c88c7157bd6670"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatMessageEntry.ChatMessageEntry: FunctionTooLong \u2014 ChatMessageEntry 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":"website/src/components/Chat/ChatMessageEntry.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f22c09f8b6576ec4b70af933a44141a7b4b6527830775e407bf838256e48ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Task.Task: FunctionTooLong \u2014 Task 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":"website/src/components/Tasks/Task/Task.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e9158518dac5ae92afc8e9e7edf2452cfc709506df22c64246e68cf2f2fe62"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatAssistantDraftViewer.ChatAssistantDraftViewer: FunctionTooLong \u2014 ChatAssistantDraftViewer 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":"website/src/components/Chat/ChatAssistantDraftViewer.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c79eb09d555729bd65f0806fa9ba1f2b54d3dcb46e64e41289c09d01cf4669"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatListItem.ChatListItem: FunctionTooLong \u2014 ChatListItem 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":"website/src/components/Chat/ChatListItem.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"347e8ee046ef4cf525c18a8eb6cd4f265ab9abf2ee379e269184d2b9b7e481ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginUsageDetails.DropdownItem: FunctionTooLong \u2014 DropdownItem 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":"website/src/components/Messages/PluginUsageDetails.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3041d677f73e701ac013fbde54006cdcef563a6ef52cd126016cb86a27157a2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MessageTableEntry.MessageActions: FunctionTooLong \u2014 MessageActions 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":"website/src/components/Messages/MessageTableEntry.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"61826f83c3aac0e6f5d746c124024bb971f09f8ca6e3281ac84725a87c2525e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oasst_backend/tree_manager.py: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3c5a9a4db1e5df8f3ca86d3717d30da735bf017bd3f3d18a118c1db30a5fd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.StatusIndex: FunctionTooLong \u2014 StatusIndex 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":"website/src/pages/admin/status/index.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de376c6a466da96f9bb443ede9125ba39a3f13f08bf871743019248f427ba5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatConfigForm.ChatConfigForm: FunctionTooLong \u2014 ChatConfigForm 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":"website/src/components/Chat/ChatConfigForm.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade6c28f0afac4bd917090c141e5ec75dd9982470701517e44262cdf613b6357"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: [id].MessageDetail: FunctionTooLong \u2014 MessageDetail 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":"website/src/pages/admin/messages/[id].tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcae715378ca2ba13e47c6b9647dcebb4a270c124d329d0c22bd3a2eb63368c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: [id].EditMessage: FunctionTooLong \u2014 EditMessage 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":"website/src/pages/admin/edit/[id].tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae37eff33bd85b6094db677b73dc697993c17948135dedc2ac13e279675fdf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oasst_backend/user_stats_repository.py: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_stats_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4e1ecc3e2db800f1545bd4d7a89c7fa922ee35faab6d9a7c4dab59238b7978"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: custom_datasets/qa_datasets.py: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/qa_datasets.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3850ec56d6c3f2aa8a899211b825f3fa6604b9fde1990808b847f474b762ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 11 shared lines): scripts/xor-codec/xor_codec.py:11-27 | scripts/xor-codec/xor_codec.py:31-47 | scripts/xor-codec/xor_codec.py:51-67 \u2014 These 3 members are variants of one another: a block of 11 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/xor-codec/xor_codec.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfef2bd11af109d0673fd3bf01d0c5c42df92e2c8e55f8a4cb8f5e3cd9154f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): model/model_training/trainer_rm.py:184-330 | model/model_training/trainer_sft.py:285-477 \u2014 These two members are variants of one another: 56 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/trainer_rm.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acc9a82ef726d88009d623e5b65854493db60876636a880d2705bb3cbcf29f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): model/model_training/check_dataset_counts.py:44-113 | model/model_training/trainer_rm.py:132-180 | model/model_training/trainer_sft.py:170-238 | model/pretokenizer/pretokenize.py:294-365 \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":"model/model_training/check_dataset_counts.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3ec78de99755d7b9ff4c14484aaf61ebc3c76ecd1fb9ad23f85eba7916200f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): model/model_training/trainer_rl.py:26-64 | model/model_training/trainer_rm.py:132-180 | model/model_training/trainer_sft.py:170-238 | model/pretokenizer/pretokenize.py:294-365 \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":"model/model_training/trainer_rl.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a83bf47c752d7f9be1347da0a6c350e8579a8165e5f04503ad121460a645b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): model/model_training/trainer_rm.py:81-128 | model/model_training/trainer_sft.py:119-166 \u2014 before extracting anything, compare \u0060model/model_training/trainer_rm.py\u0060 and \u0060model/model_training/trainer_sft.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 140 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":"model/model_training/trainer_rm.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e86f038ce8b71394fa308efeaf75ef60638af0744343105aa8d2cc069f75689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): backend/oasst_backend/utils/ranking.py:83-129 | scripts/postprocessing/rankings.py:83-129 \u2014 before extracting anything, compare \u0060backend/oasst_backend/utils/ranking.py\u0060 and \u0060scripts/postprocessing/rankings.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/ranking.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6ae822fac226cc4d5ace70a363eccfcc16dcc80a7b5247d1d95549e9b8fbee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): text-frontend/__main__.py:224-259 | text-frontend/__main__.py:266-301 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text-frontend/__main__.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f87c3e5fb52f9ab07ccb165b38ba5a8b60e7ecc065fbc822186d76cb6236088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py:36-69 | backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py:158-191 \u2014 before extracting anything, compare \u0060backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py\u0060 and \u0060backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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 \u0060backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py:36\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":"backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc823005017667209ffb3561766853826decb25ccd2490741d2ff6bfcb62e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): backend/export.py:346-379 | oasst-data/examples/filter_messages.py:46-79 \u2014 before extracting anything, compare \u0060backend/export.py\u0060 and \u0060oasst-data/examples/filter_messages.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 105 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 \u0060backend/export.py:346\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":"backend/export.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3824e75e5f183766954b47d09df09bda65ec0e93d765ebdbcd039d8eb971f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): text-frontend/auto_main.py:103-136 | text-frontend/auto_main.py:221-253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060text-frontend/auto_main.py:220\u0060 calls \u0060_random_message_id\u0060 and \u0060text-frontend/auto_main.py:101\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":"text-frontend/auto_main.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02b32ffcc624dd8f17c868e09927f62e4c790d517eda3a1c9ed344fa2eff96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201330 lines \u00D7 2): data/datasets/zhihu-kol/convert_parquet.py:7-36 | data/datasets/zhihu-kol/main.py:159-184 \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":"data/datasets/zhihu-kol/convert_parquet.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85bc2b92b0a513fa285aa82e8f5a66769dc76a1be25a1010bb5e7fae9bf97cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): model/model_training/tools/augment_oasst.py:85-113 | model/model_training/tools/augment_oasst.py:121-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060model/model_training/tools/augment_oasst.py:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"model/model_training/tools/augment_oasst.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f0cf1b857aeb568ac9499a62b8d84c583b7c1581d430ebe26c8255295660bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): model/model_training/trainer_rm.py:271-299 | model/model_training/trainer_sft.py:298-326 \u2014 before extracting anything, compare \u0060model/model_training/trainer_rm.py\u0060 and \u0060model/model_training/trainer_sft.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 140 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":"model/model_training/trainer_rm.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e9881b3ff12456c6aab17aba120270ca4e183531bcfbcee560cdc675e3bc0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 2): data/datasets/zhihu-kol/main.py:127-154 | data/datasets/zhihu-kol/scrape_by_topic.py:30-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060qid\u0060 to \u0060str\u0060 in one and \u0060int\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":"data/datasets/zhihu-kol/main.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d48f49ad078c127e5f2ef47c2a2577c11b8e37130875cd23b21873d41fe096a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): backend/oasst_backend/utils/ranking.py:25-51 | scripts/postprocessing/rankings.py:25-51 \u2014 before extracting anything, compare \u0060backend/oasst_backend/utils/ranking.py\u0060 and \u0060scripts/postprocessing/rankings.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 110 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":"backend/oasst_backend/utils/ranking.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7701937bacad4e6c96ede6c3d93e3f01e9730b2d4297ee5aa65ba90f50984cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): backend/oasst_backend/utils/database_utils.py:201-226 | backend/oasst_backend/utils/database_utils.py:262-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/database_utils.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"29571d4b4a58224d9ada566a9edf08d18ce0e95fcb97c8bdf55b86dca5250b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): text-frontend/__main__.py:103-128 | text-frontend/__main__.py:129-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text-frontend/__main__.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13b7815a24dc2ddb86691162d2ce786e5ed86e81b0a2c28bf3d06775103cf59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): backend/oasst_backend/api/v1/admin.py:192-216 | backend/oasst_backend/api/v1/messages.py:79-103 \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":"backend/oasst_backend/api/v1/admin.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9e31036d768fa5f142aaddb9e36539bb0c5abfd79cc655d30895981ebdc00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 3): backend/export.py:361-384 | oasst-data/examples/filter_messages.py:11-33 | oasst-data/examples/filter_messages.py:61-81 \u2014 before extracting anything, compare \u0060backend/export.py\u0060 and \u0060oasst-data/examples/filter_messages.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 105 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 \u0060backend/export.py:361\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":"backend/export.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e170fbd47f568c9c364e86495016c5dcccdb89d47843cc39ffe3b909a1cd1f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): backend/export.py:325-348 | oasst-data/examples/filter_messages.py:19-42 \u2014 before extracting anything, compare \u0060backend/export.py\u0060 and \u0060oasst-data/examples/filter_messages.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 105 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 \u0060backend/export.py:325\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":"backend/export.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9738c147eed2bc82dc0563eefd1e3aed1e1a0db0833868ceefe7876319abed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): backend/oasst_backend/utils/database_utils.py:84-107 | backend/oasst_backend/utils/database_utils.py:138-161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/database_utils.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2719ea409f699b9938ab6394af7e5434bc56c49e9e31330070db09fa813a3e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 3): backend/export.py:322-343 | backend/export.py:366-388 | oasst-data/examples/filter_messages.py:15-37 \u2014 before extracting anything, compare \u0060backend/export.py\u0060 and \u0060oasst-data/examples/filter_messages.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 105 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 \u0060backend/export.py:322\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/export.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc025f1c5657b81532602999af995f214e312f85a7a322c556641b0d8c8d4f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 4): text-frontend/__main__.py:58-79 | text-frontend/__main__.py:106-125 | text-frontend/__main__.py:132-150 | text-frontend/__main__.py:155-174 \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 before the matched lines, \u0060text-frontend/__main__.py:130\u0060 calls \u0060echo\u0060 and \u0060text-frontend/__main__.py:153\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":"text-frontend/__main__.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf77d1bd2653b6bdef1b2e8be1c9202265a5d68a0e907d6a607b8809bcc52a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): text-frontend/__main__.py:174-194 | text-frontend/__main__.py:200-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text-frontend/__main__.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"820bbd65fa1f3d5bbacf509d0fb6349e0d8f9f60d5c8d7eded4a37ee781cecc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): text-frontend/__main__.py:248-269 | text-frontend/auto_main.py:201-220 \u2014 before extracting anything, compare \u0060text-frontend/__main__.py\u0060 and \u0060text-frontend/auto_main.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060text-frontend/auto_main.py:221\u0060 calls \u0060_random_message_id\u0060 and \u0060text-frontend/__main__.py:270\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":"text-frontend/__main__.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"537ed05262464e500bd2608ac1fb2c11653c56cad7cf9cb77880539f50ec2018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): model/model_training/trainer_rm.py:158-178 | model/model_training/trainer_sft.py:214-234 \u2014 before extracting anything, compare \u0060model/model_training/trainer_rm.py\u0060 and \u0060model/model_training/trainer_sft.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060model/model_training/trainer_sft.py:212\u0060 calls \u0060exit\u0060 and \u0060model/model_training/trainer_rm.py:156\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":"model/model_training/trainer_rm.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"18abc989e96664ceff99773c304c3e22ab7d3548975199ed7f64770d3e789371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): text-frontend/__main__.py:211-230 | text-frontend/auto_main.py:86-106 \u2014 before extracting anything, compare \u0060text-frontend/__main__.py\u0060 and \u0060text-frontend/auto_main.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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":"text-frontend/__main__.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8f40baeb318665c3647d83a692994b49f44dd7610bed4a4e51c28a003ad96f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): data/datasets/zhihu-kol/scrape_by_topic.py:113-132 | data/datasets/zhihu-kol/scrape_by_topic.py:151-170 \u2014 both copies are in the same file, so extract the block 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":"data/datasets/zhihu-kol/scrape_by_topic.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc18c41c40714e00a6ce0c0d010e66493ff75135a3f1f79d90b75e5437c5447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): backend/oasst_backend/api/v1/admin.py:104-120 | backend/oasst_backend/api/v1/admin.py:149-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/oasst_backend/api/v1/admin.py:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/admin.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a629610959ee4942f0d1f09a0b25927b798374c870cbb34f2f7830a83cc1068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): model/model_training/custom_datasets/summarization.py:117-135 | model/model_training/custom_datasets/summarization.py:186-204 \u2014 both copies are in the same file, so extract the block 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":"model/model_training/custom_datasets/summarization.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e135b1c901f9a2d469627e5fee1337d5ca8f7d6d1dd75721e03e252922c630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): model/model_training/trainer_rm.py:211-228 | model/model_training/trainer_sft.py:366-381 \u2014 before extracting anything, compare \u0060model/model_training/trainer_rm.py\u0060 and \u0060model/model_training/trainer_sft.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 140 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 \u0060model/model_training/trainer_rm.py:211\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, \u0060model/model_training/trainer_sft.py:365\u0060 calls \u0060get_dataset\u0060 and \u0060model/model_training/trainer_rm.py:211\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":"model/model_training/trainer_rm.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9caf6524c4ce54b23f69d0b325507c963ce671b7a2e52201f34e40d4fa060f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): inference/server/oasst_inference_server/plugins/gale_pleaser/main.py:65-81 | inference/server/oasst_inference_server/plugins/gale_roaster/main.py:48-64 | inference/server/oasst_inference_server/plugins/web_retriever/main.py:242-258 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/plugins/gale_pleaser/main.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bafcc1b12c216ba33948accf6fdab13aca15a454a955df1e386531f64cf49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201317 lines \u00D7 2): model/model_training/metrics.py:31-47 | model/model_training/metrics.py:55-65 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/metrics.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b3b320e31c73fd6dcc3aa04f8262b95dad185667894442c25c3c01383f974f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): backend/oasst_backend/utils/similarity_functions.py:61-75 | backend/oasst_backend/utils/similarity_functions.py:83-98 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/similarity_functions.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c877cc22dea9619c3fc6b0a2d9211372db700c1eeb3f572d4e23bc204538cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): model/model_training/trainer_sft.py:197-212 | model/pretokenizer/pretokenize.py:320-335 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/trainer_sft.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf1b74eae459bed0ea7903b428b488abaa7d32120b3ab5bae15b9f3dd8cb885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:37-51 | inference/server/alembic/versions/2023_05_29_1551-5ed411a331f4_add_active_thread_tail_messsage_id_and_.py:29-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:37\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":"backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2239373417c68f0107a35073933546a82a45e003d0f08fd5e523e2e8019bed22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): backend/oasst_backend/user_repository.py:216-227 | backend/oasst_backend/user_repository.py:276-290 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/oasst_backend/user_repository.py:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_repository.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"75df166a0984a89ecf776cffe42e727eb4cdd60ef8d18d0f4a09bde1348cfa49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/export.py:75-88 | backend/export.py:146-159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060backend/export.py:161\u0060 calls \u0060group_by\u0060 and \u0060backend/export.py:89\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":"backend/export.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bd70b678aeea303fa56a3427495bfa0a4c95f6914610cde4e8c0f20181066a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): backend/oasst_backend/user_repository.py:81-92 | backend/oasst_backend/user_repository.py:111-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_repository.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9ed317093394530f38fd86530c3e9cd96e5f644cdc432dbd987402ad6276d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/oasst_backend/utils/database_utils.py:109-122 | backend/oasst_backend/utils/database_utils.py:163-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/database_utils.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f435bbb7c5815e4ab3fba03e412c4f60d1ed66aeaf7c5e09ff61bc7adccec8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/oasst_backend/utils/database_utils.py:228-241 | backend/oasst_backend/utils/database_utils.py:289-302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/database_utils.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c20354aa23d48db1a931d37d9d0126182338a961459ea3f8dc6b012deefb23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): model/model_training/trainer_rl.py:32-45 | model/model_training/trainer_rm.py:143-156 \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":"model/model_training/trainer_rl.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"70381f4a54b1b0c0227d28a36906d17d576931405b3bdfa0708da39332949cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): model/model_training/trainer_rl.py:89-102 | model/model_training/utils/ppo_utils.py:551-565 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/trainer_rl.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"173ec952553f3e501654ad848c885e6c37e259c83b3cb65155500be7a8192c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:41-53 | backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:91-103 \u2014 before extracting anything, compare \u0060backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py\u0060 and \u0060backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:41\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":"backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bfc1f03329ddd139d7d2e5ad2e5ba6b84a1849b8f556624e012d1687187fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/oasst_backend/api/v1/users.py:133-145 | backend/oasst_backend/api/v1/users.py:152-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/oasst_backend/api/v1/users.py:133\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":"backend/oasst_backend/api/v1/users.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ad9aea4e3908ac266a766d0a75c729a14471123f18e50aeec837d7649a91e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/oasst_backend/user_stats_repository.py:109-121 | backend/oasst_backend/user_stats_repository.py:151-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/oasst_backend/user_stats_repository.py:109\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_stats_repository.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8def1456b8d6ed6de894133409c9c773feb328302285e06efb9aaf2c249f8804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): model/model_eval/manual/sampling_report.py:63-75 | model/model_eval/manual/subsample_dataset.py:18-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/manual/sampling_report.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2a24e63afb45de9142976e66768e9415535286300525c12829e62264992faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): model/model_training/custom_datasets/prompt_dialogue.py:183-195 | model/model_training/custom_datasets/prompt_dialogue.py:242-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"model/model_training/custom_datasets/prompt_dialogue.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"651fc933718f4e30919880e41cb65ab2739a65e7a6eefa7debd66235a84bae26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): model/model_training/trainer_rm.py:138-150 | model/model_training/trainer_sft.py:189-201 \u2014 before extracting anything, compare \u0060model/model_training/trainer_rm.py\u0060 and \u0060model/model_training/trainer_sft.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060model/model_training/trainer_sft.py:202\u0060 calls \u0060update\u0060 and \u0060model/model_training/trainer_rm.py:151\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":"model/model_training/trainer_rm.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4008b96739ccbc66359eb8dddfa128c878adf0b1c1e99890594dab341e037903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data/datasets/mt_note_generation/prepare.py:68-79 | data/datasets/youtube_subs_howto100M/prepare.py:106-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/mt_note_generation/prepare.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad7f52ea2934672c325c34ebe5988b549baba5e91c6a2e92e9338ffec1f5348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): inference/server/oasst_inference_server/user_chat_repository.py:245-256 | inference/server/oasst_inference_server/user_chat_repository.py:281-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":"inference/server/oasst_inference_server/user_chat_repository.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d39fe63d1aea1fad4109c116c346d42fe49b6677f43863a893541c776c114a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): model/model_training/custom_datasets/translation.py:117-128 | model/model_training/custom_datasets/translation.py:160-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. 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":"model/model_training/custom_datasets/translation.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cf750452dd4d9f8072404716748011ba982cb8f175613da87d6b5fdbae9f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:40-51 | backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:91-101 | backend/alembic/versions/2023_06_06_1505-c181661eba3a_add_message_revisions.py:29-40 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:116-126 | inference/server/alembic/versions/2023_05_29_1551-5ed411a331f4_add_active_thread_tail_messsage_id_and_.py:32-43 \u2014 before extracting anything, compare \u0060backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py\u0060 and \u0060backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:40\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:127\u0060 calls \u0060create_index\u0060, \u0060f\u0060 and \u0060backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:52\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b68ab0b17d050563855a97ce2bc296308c28bbb1c44dbc93915cef5b917f315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): inference/server/oasst_inference_server/user_chat_repository.py:196-206 | inference/server/oasst_inference_server/user_chat_repository.py:246-256 | inference/server/oasst_inference_server/user_chat_repository.py:282-292 \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":"inference/server/oasst_inference_server/user_chat_repository.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d27fc9188fb82190086b1c919490ad93561c0cc08a4da81a709a5b2c05dcf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): scripts/xor-codec/xor_codec.py:17-27 | scripts/xor-codec/xor_codec.py:37-47 | scripts/xor-codec/xor_codec.py:57-67 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/xor-codec/xor_codec.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffc288c2dda0142e9faba36d8cb1a6b3a5b341df64d44a81e87d909e60e5dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/alembic/versions/2022_12_25_1705-067c4002f2d9_add_text_labels.py:29-39 | backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:61-71 \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 \u0060backend/alembic/versions/2022_12_25_1705-067c4002f2d9_add_text_labels.py:29\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":"backend/alembic/versions/2022_12_25_1705-067c4002f2d9_add_text_labels.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3715c60f70a9237b6a2742bc2738dc5dfa31c38932a1d84e7625323c959f99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): model/model_training/trainer_rm.py:253-263 | model/model_training/trainer_sft.py:432-442 \u2014 before extracting anything, compare \u0060model/model_training/trainer_rm.py\u0060 and \u0060model/model_training/trainer_sft.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 140 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":"model/model_training/trainer_rm.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a91ee82d407dafd0ff0814872bcdbefbc92263ed510d21b1d21338fa92c5780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/alembic/versions/2022_12_25_1705-067c4002f2d9_add_text_labels.py:28-37 | backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:35-44 \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":"backend/alembic/versions/2022_12_25_1705-067c4002f2d9_add_text_labels.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c7d777890ce0b1ae047fc30cfb0a18d56777e5a80afdbbb32ace57ecd280f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/oasst_backend/user_repository.py:242-251 | backend/oasst_backend/user_repository.py:310-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/oasst_backend/user_repository.py:242\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":"backend/oasst_backend/user_repository.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85dad06edd508373c06e8417218625aa7cb180878bdcdd99121ee32b26f8604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20139 lines \u00D7 7): backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py:102-103 | backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:73-74 | backend/alembic/versions/2023_01_08_2208-92a367bb9f40_restructure_message_tree_state_table.py:32-39 | backend/alembic/versions/2023_01_15_1139-423557e869e4_add_indices_for_created_date.py:19-20 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:51-58 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:119-127 | inference/server/alembic/versions/2023_05_29_1551-5ed411a331f4_add_active_thread_tail_messsage_id_and_.py:36-44 \u2014 there are 7 copies across 6 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/alembic/versions/2023_01_08_2208-92a367bb9f40_restructure_message_tree_state_table.py:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060backend/alembic/versions/2023_01_15_1139-423557e869e4_add_indices_for_created_date.py:21\u0060 calls \u0060create_index\u0060, \u0060f\u0060 and \u0060backend/alembic/versions/2023_01_08_2208-92a367bb9f40_restructure_message_tree_state_table.py:44\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cae91d7ed6c29b92aff31ec5b4732de8f2a1073c4775434f453ca6070f82f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): backend/alembic/versions/2022_12_25_1705-067c4002f2d9_add_text_labels.py:29-37 | backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:36-44 | backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:61-69 \u2014 before extracting anything, compare \u0060backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py\u0060 and \u0060backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"backend/alembic/versions/2022_12_25_1705-067c4002f2d9_add_text_labels.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b353c82e65f435a624739dfd7c6cb23a0505e41104fa3fe5efbd86c24b2a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): model/model_training/tools/augment_oasst.py:101-109 | model/model_training/tools/augment_oasst.py:137-145 | model/model_training/tools/augment_oasst.py:185-193 \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 \u0060model/model_training/tools/augment_oasst.py:101\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":"model/model_training/tools/augment_oasst.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8dc7a07ab3b6046dbc0b24248977bb9b76f17d34182cc91df6731b39274ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:207-215 | backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:280-288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"232575df50c8c30ef74038697482196f59e823fa877571ee326aa3771cf8aeff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/alembic/versions/2023_01_05_1144-d4161e384f83_added_messagetreestate_table.py:29-37 | backend/alembic/versions/2023_01_08_2208-92a367bb9f40_restructure_message_tree_state_table.py:54-62 \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 \u0060backend/alembic/versions/2023_01_05_1144-d4161e384f83_added_messagetreestate_table.py:29\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":"backend/alembic/versions/2023_01_05_1144-d4161e384f83_added_messagetreestate_table.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b32874cdd0afa5c995b989999218d17fe73093f86929bca28690dceeb713120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/update_message_attributes.py:47-55 | backend/update_message_attributes.py:65-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":"backend/update_message_attributes.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cfb46e143d2cb9d70afd3a7ecc44852e9af67677f1c927998d0f26ec1e67f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): inference/server/oasst_inference_server/plugins/gale_pleaser/main.py:32-40 | inference/server/oasst_inference_server/plugins/web_retriever/main.py:230-238 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/plugins/gale_pleaser/main.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3ddadf0004b07659b9b15032e9132aad97fa004ac1f8182bfbf6a619c10196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): model/model_training/models/patching_llama.py:96-104 | model/model_training/models/prefix_llama.py:240-248 \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 \u0060model/model_training/models/patching_llama.py:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060model/model_training/models/prefix_llama.py:249\u0060 calls \u0060max\u0060, \u0060tensor\u0060, \u0060finfo\u0060 and \u0060model/model_training/models/patching_llama.py:107\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":"model/model_training/models/patching_llama.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde87315230d44b630566b7144a27c46029552709633f4c34c8a998e3cafebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): model/model_training/check_dataset_counts.py:102-109 | model/model_training/trainer_sft.py:229-236 | model/pretokenizer/pretokenize.py:343-350 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/check_dataset_counts.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f08f7e264379e9e31b9a5db138ba07c31ebbfb988d504776b783066a92d6621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py:28-35 | backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py:150-157 \u2014 before extracting anything, compare \u0060backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py\u0060 and \u0060backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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 \u0060backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py:28\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":"backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f626176ed3de841441317028a36051cd7431f5956d32b4922cf16edd6e283cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:22-29 | backend/alembic/versions/2023_02_07_1922-caee1e8ee0bc_added_new_table_for_flagged_messages.py:21-26 \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 \u0060backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py:22\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc163e3f4a91bd83edcaf10869db709552b56393cef60551d6de48b050169e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:282-289 | backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:306-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10f92cc5433ef4b5f6c42906613e808a5ed7f573a3e3683af493b23e2b27160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:91-98 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:134-141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:91\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, \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:90\u0060 calls \u0060Column\u0060, \u0060DateTime\u0060 and \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:133\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8568132c9053013e60eda39c31e156c6b30c456760f8d9a4ceca8a96a8f401f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): model/model_training/custom_datasets/qa_datasets.py:585-592 | model/model_training/custom_datasets/qa_datasets.py:621-628 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060model/model_training/custom_datasets/qa_datasets.py:585\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":"model/model_training/custom_datasets/qa_datasets.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c6a48d9425bf5a707159b082c3fc9abceb67672ad8642b35ad4cbf8fa5b21a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/oasst_backend/api/v1/admin.py:242-248 | backend/oasst_backend/api/v1/messages.py:139-145 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/oasst_backend/api/v1/admin.py:242\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":"backend/oasst_backend/api/v1/admin.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a17100bb5501c2208f772e56337bd677af5394e97e0752ebfd6f95f92ed8e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/oasst_backend/config.py:221-227 | inference/server/oasst_inference_server/settings.py:59-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/oasst_backend/config.py:221\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060values\u0060 to \u0060Dict[str, Any]\u0060 in one and \u0060dict[str, Any]\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":"backend/oasst_backend/config.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8529f80e54ba6f9a5526c4e54cd824c231276eed08a2221d436147fc04cbc33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): backend/oasst_backend/tree_manager.py:511-516 | backend/oasst_backend/tree_manager.py:562-568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe0c3fed904ecd7f2ace208e9f8fdd64b397c42d956d5bc3021701ede911c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/oasst_backend/utils/ranking.py:7-13 | scripts/postprocessing/rankings.py:7-13 \u2014 before extracting anything, compare \u0060backend/oasst_backend/utils/ranking.py\u0060 and \u0060scripts/postprocessing/rankings.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/ranking.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"672a2d4db21d540a83d48aecf36f1d36e0d253091527a9e7c237c4203f0fa351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/oasst_backend/utils/ranking.py:15-21 | scripts/postprocessing/rankings.py:15-21 \u2014 before extracting anything, compare \u0060backend/oasst_backend/utils/ranking.py\u0060 and \u0060scripts/postprocessing/rankings.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/ranking.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24ab367b7b6a82402be9be07f1a907b291fb39876d085ba8a0a803cfa1ceb44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:69-79 | inference/server/alembic/versions/2023_03_22_2113-78f16015b904_add_refresh_token_table.py:25-31 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:69\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":"inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"474b0f5c2391dbd77072ebe5939a4da0a5fd3a6fd9b7f91123e298cd140112ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:148-154 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:157-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:164\u0060 calls \u0060drop_index\u0060 and \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:155\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":"inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a745140f6cbea1ce89af28fac09ce37a713342a17bf873c537035cd9016f7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): inference/server/oasst_inference_server/chat_repository.py:23-29 | inference/server/oasst_inference_server/chat_repository.py:32-38 \u2014 both copies are in the same file, so extract the block 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":"inference/server/oasst_inference_server/chat_repository.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b56bb3a56183008d58aa6f622cef5eed0518bc1fd9a7a30f1231f08a70c601e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): inference/server/oasst_inference_server/user_chat_repository.py:154-161 | inference/server/oasst_inference_server/user_chat_repository.py:229-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060inference/server/oasst_inference_server/user_chat_repository.py:154\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/user_chat_repository.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eaed67984975f0cac8cf098db52aa15d03f658d0d9c08ae9464ab6bc7af7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): model/model_training/custom_datasets/qa_datasets.py:574-580 | model/model_training/custom_datasets/qa_datasets.py:644-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060model/model_training/custom_datasets/qa_datasets.py:573\u0060 calls \u0060compile\u0060 and \u0060model/model_training/custom_datasets/qa_datasets.py:643\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":"model/model_training/custom_datasets/qa_datasets.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed49f22a68c5ef6d202177ae21521ce1e6842620e9b2f47e34cae2844b58f98b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): model/model_training/custom_datasets/qa_datasets.py:571-577 | model/model_training/custom_datasets/qa_datasets.py:605-611 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/qa_datasets.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"078775ea2420455c558ac95698be690c3b4df74a7de636e5f090dd38c3fec8f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): model/model_training/models/patching_llama.py:108-114 | model/model_training/models/prefix_llama.py:253-259 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060model/model_training/models/prefix_llama.py:249\u0060 calls \u0060max\u0060, \u0060tensor\u0060, \u0060finfo\u0060 and \u0060model/model_training/models/patching_llama.py:104\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":"model/model_training/models/patching_llama.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1413f54ac750ccf6feee333cb571ce53871c09a0211bedc72f6880b5da1a1909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): model/model_training/tools/sample_rm_data.py:48-54 | model/model_training/tools/sample_rm_data.py:69-75 \u2014 both copies are in the same file, so extract the block 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":"model/model_training/tools/sample_rm_data.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04b67f76fa33d5114b2bc9b05fd038533f88f7363b66e45afb68af027ecf433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:37-42 | backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:126-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f16b63b787c3c4628bd162e873e8860a3ba0054b81659e215956ab9d48bbb55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/oasst_backend/tree_manager.py:588-593 | backend/oasst_backend/tree_manager.py:613-618 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cb6dc86223275b6dd404a2a702d0ea12ca939e364b106cd0ef0e94d047d180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 4): inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:25-26 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:36-37 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:133-138 | inference/server/alembic/versions/2023_05_29_1551-5ed411a331f4_add_active_thread_tail_messsage_id_and_.py:27-32 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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, \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:131\u0060 calls \u0060Column\u0060, \u0060AutoString\u0060 and \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:23\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":"inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2fc589a9648d57d81aa84ba606a80020538a7e19768fa9b90da74c10ab064c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): model/model_training/utils/losses.py:65-70 | model/model_training/utils/losses.py:93-99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/utils/losses.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd5b8e0059f710c3711399ea9f78e1b7713a43c7be1ce2d9b88b592f22c15be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): text-frontend/__main__.py:41-46 | text-frontend/auto_main.py:32-37 \u2014 before extracting anything, compare \u0060text-frontend/__main__.py\u0060 and \u0060text-frontend/auto_main.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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":"text-frontend/__main__.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a4fb9c4630bc7d7080c29f5ed3c043b8ad5c3cab948697cbcb702dc1a2ac75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py:19-23 | backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py:33-37 | backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py:141-145 | backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py:155-159 \u2014 before extracting anything, compare \u0060backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py\u0060 and \u0060backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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 \u0060backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7989c6d7e2b06c8c84c6802a5c486900639c627c598f272bdff2aa5c6a49eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:328-332 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:152-156 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c39558f23b6d46bb8afb3de9d2fc81ab6f26b8fcbe43e29e1279420935cc670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): backend/alembic/versions/2022_12_29_2103-464ec4667aae_add_collective_flag_to_task.py:20-28 | backend/alembic/versions/2022_12_30_0109-73ce3675c1f5_add_field_trusted_api_client.py:20-26 | backend/alembic/versions/2022_12_31_0438-8d269bc4fdbd_add_deleted_field_to_post.py:20-26 | backend/alembic/versions/2023_01_27_2013-f856bf19d32b_add_user_show_on_leaderboard.py:20-28 | inference/server/alembic/versions/2023_04_12_2033-f0e18084aae4_add_deleted_field_to_user.py:20-26 | inference/server/alembic/versions/2023_04_14_1611-b66fd8f9da1f_add_hidden_field_to_chats.py:20-26 | inference/server/alembic/versions/2023_04_24_2130-401eef162771_add_chat_data_opt_out_field.py:20-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_29_2103-464ec4667aae_add_collective_flag_to_task.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a849053d4cba02011c211bbb9e593f41b9340ef0de808a90b849b802c07401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/alembic/versions/2023_01_26_1835-c84fcd6900dc_add_task_created_date_index.py:19-25 | backend/alembic/versions/2023_02_14_1756-165b55de5a94_add_text_labels_message_id_index.py:19-25 \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":"backend/alembic/versions/2023_01_26_1835-c84fcd6900dc_add_task_created_date_index.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"de03cb6970b766408e3beb735e9cabac57505231efcc7d8850e3d00292514629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): backend/alembic/env.py:30-50 | inference/server/alembic/env.py:33-53 \u2014 before extracting anything, compare \u0060backend/alembic/env.py\u0060 and \u0060inference/server/alembic/env.py\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/env.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"68329d11ae457da121bd388d0c56c875c3fae0dae4e672be0c68688fb4001cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/oasst_backend/utils/ranking.py:55-64 | scripts/postprocessing/rankings.py:55-64 \u2014 before extracting anything, compare \u0060backend/oasst_backend/utils/ranking.py\u0060 and \u0060scripts/postprocessing/rankings.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/ranking.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cdc1d5333286715123efc2299ae4e4baef4267759a335c7983cb4c62641aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/oasst_backend/utils/ranking.py:68-79 | scripts/postprocessing/rankings.py:68-79 \u2014 before extracting anything, compare \u0060backend/oasst_backend/utils/ranking.py\u0060 and \u0060scripts/postprocessing/rankings.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 110 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":"backend/oasst_backend/utils/ranking.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1850ea911b1731ee8bbe214622d366af8675752438107e280107ae9e61407f4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/oasst_backend/utils/tree_export.py:118-127 | inference/server/export.py:33-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/tree_export.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c638ac40d1f0fbaa1257b868a5f710b4b76730c9d72889b0bfd83b3ae03d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): data/datasets/mt_note_generation/mt_note_generation.py:112-121 | data/datasets/soda_synthetic_dialogue/soda_synthetic_dialogue.py:97-107 | data/datasets/youtube_subs_howto100M/youtube_subs_howto100M.py:99-108 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/mt_note_generation/mt_note_generation.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61ed1d893c7f94b28e1b2c9288bf13d4bb3790efd0723242389656ea9bab109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): model/model_training/custom_datasets/__init__.py:82-88 | model/model_training/utils/utils.py:422-428 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/__init__.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c876c65dc94358cca303237010dcafeb12d9874f283a1413ac9a8239b4782d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py:30-34 | backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py:41-45 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e466a9f52f24e74af0b698239eedbfe9b8120d963aeaef2abf2314f651e91ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:265-269 | backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:294-298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:265\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:299\u0060 calls \u0060create_index\u0060 and \u0060backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py:270\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d89a43e7b0c069dd9fcb07554f44388fe019383acab480d1211fafd7d4241b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:43-47 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:59-63 | inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:128-132 \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 \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:126\u0060 calls \u0060create_index\u0060, \u0060f\u0060 and \u0060inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py:42\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":"inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1b7b39e70e79022a424dad650c2e827dfeebbe084cdc7f95e1abbbbfb13af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/xor-codec/xor_codec.py:12-16 | scripts/xor-codec/xor_codec.py:52-56 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/xor-codec/xor_codec.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"958ca189ef9f8281167133620554b2faf68a2eb4a2768ba742a1b277b254358d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: completes the current task on submit and on request shows a new task: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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":"website/cypress/e2e/tasks/label_assistant_reply.cy.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e93f2be0d58722396f001ac0f69a7eb04be3f6daa65e1180116e925df9c769b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: completes the current task on submit and on request shows a new task: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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":"website/cypress/e2e/tasks/label_initial_prompt.cy.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb46198f71c0c969a1d3af11a0812854fc2471d3da817822b1aafed2d766f577"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: completes the current task on submit and on request shows a new task: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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":"website/cypress/e2e/tasks/label_prompter_reply.cy.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dd29ffcfe7e8093fc2f01f0f12374105ea67eee80d03e807790a9781ee5029"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: text-unidecode: \u0060text-unidecode\u0060 1.3 is published on PyPI under \u0060GPL-2.0-or-later\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":"85b792ddfe32801c013ee8ebcbb674d3f6d61cfd12a7d8f517aaeecfab7ee72e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enable this after visually differentiating hidden from visible chats \u0026 allowing \u0027unhide\u0027 \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":"website/src/pages/chat/index.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e791a4b14816dc703602e778f761e1f8072f65e8fcd91ac4fc858e85c4da3eb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move to oasst_api_client \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":"website/src/pages/api/set_label.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae116ba2cdddcf11784816006261514e47731d8f9e3d2160648017adaa4adb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#236): Reduce the number of times we update the role field."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/pages/api/auth/[...nextauth].ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"766448ece60555f50c06d3b93147b0b8082b3601c5cb35afe27f31889d95bb98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO avoid duplicate logic with the signIn event \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":"website/src/pages/api/auth/[...nextauth].ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9ae72b5eff624e1d711e206e5babe464a1fd8b23d7fbdf5612321bf74fb862"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check why there is no image for a better fix \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/lib/leaderboard_utilities.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"df16927d3743a1913c0d9660f39c009b4dff0f172bc3ff5c57b7fff79d264836"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO return a strongly typed Task? \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":"website/src/lib/oasst_api_client.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afd349ce5439b539b0756837fbb1d33b670bd69b9633eb536e44f7c875ebcef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO return a strongly typed Task? \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":"website/src/lib/oasst_api_client.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae0e9b9f3f649eb88509281c9b926b32fcb8cd8c4021f5892c9365f99a2b115"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add update-able fields eg: enabled, notes, show_on_leaderboard, etc.. \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":"website/src/lib/oasst_api_client.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dca03dcb07fe963febba441628936240d5bb4719f188a1feb460490f546ca0"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to support cypress testing \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":"website/src/components/MarkdownEditor.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e83ce67448211ec902cb283f8267516f2036f5d1fd49b1082fb70bba1b2f964"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO move this to somewhere \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":"website/src/components/Messages/AdminMessageTable.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e8d148f6bd8d11a6a8f06401fcdf5e6db1ce412bdb793a7b963dfc4d437968"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Delete me! \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":"website/src/components/Messages/PluginUsageDetails.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c579bab78a349e6dfea33250c95f9e5cf5a1c0b8830969563283de13f95fb43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move to meta \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":"website/src/components/DataTable/DataTable.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4063d7375d7d6e91df30e5f78b658a3695c35f0405b9fa37c9adca237cfc39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: stricter 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":"website/src/components/DataTable/DataTable.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04ae13d552669f8261575d607b28f7e24d13ba62615169d397610a272e8cbd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe at some point we won\u0027t need to access the rendered HTML directly, but use react state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Chat/ChatConversation.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5933f0881c75d1c25bbcd9538d7729f56628cf80040d66a5913d5f166cae9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe we should trigger a toast or something \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":"website/src/components/Chat/ChatConversation.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1dc1d22ba9c26e9f916589f7dbd55ac9e53b27d29815548c1ce5c76ad5fcf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider to trigger notification \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":"website/src/components/Chat/ChatConversation.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cae6003b98aca4023ebeb1c583c94545ab3e46503ebb2eada9312851b65ce72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO refacor away from this dirty hack \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":"website/src/components/Chat/ChatConversationTree.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba884bbab2b8c25fa0976480337d4f5e1fd32fcfe2964983f909d337525f9ac2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Source paths from env file \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data-collection/twitter/twitter_create_convs.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c483dae5af9fae5abe80cd87094566abda0d09aad27b97b251ef5cc977b9f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Source paths from env file \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data-collection/twitter/twitter_process_json.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80134d2fe81e9fbb3ce98b595fda8079e8636aefc0957d17152f0b9bbcf9373"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: OPTIONAL - Put the Untar process in a script instead of doing that part externally. Twitterstream archives are .tar with folders and json.gz files inside. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data-collection/twitter/twitter_process_json.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fd4d9c52c82b47a388bf0305d9017608d2d0911809f40b25f44177c7361b9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Set up list of important hashtags \u0026 keywords. This might have to be done after we get the original tweets in a separate file. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data-collection/twitter/twitter_process_json.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f0a6e66b1fce8a09df3c283ac45ebb4c826a4ec8a8c4f8b7fdac86b14605a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Process data and filter based on hashtags \u0026 keywords \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data-collection/twitter/twitter_process_json.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7815426d6d28cbaead23e7c3248799707f33bab9efd4e47610479ea2dc7ced"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO The fixture should close this connection, but there seems to be a bug \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":"oasst-shared/tests/test_oasst_api_client.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"810964b898b603985b37276c78af0ad49c82b3cd173e7e719b3cefe04285b85d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Move to \u0060protocol\u0060? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/api_client.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5910958c45174e74e648f20791d158d8aa9cceb888e071b87f12f2dc437c2e31"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack just to make this work, can optimizer later if necessary \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":"model/pretokenizer/indexed_dataset.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2451d4cf5fa98e00f7b2fc3a201fff309a65366821a147bc1a129a512c276a77"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # hack to allo for different tokenizers with different eos tokens ... rest of the \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/trainer_rl.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ad142e713f6b2d9ccaee3e7342f4a93975904cfc0eb89aed577500cf56f097"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO change freeze_layer parameter 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":"model/model_training/utils/ppo_utils.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0feb9c705a47f4f957cad3ba26a170713f2951fbdd4420f963385928fd4491b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Optimize this to avoid wasting RAM \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":"model/model_training/utils/ppo_utils.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"035870ad4e8986ca11d0f9e112fa8ef29e25f4a3f643734a78a13705f6a78773"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(dahoas): When hydra model works need to also support generation on hydra head \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":"model/model_training/utils/ppo_utils.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa2a800a0969167acb2bf3ec52e7b3dd6ddced902b7de22882534d440c46825"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: we mask the last \u003C|endoftext|\u003E but I don\u0027t see a reason why??? \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":"model/model_training/tests/test_dialogue_data_collator.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9796c99705471958c1d20499430215b788d4c160712ebee3fdf1604235400a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO make val_split lower..? by saganos \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":"model/model_training/custom_datasets/__init__.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6fcbe83b540a33fa5ce4158fa8da755c51bfd81278e0a6b603ec1af5b85567"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # hack because the \u0022normal\u0022 inference server does this at once \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":"inference/worker/basic_hf_server.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ee57f6d7e84a549d78acbcf959ab7c3d3f5905c899885cbb8b85b1d44880aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider passing language from the UI 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":"inference/worker/chat_chain.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b43d548d861c583f8e608c945c87313abf10e70d73ec5aa3fafc8f87fade53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: make stricter with better models \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":"inference/worker/chat_chain_utils.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"373e2bc46ac50a21cb4ff8894753ff43acfbcbf1bc1ec1aaa4e753dee1e73ed3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: optimise this. Inefficient to decode whole sequence every time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/hf_stopping.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe07ff17e6564bd1db2c9899a7cf56ace13709ea0c952c23fe6abce967ed30e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: make more efficient, e.g. pipeline \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":"inference/server/oasst_inference_server/routes/chats.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f105f97a285f717a1e39cca99c57c3d5b85678026082c4f15333061eb20354"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: increase these values after long-context support has been added \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":"inference/server/oasst_inference_server/plugins/web_retriever/main.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f48861f4da71f984a223a1903ce172a87928b880cee42a402cc05161fdb66bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Revisit cache settings \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":"discord-bots/oa-bot-py/bot/bot.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfa4b7fdd91ce4227c2606de5a862092a06e3394c2e771532862985c849c6ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Grow this on startup so we don\u0027t have to re-allocate memory every time it needs to grow \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":"discord-bots/oa-bot-py/bot/bot.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0600eb66070de06bcf819d8ce57a4834a7faf6bc62b7cafcd044e32c0c6a9628"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Finish message \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":"discord-bots/oa-bot-py/bot/messages.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"072cae10978666549ea6682f50f9ca404dae2cb4e6b90640dcf771d62f69828a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Embed \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":"discord-bots/oa-bot-py/bot/extensions/guild_settings.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed5faa8e37b5bb38f222f853896492956484464565317522942ee6df2536621"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Delete this once user input method has been decided for final bot. \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":"discord-bots/oa-bot-py/bot/extensions/user_input_test.py"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ddd447bafd0088075a2bc53f74d9dfb22fbd4012842c212f08ea4559bb8d39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Ask a generative LM, \u0022Can you rephrase the title of {title} into a request form?\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/youtube_subs_howto100M/prepare.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9f56e575c8f88d82cf866018929b6aac55172cdf2529af57d8bacd4c6eb5a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add punctuation \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":"data/datasets/youtube_subs_howto100M/prepare.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fda531b3ad5d16b0c2cbdd0f5600efeebafd0392c8fb01f67dc41217be82fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: parameterize ratios \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":"data/datasets/youtube_subs_howto100M/prepare.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b0c8f84b46416cdac3c5d86d993f40df714ff5321f985ce4aab9d23eb9ea70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this before making your PR \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":"data/datasets/youtube_subs_howto100M/youtube_subs_howto100M.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdb27f315f74e6aa24cb5509ba4f189ec75a712cd68a1e65d9d67884327a813"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: set False after ToS acceptance UI was added to web-frontend \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/config.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17117707f0d7de42f010fc563e6bd6d3e9cad72b04a0461f255c475182c239f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Should it be replaced with fastapi/pydantic validation? \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":"backend/oasst_backend/task_repository.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5522ce19885b60f2e9349d288028fc36d04f093d04314cd5e7f0c3af9f794a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: convert sql to sqlalchemy query.. \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":"backend/oasst_backend/user_stats_repository.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96c02082771561fa924a55ebb04a2a9194fe0b6efceeaf7fc5266aa353cc9e3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 23 project(s) overshoot their size bounds, lowering Project Cohesion to 6.9/10. The most over is \u0060website\u0060 (16322 LoC, 350 module-visible types across 73 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"c73b14852d7d1093ab838770ff5d24c70f22f1c0326782fb16b1e438c0c37033"},"properties":{"commitSha":"0767b2064eaa8620bd79e73f09ec277e84ebe787"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"f3c90bd0c5620960643a34aee56f2fb8709eb2952a274b2cfff6988ad8a1a977"},"properties":{"commitSha":"f675aee558d460fed49eaeda03ff63d87ac44126"}},{"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":"caa64645013bf477b63e1fa511f9eeefe7950db51e5a5d174d336607b1623f59"},"properties":{"commitSha":"b0f0705f64cf4a6e0fe855c3f6672ff9af8128f4"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62c43ade36a5f4c20cbe17ed28f2639c01fabcef18e005d9131ff94938b78196"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf9399bf5497c2c9886b3f537011b1a58bffc8c39d2fd1adfed12cea84e90994"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3c3deb4183e034555620c1754ebfdc1a1544d2b33ccf1ebd2aa808d3767605a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d60dcab4bb94a04dbefc1b2d4a797fbf70cfe90396013058d593789b3935e603"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0b9c688ca915277de35283c448511431d86172a76abe8e676d51188c9aa3bb9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2985cf4c3adb2a9841f4a0f81a1edf8427b225ec0ae25ddfae416bacce6b07f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ae57768745c7c9d0ae3be2a1e8119cefa6ad2b742e9be09f277ec5a4f4c8f82"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa44d748751ce7d0e62a398091adaf12e5468cf463a6de439e23933749e6b65a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b5732d687f6494b369dd1e630f1478e4932c374436b67ac1efb3beaee6fed76"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9449a0fc57a83a7144f42d27265514b918c2fba69893c62dd220ca266cde1b43"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edebdef8f60a46c5f39494600ce70f93de29949a74a8399fba766f3073533f24"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a2f5f92a66e9d4bb9dd8f8997ae1a4d6b5643c5acec4f331fad63479ceddb35"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"164b5b915e1811896f06ed64067012fa6d7e3344eef9053c52e966cc113762ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe26e7442ed5590e51c55913b55d80afd9674af76465c9e737def12ecd37dfdc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57e8d65bc423fccdfa2586cee6272c32c2f50292d3c8cdfe94a87a2e3960c407"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6793181075a871e3b1b914e9cffa13dfabee16251e056e46a3dcd98025c2ded"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9958cb989bb3d34629973135c0b313849daf48ec2b80b50b37d21013c8ef97f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfcb2d8eca04042e9f7ea23b6a36052ec7dafb5cc4ca6a416d736b65a94516da"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f5e1293e74317d3ef06a5db92854230f0b08c1512d3e47252c4c18e3de0feec"},"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":"16ede04659b81fd11216b26931d375f8a4d9c46b55a1857a42e38aa5f969ef70"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f659540665e0d47203c256866a64bc0447f5a41fda8667dd8d983cd729a8ec7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b047dc1a0a471217ce8553691c7f9c25375d241aa4c6a0d58fac179f7667a291"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ac9f5f7f4ee92e0c121ad8e152b7efd9fe88f9256551b43d7b22d484bad2c53"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"353c2c99093efe3108f2c8b137c4dd7c488359e290f3265a6387215a5db97241"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e5ecbaf9600db8ade6a0d6e63c116047e18e412a294fee0b79fcbb43090c7d5"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b7ab5a17621f5ee4fb5b8e44b0a310924c96e612a1f1a213f4d62e79d9e1222"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"915ddc874b9684b0c1952d49e32d29bfef166d677133123ffb5fb8d0d5398eb4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a294fe1764c3a784eb48f90f949b4f43d7fa78d1390855c247395de72cfdb367"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"598f10e4b1c575feb103dc6f0516ea4b4b3984d34a38b5bee65238a48d328246"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5782e7503295fa1ed1c8a2a798999f7e50699a8b358417fa9eeb8644337791a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4685f0f79a4266a69c25d232c707fab185c45f277c48e289341467eaba81269"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21629c0003372295db7423ae560250c38fea0b45a69035f37bfeed0516d07afb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03ca17f0ba32a34fae731cb368e0be18adb650c0e947c7aae51446fcd2e9480c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52cbd8816b036d3f930cb24ee35aa5ae4cb1b6aa422a58830b458041d0818567"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","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-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"c585163f120cfbf5aaad3a2df9c4c3145a755e1c8d45cb2ce71932bbb738a576"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","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-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"67f5e1182e8ff736368aef5a7d0982ecb3709e75b933a48da4f3f5f33c1765fa"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","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-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"fd782bbdb391fcf054c85f68ae688c9f94eee1502b6e28768710b805a594f939"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"791acc48aa1586b27093e00e8253fb36025b62e4b3e2fb15004c47016c3ad2bc"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","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-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"cd1896e3b4f807d5ee057a41d4709d631ef3b765fb51f5374a0f8d4d31b510a8"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","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-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"9155482890d2d8f9135096565a7884a4e51fac6ee5047545b742cb21508f4c4d"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","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-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"9f5022dbc2af5626bb4caede08f1430fecee6c9be5373e7a5e09dc80eb036e25"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","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-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"be7ad21ab8a4fab673bedb22f58159318cdb13ffe6542fdab9bac8f44a27a61b"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","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-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"cd4f987a1e31f761f3bc3bca255516b46948c927fefd9724f6966426e9d423e4"},"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":"ed6161b5fb0db6d54c7c063c41cc70874b685fb4fc8aa42b226edc5621a4abe2"},"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":"ea1581042154d9029f66ddfddd481e6b273a123958d1a95f99c759916975968d"},"taxa":[{"id":"CWE-330","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":"3a9ea9d748fab3c81b456350106536caef297f413d2967672f40d036f86b5398"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4e8f012a3f0911e64f1ffbb5980c77be955d25c63e462c4e3f2daf669eb3fe4"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7262e9f66a07f6d762159360768bf3752dce520007a81cdacb6fb53bb5a2f245"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"faabad095169c6d69d9a9d0392b40736e0819f4b6fb0e430f7c636255c1b93e5"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7b07f06bcc65b86a9a6d99fb780a13a7f6d28b0b779df50455fe5a93832f43ef"},"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":"6b5f1742348e4164481dc28d479434de2da55049c132dc79544085deb1351120"},"taxa":[{"id":"CWE-290","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":"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":"520a6772f1b2eb91ff51815b912ed3d92c66a00535a360bac4f2b221b0b6102c"},"taxa":[{"id":"CWE-290","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":"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":"009630c3af63db729afde5fa7d9646bd49dd472185224f562ad752b8c663a821"},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"3f499e36a2e72782e980fb9bd306e3cdb0a7ee32d9435298941cb65d8ed9cf51"},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"ef9a835a3415ae351f067dfeef562cafbd65e2341b75cc1c76226138b7f1422c"},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"f1d13e37edb3a4a79aa0f76b49c2e4e53434fa714550c24860cb50398c532c77"},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"bf0ff66600cb70b08daa04516b291e3f3c714dd3052e9bc81a7ce8b453d4ea1e"},"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":"a4b81ece528983124764216690e070d7fca1824bed270b6c3a7caed48c26ad5f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"4f31c37a267e1157b34c01f28a61cdf7f22dc5bcfa4933f33f6db753b234c559"},"properties":{"dependency":{"package":"python-jose","version":"3.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2024-232","PYSEC-2024-233","PYSEC-2025-185","PYSEC-2026-4298"],"reachability":{"kind":"production","file":"backend/oasst_backend/api/v1/auth.py","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":"c1612cb6814854faceab6d6a506ddf2627cb07e18b8f89e4c5e5c83506a8afe0"},"properties":{"dependency":{"package":"gitpython","version":"3.1.30","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-137","PYSEC-2023-161","PYSEC-2023-165","PYSEC-2024-4","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"],"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":"728be24dd32fa0832cc29209a09531ff37424393edbb33e447752bb695c28149"},"properties":{"dependency":{"package":"pyarrow","version":"11.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","PYSEC-2023-238","PYSEC-2024-161"],"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":"cff4b819182a6a0f2439cd3f17513cfcbb09ad3efb3f683bfed315b38f6181dc"},"properties":{"dependency":{"package":"anyio","version":"3.6.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"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":"b66ee5a38b416be12e8f53c3596eb0f995f366d3a5fdd91c1b23262b133e2091"},"properties":{"dependency":{"package":"jupyter-server","version":"2.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-155","PYSEC-2023-157","PYSEC-2023-272","PYSEC-2024-165","PYSEC-2026-2187","PYSEC-2026-2532","PYSEC-2026-3472","PYSEC-2026-366","PYSEC-2026-4054","PYSEC-2026-67","PYSEC-2026-68","PYSEC-2026-69"],"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":"13f6aa2c50c02263eaf092e868ad0ffac61ce31b1e8b6f9be058b34804463779"},"properties":{"dependency":{"package":"h11","version":"0.14.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-348"],"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":"7639a22231ee26d016ac1e5549a995fe253f474961ba7cc9b3a6942876fac0ca"},"properties":{"dependency":{"package":"keras","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]","[GHSA redacted]","[GHSA redacted]","[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-2025-121","PYSEC-2025-76","PYSEC-2026-1486","PYSEC-2026-1487","PYSEC-2026-2324","PYSEC-2026-2547","PYSEC-2026-3629","PYSEC-2026-3630","PYSEC-2026-3631","PYSEC-2026-3632","PYSEC-2026-3633","PYSEC-2026-3634","PYSEC-2026-369","PYSEC-2026-3856"],"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":"7c23c038235e1f262c4e5f0945f6e22a1572479a76b9e7d2fda57f3eec95c7f0"},"properties":{"dependency":{"package":"langchain","version":"0.0.142","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]","PYSEC-2023-109","PYSEC-2023-110","PYSEC-2023-138","PYSEC-2023-145","PYSEC-2023-146","PYSEC-2023-147","PYSEC-2023-151","PYSEC-2023-162","PYSEC-2023-163","PYSEC-2023-205","PYSEC-2023-91","PYSEC-2023-92","PYSEC-2023-98","PYSEC-2024-115","PYSEC-2024-118","PYSEC-2024-235","PYSEC-2024-323","PYSEC-2024-43","PYSEC-2024-45","PYSEC-2026-1507","PYSEC-2026-1508","PYSEC-2026-1509","PYSEC-2026-1510","PYSEC-2026-1514","PYSEC-2026-2192","PYSEC-2026-2555","PYSEC-2026-2556","PYSEC-2026-2560","PYSEC-2026-2561","PYSEC-2026-2582","PYSEC-2026-372"],"reachability":{"kind":"production","file":"inference/worker/chat_chain.py","line":20}}}},{"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":"2932b7ea91cb94cca814ff8723e4467f76e205809b00aa7b1f1a8eed93aa5bb4"},"properties":{"dependency":{"package":"transformers","version":"4.26.1","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-299","PYSEC-2023-300","PYSEC-2023-301","PYSEC-2024-227","PYSEC-2024-228","PYSEC-2024-229","PYSEC-2025-211","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2025-40","PYSEC-2026-1977","PYSEC-2026-1978","PYSEC-2026-1980","PYSEC-2026-1981","PYSEC-2026-1982","PYSEC-2026-1983","PYSEC-2026-1984","PYSEC-2026-1985","PYSEC-2026-1986","PYSEC-2026-1987","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929"],"reachability":{"kind":"production","file":"model/model_eval/manual/sampling_report.py","line":15}}}},{"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":"3ae67ab4f3e66080418597b296fe5808019501985896870947cc49e2a166bd0b"},"properties":{"dependency":{"package":"transformers","version":"4.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-300","PYSEC-2023-301","PYSEC-2024-227","PYSEC-2024-228","PYSEC-2024-229","PYSEC-2025-211","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2025-40","PYSEC-2026-1977","PYSEC-2026-1978","PYSEC-2026-1980","PYSEC-2026-1981","PYSEC-2026-1982","PYSEC-2026-1983","PYSEC-2026-1984","PYSEC-2026-1985","PYSEC-2026-1986","PYSEC-2026-1987","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929"],"reachability":{"kind":"production","file":"model/pretokenizer/create_hf_tokenizer_config.py","line":4}}}},{"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":"f6181fd4f2a4309b18b1561810998ae856eddc2f8d1644631b98ce1aa79db11e"},"properties":{"dependency":{"package":"cryptography","version":"41.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-112","PYSEC-2023-254","PYSEC-2024-225","PYSEC-2026-1283","PYSEC-2026-1285","PYSEC-2026-2141","PYSEC-2026-35","PYSEC-2026-3553","PYSEC-2026-3554"],"reachability":{"kind":"production","file":"backend/oasst_backend/api/v1/auth.py","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":"c77a3a2adf4fd2a5394092403c6560b239c3ff40bf0cbf7925ba17f1b5862a4e"},"properties":{"dependency":{"package":"celery","version":"5.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2021-858","SNYK-PYTHON-CELERY-2314953"],"reachability":{"kind":"production","file":"backend/oasst_backend/celery_worker.py","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":"7eeed847bcf31a10fd8a3feca0cc31d82dd0549aabb045c0dd309e65ece819c8"},"properties":{"dependency":{"package":"aiohttp","version":"3.8.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]","[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]","PYSEC-2023-120","PYSEC-2023-246","PYSEC-2023-250","PYSEC-2023-251","PYSEC-2024-24","PYSEC-2024-26","PYSEC-2026-1097","PYSEC-2026-1098","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1102","PYSEC-2026-1103","PYSEC-2026-1104","PYSEC-2026-1105","PYSEC-2026-1106","PYSEC-2026-1107","PYSEC-2026-1109","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"reachability":{"kind":"production","file":"backend/oasst_backend/api/v1/login.py","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":"0406b3376dcd1345ea37eb4f673bd9aad8dd020ac3f491933f41d7e3ac1a85fd"},"properties":{"dependency":{"package":"cryptography","version":"39.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-11","PYSEC-2023-254","PYSEC-2024-225","PYSEC-2026-1283","PYSEC-2026-1285","PYSEC-2026-2141","PYSEC-2026-35","PYSEC-2026-3553","PYSEC-2026-3554","PYSEC-2026-800","RUSTSEC-2023-0006"],"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":"c85c881feba56751b7aff7d75578ad548b62bc5647ab3dcf0e24a3750812878e"},"properties":{"dependency":{"package":"starlette","version":"0.22.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-48","PYSEC-2023-83","PYSEC-2026-161","PYSEC-2026-1941","PYSEC-2026-1943","PYSEC-2026-2280","PYSEC-2026-2281","PYSEC-2026-248","PYSEC-2026-249","X41-2026-002"],"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":"ebd04e13f0d02ff2e73285a6d8f0e2ae7d4eb477f16fe2b60ad4910ce13a2fd3"},"properties":{"dependency":{"package":"fsspec","version":"2023.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4217"],"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":"58f7655def1e5bb65097dd01d2d9666162bc2a6ad20322a2b9927c6790f7e63d"},"properties":{"dependency":{"package":"werkzeug","version":"2.2.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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-221","PYSEC-2023-57","PYSEC-2023-58","PYSEC-2026-1860","PYSEC-2026-2043","PYSEC-2026-2044","PYSEC-2026-2045","PYSEC-2026-2046","PYSEC-2026-2320","PYSEC-2026-3417","PYSEC-2026-4312"],"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":"1b3856ab8439d7002403ad3be806a5f4d45792ad677f2b6d41f7c0b2ddf7b04f"},"properties":{"dependency":{"package":"soupsieve","version":"2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3071","PYSEC-2026-3072","PYSEC-2026-4170","PYSEC-2026-4171"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08fb016d2ec4edf3c0b7b79d17d2bc867b8442c54ca96e5d651acf464417ec65"},"properties":{"dependency":{"package":"urllib3","version":"1.26.14","advisory":"[GHSA redacted]","aliases":["[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]","PYSEC-2023-192","PYSEC-2023-212","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1995","PYSEC-2026-1996","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"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":"592430713196042458c03fc9cd458ea9d10909c3cfb3b46697ce7dea23b7a3dd"},"properties":{"dependency":{"package":"jupyter-core","version":"5.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1477"],"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":"0a886788a7b16bb9631aa3b7cc65be03ead78071bd33dd073ce7e6807072cc3c"},"properties":{"dependency":{"package":"tornado","version":"6.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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-75","PYSEC-2025-265","PYSEC-2025-266","PYSEC-2025-267","PYSEC-2026-140","PYSEC-2026-1974","PYSEC-2026-1975","PYSEC-2026-2287","PYSEC-2026-3387","PYSEC-2026-3388","PYSEC-2026-3389","PYSEC-2026-3928"],"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":"567eacc0f8dc4980b6fca398eaf1804e4c15c5fda3c568b09301aca8962cf18f"},"properties":{"dependency":{"package":"mistune","version":"2.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]","[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]","PYSEC-2026-168","PYSEC-2026-2206","PYSEC-2026-2207","PYSEC-2026-2208","PYSEC-2026-2209","PYSEC-2026-2210","PYSEC-2026-2211","PYSEC-2026-2212","PYSEC-2026-2213","PYSEC-2026-2214","PYSEC-2026-2215","PYSEC-2026-2216","PYSEC-2026-2217","PYSEC-2026-2218","PYSEC-2026-2652"],"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":"da79a1460470b2f82037ac6ff451c94dffbf2708657fec915eca131c15b5cab0"},"properties":{"dependency":{"package":"fonttools","version":"4.38.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-1388","PYSEC-2026-1389"],"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":"fb621d8d0d1b4631f75720c84799a5dec526ab6f2ed3e36f4e4d43a6d5616515"},"properties":{"dependency":{"package":"nbconvert","version":"7.2.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1691","PYSEC-2026-2229","PYSEC-2026-2230"],"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":"8c657d98e98c2d2a768525d1a85ba4475282891bda3752ef7b6c23236c388bc2"},"properties":{"dependency":{"package":"aiohttp","version":"3.8.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2023-120","PYSEC-2023-246","PYSEC-2023-250","PYSEC-2023-251","PYSEC-2024-24","PYSEC-2024-26","PYSEC-2026-1097","PYSEC-2026-1098","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1102","PYSEC-2026-1103","PYSEC-2026-1104","PYSEC-2026-1105","PYSEC-2026-1106","PYSEC-2026-1107","PYSEC-2026-1109","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67751d3574a2310c4ce8219275bf2b38d0f0e53ea32ed2edba923abcc7f7a0d5"},"properties":{"dependency":{"package":"opencv-python","version":"4.6.0.66","advisory":"[GHSA redacted]","aliases":["PYSEC-2023-183"],"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":"ff97449470cdb96cf56cccfd3c77a1b477aec55c55117ec8593014d7e977c655"},"properties":{"dependency":{"package":"sentencepiece","version":"0.1.99","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1909"],"reachability":{"kind":"production","file":"model/pretokenizer/tokenizer.py","line":165}}}},{"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":"f8a91e02f79fefd3149185b095e78660487a31eb5d20bec1683189b9a1bf400e"},"properties":{"dependency":{"package":"requests","version":"2.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"reachability":{"kind":"production","file":"backend/oasst_backend/utils/discord.py","line":3}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6aece5a92788e5ff42668f8d5481825f1b490efcb4e534b60ae1bbc635fb6a6e"},"properties":{"dependency":{"package":"python-dotenv","version":"0.21.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f2b5c39e02e799ad91b1bdc4ffacc75a34ccf5e044f6da2914a287cc39e3cb68"},"properties":{"dependency":{"package":"pydantic","version":"1.10.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1812"],"reachability":{"kind":"production","file":"backend/import.py","line":10}}}},{"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":"b212886b39e2b5fb2c7578cb7ea6c2607944ac9cb0f115836ec30859e12b5a3e"},"properties":{"dependency":{"package":"scipy","version":"1.8.1","advisory":"PYSEC-2023-102","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"backend/oasst_backend/utils/similarity_functions.py","line":4}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"434f6aae4f64c036e124004ce7fc0755a13eaf5653cdeb6f74b4a9d2ae605e8e"},"properties":{"dependency":{"package":"fastapi","version":"0.88.0","advisory":"PYSEC-2024-38","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1850"],"reachability":{"kind":"production","file":"backend/main.py","line":10}}}},{"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":"6a66dd3b2e66dd4a7ef8798df950146dc9deec8ae431c12143d56ce60cbfadae"},"properties":{"dependency":{"package":"requests","version":"2.30.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-74","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4dbd2af53eb8861d2c6f00621e2d6ef96845409a418ba77f8400b64d466ec926"},"properties":{"dependency":{"package":"pydantic","version":"1.9.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1812"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3cc648e1e76de3cc7b9b51e134c77a106d8711da5268709aa75b9d014cb0703"},"properties":{"dependency":{"package":"datasets","version":"2.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3716"],"reachability":{"kind":"production","file":"data/datasets/zhihu-kol/upload_hf.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":"2998ab91394fac4c1840c3213a0dad629bf68295024af1eac625ece8e0745bb5"},"properties":{"dependency":{"package":"idna","version":"3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2024-60","PYSEC-2026-215"],"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":"843957151f053f8597d8fbc30ec0daf39e5d803deed2ea83bf9af4e356f57dba"},"properties":{"dependency":{"package":"requests","version":"2.28.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-74","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"reachability":{"kind":"production","file":"data/datasets/zhihu-kol/main.py","line":7}}}},{"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":"8d30ce4971e4134ac86ce5c7d6b7cb5756fd0f54bd4cbf4492f5f3d6c89b641b"},"properties":{"dependency":{"package":"jinja2","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1471","PYSEC-2026-1472","PYSEC-2026-1473","PYSEC-2026-1474","PYSEC-2026-1475"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce8797ec4b45f4e13ff2e5cf42d892d32511cbdd37134f4c415bda7717cbd8e0"},"properties":{"dependency":{"package":"pygments","version":"2.14.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2023-117","PYSEC-2026-2987"],"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":"13de2cff7f9b1d008f9995d0e453aed274fdfd634bec6a46027ef4eb19424ef6"},"properties":{"dependency":{"package":"filelock","version":"3.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-1374","PYSEC-2026-1375"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d42933f6f899ceebcbff36042c6ce534865bf00a05f6891574432ecf889e654"},"properties":{"dependency":{"package":"tqdm","version":"4.64.1","advisory":"PYSEC-2026-1976","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"data/datasets/zhihu-kol/main.py","line":10}}}},{"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":"be49b4c4ab4a7a1224c724137bda63e345e0066f3096d588b68bdb452ebc0495"},"properties":{"dependency":{"package":"bleach","version":"6.0.0","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19faef33b87606c8b637514ba37b92431bc050120bddb2b72cbb049c8259cf9e"},"properties":{"dependency":{"package":"pydantic","version":"1.10.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1812"],"reachability":{"kind":"production","file":"discord-bots/oa-bot-py/bot/db/schemas.py","line":5}}}},{"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":"2458617764cdaab511b72fe60808c4c83b3a472e13dd257ed1d087ce0eab9662"},"properties":{"dependency":{"package":"torch","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"model/pretokenizer/indexed_dataset.py","line":22}}}},{"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":"c5080b4c7faa133e55b207a66345108be0b8d3240f13b41a0047cd773cdd121f"},"properties":{"dependency":{"package":"tqdm","version":"4.65.0","advisory":"PYSEC-2026-1976","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"model/pretokenizer/pretokenize.py","line":15}}}},{"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":"bc07823e6f9de4df9ac2a4270b1af04a76ba326ae37fe17008b5e2dfbc83b6a3"},"properties":{"dependency":{"package":"numpy","version":"1.21.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2021-855"],"reachability":{"kind":"production","file":"scripts/data-collection/twitter/twitter_process_json.py","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":"cfd0b56cd62386b215dc8bfcbb3020a729c9d18a7965b33ce26d4be81b0152c2"},"properties":{"dependency":{"package":"tqdm","version":"4.64.0","advisory":"PYSEC-2026-1976","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"scripts/data-collection/twitter/twitter_create_convs.py","line":5}}}},{"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":"0a495eab66a036da3ae99e39ba172e2a77d7eefbb2a74d6715734084807faacc"},"properties":{"dependency":{"package":"requests","version":"2.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-74","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"reachability":{"kind":"production","file":"text-frontend/__main__.py","line":6}}}},{"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":"fc0194287dc9abc8d4692975e2f3fa3e4a008399de1728071c253d5402b63b68"},"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":"cefdb798a0a135cc582f7a7257cea09afb6dd7656f29665ce222e4ffb562575a"},"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":"9797486a8ce85ec98c064047ade199cd8e52d2b6d1c2f5109d83f1427f7441d6"},"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":"ac29d03bb7b2ec0512d246cb3234ab963bff0fa31d0e2185eb036eea32060cc5"},"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":"bdff52b9eae0f64d5a606e11629644d5e57fa890d67854a1225f631d68fd225e"},"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":"c739bd7c0c0fd9cd2ff4a299d362373c2df0b65c2509d8f87d8a6d82ef17b824"},"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":"a6ea6a49629239a61b9a5cd4fcf077805db157c1ff1cd064d136e41cd0a44ea1"},"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":"6a5c22b9681dea9cf384162e5460723d26b5e140dd5e2b0a781f728dfb8b168f"},"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":"72037fba5d76468b4419ae3db358eadac7c654f1ced0eb42096711bf789794d5"},"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":"49ac5125b0b94002a5531bd4e8cb8ac6d19ea6f2bf639b5d07aaed40064a6661"},"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":"b1d19bde3a64ce3200d7cbcd0a13a63df9a7faab690adc2487e51f601996f5af"},"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":"5762f987de2ef145f11522940b24c0189cb1ee3fe947f84c5f82441d5465ad2f"},"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":"90021edff0ba58f0917a4c08e422d98a9d7a0f447024a4879dbd10bdd232fad3"},"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":"54b4ec8140130ff74abe5a41e560444d0b69443cfaea1bc4c5f50aa6ad0b60b6"},"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":"03fc7810bd2e99c6921d1b69ce2c3b4f4ca1edf764dae1dc3a5c1fa8173269d7"},"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":"79340d81569929c39fc48297d6d4cc079b7cdcb7a77958c8f002adf775236522"},"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":"6fd5a6dfb43acaf4d2a548f441bc33232ee43ffa5518390c0c860dcb01ea26a7"},"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":"cc874e5bbdb76df71c66d3547277255e2f77b45f7189091dfa5c9a8925ad050c"},"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":"ab4efbb332ca40b9942e6ede3f68315c359c9ca9a3bcd1ce282fb856dcb7f445"},"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":"35b2dab88887d7966101eec9216d24aa26fbc90f362a0d66672ada75390ac58e"},"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":"b68589e447d1e2459e288c10c6b1e8c7844d36a021693dc23efb16c08cefff89"},"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":"7732c7736ef355af8e8c74de3a2f65de71606c206a528b1c6c02a0e581b57874"},"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":"45f5672fbe4284acc764e52e1622cd3495c0ad2a6640923e8b75dc94391c46f8"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"236b694328c4866c71ac2b738c16e40dd25179e7246a1518eacc3a8819b1d53a"}},{"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":"b306e8e77d207d880c28903549dd10f8b7c7bfe95e9dd93c563d428bb29793d1"}},{"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":"2be4a80bda93e6e01d5efca3b0b4aa423cb412c443efbf8cd9970f85b0967eff"}},{"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":"9442d6b20223ef2490341b8448b6adc4fa13aebe9a3ffe6108dc9c4296864a82"}},{"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":"9f423cda411b0a27ff99bc7d6fe4ec5313b5af0afaa31605b870ad05211c3183"}},{"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":"320ed013f6f33d78f2a1f85d2785181f315981b47e42695dc8c4484022e3231c"}},{"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":"36306739c059847ebb344613a8064dd2265d79133fd16b8c251b93d93cce30b6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48fc303ddad70e7cdcb308200d84af0bcda2f4fa4741ed2d5ed27d4b552d0435"}},{"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":"3085a809d218dab5fd06ef1b52e02916b1f31ca9e2bb6a4487d7e51f1a204363"}},{"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":"cbf9c076101d30e87055c2230178553bdbd90501d1ff594b2167b3e245e5681d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a19d2794734e6ff9372e0df211fa6fecc54525eab6957f3335bf5c256e3bab85"},"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":"4a6221dca6a68c723d6b1c5e2554c3bcf021751402cfd2b20ce39c02ab0ff233"},"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":"edf5f10cd8a55fbf5db67674f1a3c763b0a48df6344794684e9e9a773717eeb2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22f211c51ab879388c35ab99f2f464159347673d1f9a9883c584faaa2eb2d278"},"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":"86c5e89c33f08a5d1ca4843aaea26ba22957a6400c5e3f73d8da605448ac64f4"},"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":"c9a6b0ec39f2cbaee24c1596c1b84eac69d0ab5067a3250024af1f9e17843afe"}},{"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":"3ebbc2283ede03fb2450bdb5bdc57d9b5614293dbf6615dae7183ddda3a21472"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a43e54fd530caa5e47463e795370075dc7f6a1ddc5a6d5bd373627726841b746"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2f6b4e37cd54923b762a5ca858712e0e776d0c5af5cf909c80d4c24415aaf30"},"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":"84db4f6387d7fa019859e370863436e0ae36ce335e8564c70ce03a722ab27324"},"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":"01a16d4ab208a25289061ce4e1e8cf34b3653bd94fe572aa154f8981e94005ad"},"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":"ac63f21c654b0cd9c2ff4cfe239b9f926d8dc4dee4f0e8193973d2951a218165"},"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":"6a6861f69f3705b258b0b8eb964ac7220d1282f246d2c153f7646766f911737b"},"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":"34b7dadc767570f873a05a5008d485a3bd5fa84a0d9af39bdbe233cab76e5631"},"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":"43f5c27f9548ecb2e892e8e517b73f3ae386eb294f5f5b984f1c631036d93e4d"},"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":"3229ab07f69a2578721093f84db854fbb9033dae7c0d36244a3f65db52e87a35"},"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":"56c0aaf3840a22dc6880281d944beff8ab2591b8516d63f27fe604d6d24e746e"},"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":"eb4ec93c6a80f95951adbe8d4dd29104daa35d40fab198861f210c87f0c2067d"}},{"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":"39ea4e701293f9e018663772eae8d9d22880622fbb69a234cf1b3ac550b8b654"},"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":"c52ff79548bc3808377a1b6ea7052e2bfbd91d47f6e9bc048fcc25eb9608275d"}},{"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":"48f5b8d0c159766fcff46591474fcab10656bfaf1258c29f6d443cd3dfb6f452"},"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":"163f6678ebec09511c7c16400ee7d14429fe6a9ec9232948e6f7feac524c60d8"},"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":"38d7dc7cc4f6195727254b6fe203b94bdde721ccc6d18f47737413ea0a0c5431"},"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":"92d407d8e11a1095375028cec3eb325ccf6b4980a8dbf35e0f26fcd68f19dd49"}},{"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":"61c6a68fd426f1de114afd181f53eddf81fb38e98e7a2f71da46253e65a19cdc"}},{"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":"f24fbc2cdd36f4176c0330183f363cc7921e28ed737d942cc12f86e0f0e7fed5"}},{"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":"63a57be8796b9117257bec15f1ae764abbf39d866e69717bec07fa2b4e51956c"}},{"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":"26c3b0dda8579a9ac3198f925e00f73aba619a00840e3c1c758ee17c7ceaac04"}},{"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":"e2ba8cb784a42782ceb54df7138275cea7da4062d73eceff1bdce92171796e5c"}},{"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":"1e0520a207f4e38c918da7e84e5471768271f22159a71a6ab0693ba392d9d447"}},{"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":"b21213d94319768799a29617ee4cd23f38c4f213e0e938e70b40b2e83418cabc"}},{"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":"e2edc14e98d7a59e8b51b94f3ed4021b61cab6846d01b6c5b8b575b8a95e9f65"}},{"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":"3fcf8c17578608687e1affe3522b52bee3bff5ffb3d1b1215d467eafc01813c1"}},{"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":"2ffe82be643f492c75be5210080590b6d5df5a8738eaf9f4a050847f3549f4f8"}},{"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":"d5d3a965fad18308deb6e9cfc55874d6cdc18ac35594e29dac5edbae8eccdbaf"}},{"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":"42f2baaf4e9f919e129c3ab5cf2de1274d1f9e060fa53c3cf70b5c9e8db35d68"}},{"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":"7108f26e4ffd9696e872c4fb57930893f0252ef6ecda8a55d19a15ac50798680"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 180 of 180 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 180 separate risks. Counted over 180 of the 362 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/safety_directory/child_help/child_help.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe87d1d633b18d671340a8b08c47186fb4c78b03896580c9784f2d659e3429cb"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/tree_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b152ce2110e3e3deb5f4223ceccf7e1d61d70994a7bd00788e66348ae3c57d2b"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/prompt_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b39f40b280428210ed367e22bfabcc68c6ba27d88a927bfc2e0d322afcee0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/prefix_llama.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfef3523e760ba3ac4369d9fbf077f3cd3599932e1a52b90efe1eddeeeef191c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/qa_datasets.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb91e9393efff3e257b17d51703c69bca13db85510b36040a7b8f9b87b2a61f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/utils/ppo_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5c7f8c314d8a8c4f6940213602f2f02bad2fe144f0232c95ff36717676147d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_stats_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be35000f853aa1ff2f1bc0243cd010039dd7cf1f45a652ad8804283c7d289087"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/semantics_ws_qna_oa/random_stuff.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bab21164b637279f6914903e98ccb11c07a8d68008a620cfca0a55cf75eba1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-py/bot/extensions/work.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72b80a06c61dfc5a5dbb2d57c00b3689fbc2ae000eee424271eb792348d821f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/chat_chain.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"680f3461b2b7cbf83e1d13e089316563908da935a9d0609356bd9b1a15303ac0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/routes/workers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e395cd357ee3b2bf70d3ff66ce6c5c0e3cbf893763dad7781e8cdcbbd5d54a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/trainer_sft.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a63e5b49dc1712a2df9224227ee2c4fee040d396a20e0898b72fd63f8a9798f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_30_2054-abb47e9d145a_name_changes_person_user_post_message_.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f8bc1a64736833d853b61c59dc676fb69154e9b1322b1859295bee62dde15a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data_augment/data_augment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce66eb6130c97c78ba840c2b072c2a95a551856327bf38ad8b7784793aaf16db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/utils/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e479272e00e7de307d2ca0fc36a677a7ffbca32f4ababa2ba43a0d45a0189da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/schemas/protocol.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e4bce68a5e0034ccafad4864b94af1345e4a334bdd4a485ac255ea50b882a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/export.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14850c670021acddf881108d4d31e76731768962400b0c2cc0e0b1ae66703238"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/user_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c56ac312f2a834a772cbc688ef4773c7b992d083a0a55062d2fc1f659a409a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/routes/chats.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d0148aa5441705e8b593a78d21696bf2d932af95a736cec8d1316323897074"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/chat_chain_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd4c3d37a58c769fe72bcf2e92d4d22d5ab8e8f33ada19d0c84a329ab2f1551"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/pretokenizer/pretokenize.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5957331dec9ea997b27d84a5056f72a2c9ff9d6e249c4e3e7a8371ef2552fb5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/user_chat_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade061be24da66e5f3733f4844b14a1c24bda0e15fbdb56651282b2d0d65b326"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20f76eb36d8b114ae72916787acc7993e7f025ffa29557312e5d619522c7a27"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/manual/sampling_report.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3403a265334e5d901bbd14d400a4f7cccb1906dd1719842d807c33c0a571f65a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/messages.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fbd71985ff634c2d45b245fa5d86766d04421d4b006ff8db5609ba2da8fb36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text-frontend/__main__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d089f6d7d9e4cdb2f1cac0e330ef5dfd0433a03e8bf107468dee9b345c37247"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/work.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46511d1da394fd331fb97a66497a2fa044c7dc9218d4d5f004a065610ab5b2b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/trainer_rm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be446b41533e51c7ef30d6196af291c93705269478db70796c4381a234c3a2ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/postprocessing/importance_selection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2d55142be9f700dafedfd2e0e13fcf5ca621b10c38b35121c57e2d5312bf80"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/database_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a033381202ebd2755c1c0d2a4b8d3ddeb3ad4dd3dd3ff8ac9c2b602588d27e81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/soda_synthetic_dialogue/prepare.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7691fa9c4fea23cfb2a5e5e39b0e9989a0c9492096bdf8fa362529eef29f6507"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/users.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cbe690cf7937dba04ee4450621ea07c076197c73f992e7ac3ecc2fec4a25cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/schemas/inference.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9565e2831547db2543d4bf36e5b667ccb1fc6ff686ce6f4f8995e21416119e0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text-frontend/auto_main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b99881eee801bc78307bfa11affd547e1a9f22902e51f2ce08fdd89a3c4e618"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-py/bot/messages.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5ffbcb2e8ce2750594c09025c7337bace8dc3d697abe8c7e4c6287bf123e05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d46043e9bcf17b42b2059e4f1ddf36cea7f5b519dc6669808fe50324d3cac3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/task_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f41c8a06d80f7da75fbb46a161694204fa814858f8ecfa43be3cc477939088a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15a3f05373342fc9d6a299b117556e609f1bd1d0ea9e39bf188227e1701cb24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6ba107cac018f1c663612f269f6e64832f4cd04265810cc6f4e607aae9232b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/admin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd8208b677aed0e529e43c831e54b1b6caa7862803395a4ff7851f4b19ac301"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/patching.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3266dad7b3286ae654445518f1524cd7fbcef5534b2b1a6ba17854376ebdea82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/summarization.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ba5aa53bc5640fa15e8ce58b846c5515c814520c72b27b40b027555d9967fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/routes/auth.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d934f81c6246f3c1f3e492105c135e1224dfa1640189df641736d3ba16dcf8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/tools/augment_oasst.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96905f3bc94829b46f01a6d9f6a1ec4a685703ebd236541cd5655139a2598e0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/interactions/tasks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feea7d15f30f1de511332122628b2e52a553f98081161590c46f699455ffefd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/plugins/web_retriever/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25afd8b358e274a292192bcfbc65b6f8549808e8f82aa082c9552d1a700aff3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_16_0000-cd7de470586e_v1_db_structure.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e9183c7e111c952a78c607a05d6e9e35cb27a712c1cf75a5ec8f282990d290"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/prompt_dialogue.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb149a2f246bc8b7aaf6b151453a646cc53201ff0e12484481fcad5fb158062"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/export.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a040e1f549b3da369a6dd02620ee6bd4f5b76066f20a7953b7a64961f5e473d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/dialogue_collator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac76b33b0309f14ec5b8439fc18468fdc33b0b691fa7cbaae293ba3f53ba87d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/formatting.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e2ad0ddf087bb623a24ba8acd104b3bab0142143d81b47cba5d9774afd1f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/rank_datasets.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be23b84351712e330abd53ea22e82932cb0d6db1155008d7dcc8c8fd2bb4d63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/safety_directory/emergency_numbers/emergency_numbers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cd75f6aa84d5247d1705ef185f9ce79888aa33ee7a7693488196fa719ec6c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/import.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35946aa895de36d6278aff6ed7704f4c8b61f7a0b8e0570fe85b682e7117955"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/alembic/versions/2023_03_12_1742-7d5be54acd49_initial_revision.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef3fcc5170a32b985a9485ee358c826420f643f290a17ad552fb3c2e45cbc19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data-collection/twitter/twitter_process_json.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9461b1a68bf1b4114143ecb1484c02971b1477c59e495b07d88358f78f7b77a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/zhihu-kol/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fb5bb50d863892d2ca7fe93c8822ca3eabe678f08db21310c76fe2a49ff7b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c5d459f0285cf0897a0debf807062b0578d5845bfd692e69ce469d5b7742e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/deps.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae644feff223457a23322726066892b3c705acb6c0bbba8fbe409f03cf79cdc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/basic_hf_server.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"520159f34e5ed068ee099569756e2c93230c744631a923becb5484639ab27964"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/postprocessing/scoring.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09105d12e9ce4fcc86be911cc2353d794ca7ce9f6e4b5646e1987408e5aba1f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/compliance.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c4cc54ff2a2f51472c135045a3c400cff2be0ee9551b912255cc21f456f0b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/trainer_rl.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5030ac6c86d567e98cc7003e6d233b79a70fbc5502e070c04172e40f5c0255"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/TSSB-3M/generate_dataset.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"190b9bd76cf320f270c24aa532e79348f9e2a3f80b2c7c24b89a9a3b623c6b96"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/gptj.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"397254b63e96a83da2da8429d05f682991a9c4785913ccc3d97ed14103bf74a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/oasst_dataset.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9f26f5415a711010a6602900ee325f59f8df2163f9217a806a9450dc28f6e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/zhihu-kol/scrape_by_topic.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b87f9cb2542838bd9b7142bdd5afe1cf5855887d8996c5894802b1ac46ecdae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/tasks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9763b8342ed3fbf78342b310554bf5678cc9455568672924dc35dbc9ac82c647"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/translation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a2ed97b625386f8d4c1170fe17a39dd98ea23767547dc59ec78de86503e092"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/auth.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c69b087db70e7a6fcfb723c99fbc1694b62557ec431bf4f84015cdfd16ff86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/check_dataset_counts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"156a3f23307c5b10dcccf2e71783d067a8956f569a5be700749c7f7edbea6e59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/api_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbfd5e0e2cb36db2d0b6598f3344b8e69f3975bb997ded300fd722cb0e46ddd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/instruction.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"245d28ae304420c4cf038c26c4531ce30ef262629aa1f1e88fe5c5bb0b4b6e75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/tree_export.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d7c48f484d998eec2be9120cf46febf5f7e4421fb67ec8fe2e9ef5ab4b37d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/similarity_functions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d2d0de8a4a48f135a91bf25818fdbdb10959c3d971e5957387ac6fc0587230"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/poetry_instruction/prepare.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79587f4600800a9fba371ad4045b4fbb8d84adfd3a49f6a2afc0d75d7aea7b40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/postprocessing/rankings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6350aacf70ce9c9c263ade4a770698bb2072e6918d83cd4f98d21fd8f9d92d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/ranking.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5303a5425c768d8c65c20d32832c0c8e059b96161a38dfde0df5d7ae98a27c5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/tools/model_chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"115bc826b28d66181af4d0e0001620c639aaa9f05f5e1e258bf2201c802f0fe1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/commands/chat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a87fa21947ea32b5306fa86a5fd94a340ea9937d9a6818872199a5d7369511b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-py/bot/extensions/text_labels.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb5d7ee2e644d264365807c0aa221b7794eb086c29dfa750b3ff88bc6e781f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/patching_llama.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd75f227fd288cad96634855a690b4dd2fc5f7176a3aeef241e3abed3770db0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/tools/sample_rm_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee78ebffe2fffdc337c554a01fe4470bf565b24c47b3df81847cf79d3868441"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/postprocessing/regex_pii_detector.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"638f2a102cca5bf07cf82002d2adeced6d8e8052f20e0f0e4653bee876c4f903"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/frontend_users.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d974682367eddb0a22e3904a4f9afd6348cf750827c9b5798edf4d97a5236769"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/check_dataset_appearances.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"117dff8d794f535cb7f472cfda12794d4d7fc9536c3dbb923ceb063667f1141e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/__main__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5126f2c0cdd2cc0a008236e37018dc1cf6fbc8e23c71dca56e4642381835e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/openapi_parser.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"693814714cb2e2c28da5aba01d46bdc486b634c34ba10dcfa95db5177979c7e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/biostars_qa/get_biostars_dataset.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d266ca5234bd9623efeab987b96cc8b9a3e600852f386608afcc0ad3b7153fcc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/oa_stackexchange/process.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1636e479882114d8fb321aec6245492af00f7814aa24fce769e73e88323247"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/model_configs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceffdc36a624f5ec4515871ab501240b742c184462176e82cddf0516277b48e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/models/chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbb1bec21a97fe7db1d49a1221f3ff5e91e45f6ef331b6313d4766f6df9c993"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4150faf20bc14fc745e7a5e09c52be6fa3377d185e592ef293d76a29562491d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/postprocessing/ranking_disagreement.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5229e4792929ddf1ed4d8854ae9b1ca500832ad25054423e2e120706b541f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/chat_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4277d55cd2dc440e7a7a49c992bcb3203e5460a17ee8de547100c7e5cc5729"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2023_01_14_1509-619255ae9076_add_rank_to_message_table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"160b42502551df951dc5cdceb418be584f5dc05a730f002aa68a6fb3a641c877"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/open-assistant/labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0763178ca1bd8114df4325970a3c81354af8b9a292d2011f44f879592f9428d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-py/bot/bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8209349cd98d9fa54ddfadf212f69d9ed5cb636a3bbe4e0a18308ec72102c06e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/routes/configs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"117d2ef77414fb9e98a8de04f354e3d475ae9da974f87de56f3a3d1d1a01b26a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/tools/model_cli.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6473dbf84bec5d2e15c6f88d52b1c3998c9e7b8d8355363a7ea0ea40da446e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/tools/export_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e55e0de0d55089470ea072670345dbb373d30c8a7886c3abef2318b9760cd6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data-collection/twitter/twitter_create_convs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e4962cb91c5e38984f1f131a3adb1e2f597fdfc60432b76317c8e1865f1134"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/worker_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f187005a706c320b4bec2038476ed1addf9ab8acd7ee204e77c630cb83c4a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/message.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4102ebd0b347d99b0e7166668d84584510c8456248bf889a9939734523ea75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/scheduled_tasks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3145fdbb69e6d203c344cb7f9de897e11c763f15743aea4931d72e75bb39e6b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/pretokenizer/create_hf_tokenizer_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8f87cffe54e285b77f7abac018f85de60c2dc22b517e584a107cf02d22d53d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/cached_stats_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7666978a2fef6898fc8a34f278eb0bb7ddf6ad10c1b1c4e122d24a956c2f65e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/frontend_messages.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a2e2f7abb1793ee2aff54dc791dc4f0bb49a273126f88b60f7c8d0f0a6a138"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/peft_modeling.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8272dfc37b1885e466f5018ac825e547e0a98252d2502a92913763d8eaddb98"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/message_tree_topic_modeling.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccf1fdddf7f95de1b733024bee5a90f35f58dc70121435b92530cde29e96bbf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/utils/losses.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03220e6447c451b4ec4257e9576c2d9120a305404050a1bbf9fd005dc4c0b6cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/logicreference_OA/generate_dataset.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc319c31d07a8048da23f3b430cb811858bbafc8f12479a88e5ebb46c4c6023d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/text-client/text_client_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9371d7fe809abb2748008a551860ec0bbcb4d88538f57f561323b8d862b9e0a8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/youtube_subs_howto100M/prepare.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0cb45c1b9fbfc4139f70b4fc36b7716c5eb1531308513c5e89e2de98e6e7ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/task.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"708be10181d367c368a3872e144a4a2f9efde354b942ab83a95ad76b00752d00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/youtube_subs_howto100M/youtube_subs_howto100M.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f741c74a792c47e6c9b65badaed07d2ea43ec8bac7f5a6849d287c1dbbc87082"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/tatoeba_mt_qna_oa/data_process.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a53c1af8768739d861ccc212e6f266268f7cf428ad9f80e218b00f6951a8c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-data/oasst_data/reader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc20ac883bd8437d588c0f8cbde341922dba8fafb1cc15f3ac6a5ae488a7f16f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/inference/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9a3628bada791cfe6f821f067165c685c10efcd5458e40139ac5e0341f2bd4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/eval_rm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e270d7327c1f218c3e077acfddf42752bcbf26ba9175fb1e351cdaa297e19c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/db_payload.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"800957ac958a6c0232c401c99d40f2640e4b61b04a7a2868d38a1db3c493a5ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/mt_note_generation/mt_note_generation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"141ea0f31aafa38e50ede1e2bbe26c752399fde9bd8e1c4e024315a9663c6cb0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-py/bot/extensions/guild_settings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6aa991359e2a14bde415d7156112f57cc72d09abb39cab3ba6c55e49ac60b62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/ranking_collator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b0133efa1876174eeaec9e0e1a31975f2193376dc868d45fb1c1dd60ee2966"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/journal_writer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b89ecb92d1e4d9e5bd4c32c104ede48c22e2d4a8c592a4f8ddfbb643d37da20"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/language_classification.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9cf95d62ce691f7af61e542c568380ee3f35a946aa989d15bf11a712875018"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/soda_synthetic_dialogue/soda_synthetic_dialogue.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b806bc3ca437ddfda4e458a896a2544b6e2bfdda5a14cce26868a53b6e1c15f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/settings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38765da00a40195a74ff5809793ba50b6165b6b3df411fbbaf13380c08fa85cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/xor-codec/xor_codec.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b86af4ff887a68a846888311966db4381754bf8d75f68bb1ad498ea022cdff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/to_triton.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"817b128aaa4516f8f1bb9a69ee5755856eb6231499c84049da408a1c46f497f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/manual/subsample_dataset.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f5ab8a30a201424f29ba21e36a1abf2eb01699ae36becb98af1f4f930bb658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/message_tree_state.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aab03fa4e70f81fca1f4ae7eb37e2d22897eefc33aebfa36ff63255fb63176"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2023_01_15_0002-7c98102efbca_change_user_stats_ranking_counts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64710c5b98916ddba9ff679cdfe7553d8c673bddae9faaa3ebb16b431bb647f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/schemas/chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be03177dca3c70f1fad9b444f2e644fa4000c722b5966f1e79072733a5bba80d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/manual/create_synth_import.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f60373b642e41f370dbbeb59912b2db8c8c790fb099aac792759721ad5c24c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/user.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4adbd139f543b32b7daa05d3927d677b87f8f505d31b02e51804021021a8d3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/routes/admin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6249bb30be6daa42bb3004fd7766906dbdcee004b1209921700fc6dccc1b6b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/update_message_attributes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1530d0f4c6c502287975f2c0ad148a07571c69c1ad2aa19e30ee4126159de8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/queueing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f038aa13354d154c1f4786a8bd9fc5f8adc249b38f3eab1c2f74bba370df15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/reward_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2f252d2315d8666472871358b03e4b35f2b3346a3fc0624fb01b20a4a501a8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/patching_falcon.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e083160e3cd283ed048c04ea6fed6724b2aa869bee90bbf38e60f798693923ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/postprocessing/task_schedule.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c860eb2f2ed50d69419ea3acd059de4a4fa782cc221dda7e3d00d29033ce5412"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/text_labels.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb9952114c33f3338820b7a2fac854c24d30dad9212aa3752415bb80e01b65f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/metrics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"376248835eb018646f1aa05b5cb00d9a275343c6d99e57250ca0f3366a766c2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/payload_column_type.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46a4c63e982f7bc35612dc2cabbc40413db560c78832e208d5bc555820a1d40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/exceptions/oasst_api_error.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a1f347679ef845f0315cd28ce75264954bcba1563b154dce1f5b9275d194bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/commands/bot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce776160e05c4ce860728a30ec71ac641be586cb2500b2541f8ed1cb1c5931f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/rerank.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d65cce72f6f514434bab35224e4a07572f740a9aebdac757eb172ee839a839d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/plugins/gale_pleaser/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5160a01c158a0eab0ca502986dc4d140a63fff784d7f9d690c16aa09acc8edf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/alembic/env.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba9e60550f02776b0276e18ede6c832dac86461b3bd50aee9e26bf537222db7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/login.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"717a099e6843a0656266cb0c8a8af3f3175e7b78b0a15a6ae9d19d61d3f0a45f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/toxic_conversation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a2baf1c670eea8d867a99bdcb853cf8ed1006d29191cbe4f99a584ac9070b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2023_01_19_2153-7f0a28a156f4_switch_to_timestamp_with_tz.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfc2e16db584f354a1c9fc90937503e122b5f88a09cb0f5c6047b550e4404e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/mt_note_generation/prepare.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baf6676d6217b4f4205f54be1f090f37c4385d2992da0e23b9a7637b871b948"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/eval_datasets.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbdf159ed3f9d51810033ff276695781cf7d554c5f479ce065f48a1282f2e17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/postprocessing/infogain_selector.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f381cf3fac20a234d3895e5d532931900c8804d65f01981f4c796293a1f2f24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/rejection_sampling.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb2e2f1476dcc78716c25f8b23e304b12a077e1b847f2a31e68ce97c77a6719"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff0c27f3b11b4dab09e36f90f9e9b247a8619095238484f7042fa219398c5cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/chat_chain_prompts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"148e514336a0ce3a552fb413ab2c39bc07d391ab58f7ac72d70572aaa70d3000"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ad8361f6181c07bc726e781f67c110e21cd5b89368ac6f720f9a9bea77fbea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/stats.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb89e65c5112fa153fd3b6964d01f0c51570ebe5ea58a6206ada49675022b9c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/oa_stackexchange/download.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c61ffc8bac8bcd027c1fd5db086c2c9c47e2e424062a84db1c76d80953be61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"notebooks/data-augmentation/anthropic/trainer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a7e0106e8b6ab06eaf856c6872e49ed4dca91a98a3cec1eebfef3055257cbc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/database.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ca4b72e4bfadbe4e5b57f3968e2d91423b3329c36d6a5b14430eb2c58ef671"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_eval/sampling_score.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f9cc5479f3549e7e9b470601db4a4e17dcc1e0e731833790d940c88d5d9534"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_15_0000-23e5fea252dd_first_revision.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b6ff566d8d00ab060e5aaa04d1d6ab2f03257f5acd0985fe56924b2a9712d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/models/patching_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f260daeccce29ded5f7986d13f85bb5ceff60e0ae84ec9752b4756c20f5a0d84"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/bart_searchgpt_wiki_nlp_augment/1_clean_wikitext.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fb25b1c029727d316b9a2c47ba34029ef0d83839e996c94795c57785c20ea3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2023_01_08_2208-92a367bb9f40_restructure_message_tree_state_table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99719306bec321aa5e69d433bcc98b6d2f84d7ff1d760757259ee54750fd82a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2022_12_27_1444-3358eb6834e6_add_journal_table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18041143a4eb2a29951ff560507b97d6232f035dd0883ad7dd104b508daca7d9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/nsfw_selfharm_reddit/utils/reddit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"998ce4c002a2b9e0c67c3b368616ffffd104b5acbc84eeed34441e0f097118da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/plugin_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"155650e84307999d5782f433e26d2e8ccf52333d458ddb6887dd531ab6c74456"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/models/worker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50de6dd80f53f742409d7bbb1746fe5d712c8a110a78ea9ce6fd5e4b72d3b19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/journal.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59d9b2495801503e820be44d9cb49cc797ba2d010c33d6b8d71064d01a608cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/pretrain_datasets.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d115953e7493b73528b6db3d517e047ab295cf73cbf0bdfad9ab755722d6fe67"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/alembic/versions/2023_02_02_1544-4d7e0b0ebe84_add_troll_stats.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1580b9c8efb217f6f130ac1f1a25be82b120dfa4fb3e1a550af2917167fbcba9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/deps.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"877ab4028cfa7eaa7f0b4052f5e930abd79d856c63c2c2ead643265d37c4cd1f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/discord.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"047bc1ce45c715b73bd1633960b8348e5a45a704f34ef22b4a57cdf55719cc23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/exported_tree_loading.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a910cb640395ad96c980b594635fe3f7dc83cbb557ed18bb75cf9f6b8d4f6d9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/inference/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2938af505865cf81463908863815d882029f214a525ee93f1f24fc7b7bbd8a9c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: privacy-policy.tsx \u2194 terms-of-service.tsx: \u0060website/src/pages/privacy-policy.tsx\u0060 and \u0060website/src/pages/terms-of-service.tsx\u0060 change together 83% of the time (10 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060e7cf8283\u0060 Replace fonts loaded via stylesheet with use of next/font (#2600); \u0060323432c1\u0060 update LAION\u0027s address; \u00606c01205b\u0060 Small website fixes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/pages/privacy-policy.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb50a91b76500bf3d82ed906c4d68bafac12787ee34051931e20b26639fc6a3a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LeaderboardTable.tsx \u2194 leaderboard.ts: \u0060website/src/components/LeaderboardTable/LeaderboardTable.tsx\u0060 and \u0060website/src/pages/api/leaderboard.ts\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060bcb2d448\u0060 Show correct discord avatar on leaderboard (#1955); \u00605d10b28b\u0060 fix leaderboard when current user doesn\u0027t have stats (#1289); \u0060952e021c\u0060 Show current user rank in leaderboard (#1263) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/LeaderboardTable/LeaderboardTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e3f74d143ded6537dfccd0b7cfcf8d6f7819049ff0272060b321585c4239d4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CreateTask.tsx \u2194 EvaluateTask.tsx: \u0060website/src/components/Tasks/CreateTask.tsx\u0060 and \u0060website/src/components/Tasks/EvaluateTask.tsx\u0060 change together 67% of the time (14 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060aaa1276b\u0060 Admin user management (#1393); \u0060ae829d0e\u0060 update tasks to use types; \u0060e0e398fa\u0060 website: Improve reliability of e2e tests \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Tasks/CreateTask.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"011d3f505fc06a06ee015ee57edfd6829c2fbe15cfb77d7fe17012046b48bc65"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: frontend_users.py \u2194 users.py: \u0060backend/oasst_backend/api/v1/frontend_users.py\u0060 and \u0060backend/oasst_backend/api/v1/users.py\u0060 change together 60% of the time (9 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060bbf03867\u0060 Add terms of service acceptance date to user table (#1046); \u00604b3ce24c\u0060 add parsing of additional x-oasst-user header field (#957); \u0060c2fa4769\u0060 Add user emoji augmentation for message queries (#937) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/frontend_users.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fda0968c34fa8002ecb5547fe3eefe286a3bad00bba36c37e5573b5e7a04198"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: TaskTypes.tsx \u2192 label_assistant_reply.tsx, label_initial_prompt.tsx, label_prompter_reply.tsx: \u0060website/src/components/Tasks/TaskTypes.tsx\u0060 changes together with 3 other files \u2014 \u0060website/src/pages/label/label_assistant_reply.tsx\u0060, \u0060website/src/pages/label/label_initial_prompt.tsx\u0060, \u0060website/src/pages/label/label_prompter_reply.tsx\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Tasks/TaskTypes.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa604b808252745b7d89ed9bdb850e2bfb92bfbf6016f2b8a3c9678772afda6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: chat_repository.py \u2194 chats.py: \u0060inference/server/oasst_inference_server/chat_repository.py\u0060 and \u0060inference/server/oasst_inference_server/routes/chats.py\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060f7628a94\u0060 Inference worker inform backend on safety intervention (#2505); \u0060cad3056f\u0060 Computing message queue positions (#2235); \u0060791cdd41\u0060 Sending MessageRead along with error to client (#2230) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/chat_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf979a70e68133641b80f7ff87e906eb3cc904fa5043163e119f29f1f5af80d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: oasst_inference_client.ts \u2194 routes.ts: \u0060website/src/lib/oasst_inference_client.ts\u0060 and \u0060website/src/lib/routes.ts\u0060 change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006070f30a6d\u0060 Message drafts (#3044); \u00609ad4062f\u0060 Add delete function (#3019); \u0060a640bedb\u0060 Update website for new routes (#2704) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/lib/oasst_inference_client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6952d76e18cb664fd7709c1ffa648e3602dd1693f203687203d2c31d7d965d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: [task_type].ts \u2194 update_task.ts: \u0060website/src/pages/api/new_task/[task_type].ts\u0060 and \u0060website/src/pages/api/update_task.ts\u0060 change together 50% of the time (11 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00607eaebbab\u0060 handle error when submitting task (#1802); \u0060bc973baa\u0060 implement language as state instead of cookie (#1785); \u00607274512c\u0060 Implementing core of setting user languages and fetching language spe\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/pages/api/new_task/[task_type].ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aaad780d8e439481d3d74a05544a3fadeaea3616ba8467517a06d1d1744e25"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: index.ts \u2194 index.tsx: \u0060website/src/pages/api/chat/index.ts\u0060 and \u0060website/src/pages/chat/index.tsx\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060ff3b3d88\u0060 Show hidden chats in chat list (#3075); \u0060f8d1d8c5\u0060 feat(website): support pagination for chat list (#2860); \u00603911ea13\u0060 Add delete chat button (#2345) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/pages/api/chat/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b960a5e0ad8a60e5e1266991c2370f747d59e4c6eb4ac8bb3a52bfed1848f63"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"baf57f33f8e062010f2d4ce385b37ec9cbff64c49dbe10421ff2d4d7ce6466bd"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3be83011aa7336811fba8ddef058e39de64330fef437f8a75b6324b32470230b"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bfe924ab3b5f1fa06acb83c7941e33d097c0d17e119c35ea651ed6d1d7031f49"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36c9721e48e16134c9aebe39fdf5bfef2841ab57780a722273dc02434dc5b134"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e932a3bf82dfbf87d40113fe6e2ae651a7463fbc43fbf2f95d88509b8078cbd2"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1387e8231b5e3ebef6b1d8c26fceeca696c36d8bf35d867a2a909959ec9bfa92"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4782ade5ff5d5ebde5d318ecee200a06b78a5583b2d5f52a9b651f9f5e2d64b2"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2c1893ceb66e512c211be52108adc271ae83e476894e953c16ab46812773662"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa704d87d3a54ee8f9602e897f9959cae44793f66341b12c09c3d47ac909e9ee"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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 \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \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":"website/src/components/Buttons/LikertButtons.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"93206de758350708de097d66d30bc69301e8d850fd5299c3e809330fde19c95d"}},{"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 it renders carries one either (a name prop is the form-submission key, not a label). 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":"website/src/components/Chat/ChatConfigForm.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8677fea1a4fa7a44fabe283d6505ba9b385f9707c1bc3b2f2d5bd74935986bdb"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CNumberInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \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":"website/src/components/Chat/ChatConfigForm.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbd12c239891c00196483b08e813a48df247ee66258b711eaf8b093d5c34c90"}},{"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":"website/src/components/Chat/ChatForm.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"110f38a4c802067ae9567050a954593d44a06344feec4463cbccbfa2ccfff848"}},{"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 \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \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":"website/src/components/Chat/ChatMessageEntry.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f10b3ae4ddbbc3fb79e79dbfb3038516ca74a65760b5e31de949c0a4369211a"}},{"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":"website/src/components/Chat/CustomInstructions.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a2500f7e1339fe308712dce3f9b08ffe9be6aff6f4db51e0b316d194030f1d"}},{"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":"website/src/components/Chat/CustomInstructions.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"47833b36054704d94dd9243bdc20664ddd0cd72d27471b45e321917ff0652c26"}},{"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 it renders carries one either (a name prop is the form-submission key, not a label). 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":"website/src/components/LanguageSelector/LanguageSelector.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b2b7b41b802b00bdb45bca916d20cdb3559cb41049b87021987b037fc94e74"}},{"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":"website/src/components/Messages/ReportPopup.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdd0919e8ac8fae35d8ff5c1673ab3ff69d0479c523bf1a8f8db913a684b885"}},{"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":"website/src/components/Sortable/SortableItem.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd292d5f85f06a3e5bb4eeb33ac7faa665424689ae8365330aa6b3dc340bae1"}},{"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 it renders carries one either (a name prop is the form-submission key, not a label). 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":"website/src/components/Stats/Stats.components.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e0110f2d54853c5cfc38bf915527040f90c63cc5341207d97ff7c7eaa8ca58"}},{"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 it renders carries one either (a name prop is the form-submission key, not a label). 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":"website/src/pages/admin/trollboard.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a76c15495092b7f6ae414b66799d41de4cfef8090725b0ead38986a634b5b7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/Roadmap.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff8cdb9068b0033d8f0cf59f2868ba48a761e87536b78462aeaddee09110ac5"}},{"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":"website/src/components/Sortable/SortableItem.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5568900385d03c9e2334d8945fbb85a990ac359645df533f8c17c741135e4528"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 165 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"C4","level":"note","message":{"text":"Partial data-retention evidence: A retention mechanism is present, but the data-lifecycle is not yet complete \u2014 missing: an expiry limit \u2014 a declared maximum age / TTL after which the data is no longer kept, a documented retention period / data-expiry."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e6c843eccaff7ffcfe5241125b74768c2364055ab6678b12b10d47f44086afa4"}},{"ruleId":"C5","level":"note","message":{"text":"Partial data-subject-rights support: Corroborated rights: erasure \u2713 \u00B7 export \u2717 \u00B7 consent \u2717. Each tick means this scan found code in the repository implementing that right \u2014 a deletion/anonymisation path for erasure, a data-export or portability path for export, and consent state recorded alongside the personal data it authorises. A \u2717 therefore means no such code was recognised HERE, not that the right is unsupported: a capability provided by a platform, a manual runbook, or code spelled in a way this scan does not match is not visible to it. Confirm before treating a cross as a gap; where it is one, the right has to be fulfilled manually."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4f30fc8e725e23f01c9d247a7d5d9dbfb00ef6c5536867cbc625b447fb7951f2"}},{"ruleId":"DM1","level":"error","message":{"text":"Aggregate holds a reference to another aggregate: Message.user: \u0060Message\u0060 references the aggregate root \u0060User\u0060 directly (via \u0060user\u0060) \u2014 hold its \u0060UserId\u0060 instead."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b74c313ec60e202ffb15b88bb1c093641b6a436062ecd8f7aad7e4821aee6c47"}},{"ruleId":"DM1","level":"error","message":{"text":"Aggregate holds a reference to another aggregate: DbReport.message: \u0060DbReport\u0060 references the aggregate root \u0060DbMessage\u0060 directly (via \u0060message\u0060) \u2014 hold its \u0060DbMessageId\u0060 instead."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8b2b4f81276e30e2bc71fc6c6b9a1dd96db6f8954982cba8da9bdac51afaab08"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Message.message_tree_id: \u0060Message.message_tree_id\u0060 is a raw \u0060UUID\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060UUID\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/message.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"104581a945b34424e5eb31a82e27b9807c9df93585bfcbe40fb6a0410a0eaacb"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Message.api_client_id: \u0060Message.api_client_id\u0060 is a raw \u0060UUID\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060UUID\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/message.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3276051c0ef3fb0238199c35f57eca4391d45ba8c71739c79df4340915a99e93"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: User.api_client_id: \u0060User.api_client_id\u0060 is a raw \u0060UUID\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060UUID\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/user.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41795e50307806733725a60a234d857bc99e9f0062dbecf776639701a2b89eb"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Message: \u0060Message\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/message.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"804ba14294a2fd1c0b629fccfec14903cb3947f9c5dd19932ec9880f916c4061"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: TrollStats: \u0060TrollStats\u0060 is an aggregate/entity with 22 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/troll_stats.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd54e098d248d9292272d853f7e41cad38810c7923acabbe8f691c1a7648aa0a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: User: \u0060User\u0060 is an aggregate/entity with 14 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/user.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4a801098572f8ceaca8470f0ccaec06d0416556518a5a60149949c6b1e300d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: UserStats: \u0060UserStats\u0060 is an aggregate/entity with 19 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/user_stats.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2736370d0e1cef184bf74498d7c1f30e70193343893fadbe5d3ecbfdd9f63b8e"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: DbMessage: \u0060DbMessage\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/models/chat.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"705e228bc17be03b96f094d16de24ccf585b77236b4c0a90553e88917f98c4a8"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: DbChat: \u0060DbChat\u0060 is an aggregate/entity with 9 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/models/chat.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6ca2d09628b14a6c47c699b7384ec13fcbd139d75bf53742d7c3c1455b3f7d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: DbReport: \u0060DbReport\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/models/chat.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed69f75369b97d97c0adbd72e42644d871d31c75e6bffec02d1d26e8022ae89"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Message: \u0060Message\u0060 exposes publicly writable state (id, parent_id, message_tree_id, task_id, user_id, role, and 18 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/message.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"66244041b063be1ad58bdd6e39bc6f59a9b7cd7b8462424a7c87833fb8f9a003"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: TrollStats: \u0060TrollStats\u0060 exposes publicly writable state (time_frame, user_id, base_date, troll_score, modified_date, rank, and 16 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/troll_stats.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b8f15e972d20d25532da558b26dc02ca326780f8ddad46f5d013cf329f4476"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: User: \u0060User\u0060 exposes publicly writable state (id, username, auth_method, display_name, created_date, api_client_id, and 8 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/user.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af129b46a29b6a9c67280edda59c92cfaa6078acd444f965ad4982f3b88f530"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: UserStats: \u0060UserStats\u0060 exposes publicly writable state (time_frame, user_id, base_date, leader_score, modified_date, rank, and 13 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/models/user_stats.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fb5b701db3fd9a4cd7a75961b197d1638c8e57d8d18edf8fdd9bb3ddd690aa"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: DbMessage: \u0060DbMessage\u0060 exposes publicly writable state (role, id, created_at, chat_id, chat, reports, and 16 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/models/chat.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebc84e5cabcdab04a4b0f4e578f17b63a584d284c6bf8ee9179363522678326"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: DbChat: \u0060DbChat\u0060 exposes publicly writable state (id, user_id, created_at, modified_at, title, messages, and 3 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/models/chat.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"68267813530d9a6e811e3be54b3b7f3fe64effb9bed83f001393e55d274b350e"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: DbReport: \u0060DbReport\u0060 exposes publicly writable state (id, message_id, message, report_type, reason)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/models/chat.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8894cf7e81e20663c86fbb8ad2bdb215ca8b8a10b519c667e5911954a37beba4"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 11/17 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060data/datasets/biostars_qa\u0060, \u0060data/datasets/iapp_wiki_qa_squad\u0060, \u0060data/datasets/logicreference_OA\u0060, \u0060model/model_eval/manual\u0060, \u0060model/pretokenizer\u0060 and 1 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/pages/api/report.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":"website/src/pages/api/report.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7344d9129f1dcd27f218eeb772de2662deb4d03649fa08fb480498b4b85ce67f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/pages/api/set_label.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":"website/src/pages/api/set_label.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d654501977d0f333692f88f3bc8f7495a5ca652bb5f96d51bf0ee3b51141837"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/pages/api/update_task.ts\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":"website/src/pages/api/update_task.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e47125399bbfff6efdc1e2beec2145ff71ee06e50648c6114ce4516f5dfa39"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/pages/api/new_task/[task_type].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":"website/src/pages/api/new_task/[task_type].ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0ef061223fa805d420c90c3e1d18e08cb2b89a8941730e7b17f9fb292cca57"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/pages/api/messages/[id]/emoji.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":"website/src/pages/api/messages/[id]/emoji.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74c904591305f08a170c7096d11035435db6677993d2696cad633fb7566fce6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/pages/api/account/delete.ts\u0060 reports through \u0060console.*\u0060 at line 50 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":"website/src/pages/api/account/delete.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e4c60070275a4cd6753bb31cb27793dbdd1d8acc1901311a693993bb49f49d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/pages/account/delete.tsx\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":"website/src/pages/account/delete.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ce8173ffe3b40e330c291e898a68719b0fdd8590018d2a6916988697a8e155"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/pages/account/edit.tsx\u0060 reports through \u0060console.*\u0060 at line 47 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":"website/src/pages/account/edit.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e03e9ab2a877cba99f4c6c296bfee32ebcdc6b75fc65ca7396fef4d436d399"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/pages/account/paperack.tsx\u0060 reports through \u0060console.*\u0060 at line 27 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":"website/src/pages/account/paperack.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aefc825b2826b244673d382b607bb6405b021016f609559f5a2e1a787008a90"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/lib/chat_stream.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":"website/src/lib/chat_stream.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f306492e518bc62dcb5a2bc20967d5af5198ad35a838112f4a76b5183fc4482"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/lib/chat_stream.ts\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":"website/src/lib/chat_stream.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7681d04db56f355b4e44ea824caee3a9d9deb9acb6c1b9efbf416373fbbcd8a2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/lib/oasst_inference_client.ts\u0060 reports through \u0060console.*\u0060 at line 132 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":"website/src/lib/oasst_inference_client.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"38513d75ba83401cfe66bdf6bf087020627e46af055898466ab336da2f5c8416"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/hooks/tasks/useGenericTaskAPI.tsx\u0060 reports through \u0060console.*\u0060 at line 51 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":"website/src/hooks/tasks/useGenericTaskAPI.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e047d7c953cea274a05bdd0ec9316ac9eafb094fdad89ea88255375a6683e3b0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/components/Tasks/Task/Task.tsx\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":"website/src/components/Tasks/Task/Task.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a4fe2ab068bd0147684bcd3814c28b35cc9f59ff376b63cc6a96706aa26c1a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060website/src/components/Chat/ChatConversation.tsx\u0060 reports through \u0060console.*\u0060 at line 255 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":"website/src/components/Chat/ChatConversation.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5bafb6e60b585bc9040d8d1e20be5ae7b5a25bcc3fce5755b3fc132e766d5e"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 18306 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060aiohttp.ClientSession(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/login.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef43a21a774ae00aad8957439686cc58fcc2c3f5e775d3abd30b3998db0f5979"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/discord.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c09230b1ebd895752bf12d7601cff9a8dffb2a44e19ca77861396ddb7cde1bc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060aiohttp.ClientSession(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/utils/hugging_face.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"09de241611d1883995f13737ad88383fc46ee65ba07f0a6386fd773b2c1a6d9a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/biostars_qa/get_biostars_dataset.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f65505e517ca72fabf344982817935743445dabb385875d9b9ab23b34c0e3b0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/oa_dolly_15k/create_dataset.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cb1837b91654d6b6a63ae0e5b66f714c29a4c506358e8ee9452ce8b1198025"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/oa_stackexchange/download.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ec9a5bb51d3bcf6ff5ab637c73f1e9f666f5bb1bd7d42c895e027d99277636"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/oa_stackexchange/download.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea5a6e8ffc5f8b35d08c55c1ab9d0c113354a0af86b98467cee8b418e420607"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/youtube_subs_howto100M/prepare.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b499fa945d3ccd0729d1396b7888566b8926ab2cab54bc3ec60f8efa859a85a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/youtube_subs_howto100M/prepare.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1699f2a47895876e8ecf48a9496ebd2e4c9e0af3f2e8daa4bc27de0eb2721671"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/zhihu-kol/main.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e0af62c28415bc6e98da16fe305176e9562d5235e20a8bfae86ea06a1a3aaf"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/zhihu-kol/main.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebccb0ba76cec69f7c33c680d5da28aaa5558dd33b881a52244b9109f63d137b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/zhihu-kol/scrape_by_topic.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60c26bda77521261e40c5035ec27c08d386a852f52dfdacb46e6de90690c1f6"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060aiohttp.ClientSession(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/plugins/web_retriever/main.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9007355738c769f584ba9145a17c51aeaf43c829651cb5885fa72ef20dc32c22"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/chat_chain_utils.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26fe449849ac7851aa53048da217594aee528d792ec3a2fba50859ce4679ae3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\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":"inference/worker/chat_chain_utils.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd4ed1cc3d98daa2ae94f24578016d18aa7377ed53ae534f3ffc68838da7e98"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/openapi_parser.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3607aeda469617ab0ab04feff95656e437001cd1898e2585f4eacbc9bd0e04"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/openapi_parser.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e0ed53e09cf16e8b11233da0f323ebb33523f1872439ed94c84125d032d4ad"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/utils.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6cd043aba853a6b63a962afc16410e53b07d252e77dc66fbd73f8a764ca434"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\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":"inference/worker/utils.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5646d3c7e1d0e7928c9ced7c1901649bf06a869efb1bed4b5f9982c0d5531d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/prompt_dialogue.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f37853164e9325907273212f23831162c911888aafd3f9fe02498296831944"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/qa_datasets.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fdfd73b74cf68502c478622bafe6f9a42faf80204980242640d3e23e30cc18"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/model_training/custom_datasets/qa_datasets.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"8399bb6464893155db03ffed3e24c2babf672b86b8522e31802f7a04843710f9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060aiohttp.ClientSession(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/api_client.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1cb31ed41fd9e925816f5ca24b756aef48f063a3365e0c1c54495e65c4f4f4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data_augment/data_augment.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"985804e7ea4137d0c6d748bfd75c3e527b38a8594519cbc6a074852f3fccac6b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/data_augment/data_augment.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cac6589b7163d7ca97918f9e53374fa2054bdaa8ecf19e6a589f366ec1c022d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\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":"text-frontend/__main__.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"667c9d9c5746fc294ee446eded4a695ff60fe200b728a7e8461003b4b42eeea9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\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":"text-frontend/__main__.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff31fa9ebf0a5e683dba7fec90640f67a20efb81bb2d94eaf83572016404be4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\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":"text-frontend/auto_main.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8f9b9f08cc9ff102d5904a0f39bcacba8aba8b26cb28364a669551e9712b54"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\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":"text-frontend/auto_main.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a102e6804721664a803a6461e598b16675507404be4621ee94d56a53ea6a08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/interactions/tasks.ts:223 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts:171 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/interactions/tasks.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebbb71365af665ed6ee89c82f23bead9f3e624325f6abe5561445e3ba6102fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts:48 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/interactions/task.ts:69 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/interactions/task.ts:98 \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":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a11e9814cd803c638bb760efee2697baf7b7b698a61b925c7848d8e5f5d8c92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts:360 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/interactions/task.ts:118 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cdf0fcfae6854d8d2fed34e089e1ce0da48a0db378fe63faab4e1a2f81898f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts:269 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts:308 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts:326 \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":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4d62ca3a4d956b7ea1d6872e5f7660d78e4fa25a737e6a82aacdc06ddd8ee3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): discord-bots/oa-bot-js/src/interactions/tasks.ts:57 \u00B7 discord-bots/oa-bot-js/src/interactions/tasks.ts:74 \u00B7 discord-bots/oa-bot-js/src/interactions/tasks.ts:132 \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":"discord-bots/oa-bot-js/src/interactions/tasks.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dadffc55fd326c53910b9b59d0b6a9157ff778949e3f3119974e6697c545356"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/interactions/tasks.ts:152 \u00B7 discord-bots/oa-bot-js/src/interactions/tasks.ts: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":"discord-bots/oa-bot-js/src/interactions/tasks.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0c93b749abbcf47f61f364debd098a887c5882f720f54245ac42fd32ce1838"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/interactions/vote.ts:31 \u00B7 discord-bots/oa-bot-js/src/interactions/vote.ts:45 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/interactions/vote.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0001339e3600afc820edb3bc0f8049f5e49363db505073cc3dec177b0554b7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): discord-bots/oa-bot-js/src/interactions/tasks.ts:88 \u00B7 discord-bots/oa-bot-js/src/interactions/tasks.ts:152 \u00B7 discord-bots/oa-bot-js/src/interactions/tasks.ts:273 \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":"discord-bots/oa-bot-js/src/interactions/tasks.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d888ed5caf4d11b09190b97ae3ab56b2e66d64fc56dd93a35821b8d3e34d575a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/modules/open-assistant/interactions/info.ts:52 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/interactions/init.ts:28 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/info.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1ec6c86aba1f575c4f501b38af5b072fedc2dafa8399e8ee1d7d50b965452c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/modules/open-assistant/langs.ts:2 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/langs.ts:14 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/open-assistant/langs.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"69185b93e49200e2de277080072b4462df6992bcb0a45056d37fadb9e32d0e46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/interactions/tasks.ts:118 \u00B7 discord-bots/oa-bot-js/src/interactions/tasks.ts: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":"discord-bots/oa-bot-js/src/interactions/tasks.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b812dd77552dd9eb761295ec27f03350b5f61a7b31aa21f9bf9fb41e67281b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/interactions/tasks.ts:197 \u00B7 discord-bots/oa-bot-js/src/interactions/tasks.ts:241 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/interactions/tasks.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb8cb1fe0d6e54d459f2052df5417c4eaad3baace172ffd8c7c3ab2882ec467"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/handlers/commands.ts:13 \u00B7 discord-bots/oa-bot-js/src/handlers/events.ts:9 \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":"discord-bots/oa-bot-js/src/handlers/commands.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1ed3672a765829fc5b790922575d16f0ba9e404872fbe29a5aaba9fb906d7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): discord-bots/oa-bot-js/src/modules/open-assistant/interactions/task.ts:60 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/interactions/task.ts:90 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/task.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e9aafc64bf5544d8ef1d1b99f10530bc06bc66994c22eb8d857294f00a0bea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): discord-bots/oa-bot-js/src/modules/open-assistant/labels.ts:82 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/labels.ts:88 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/labels.ts:94 \u00B7 discord-bots/oa-bot-js/src/modules/open-assistant/labels.ts:100 \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":"discord-bots/oa-bot-js/src/modules/open-assistant/labels.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3686325f6d51e8766b77cd83b79bf2fab42e405a9476fc20b238c2186d71b64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 30, cognitive 60): execute has cyclomatic complexity 30 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/interactions/tasks.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76a2cf0b581b98d9db2a9593109f9fdc15cd351ff42d0a92d4be26ce817b6b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function labelInteraction (cyclomatic 27, cognitive 48): labelInteraction 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":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9d861db152cab639e14bd8be04831f80fb049f6a5eed2f5e9310eb4eac7b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 16, cognitive 26): execute 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":"discord-bots/oa-bot-js/src/events/messages.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"434708de557c2ad580d5096d88eaff460e264a9489e0948619b29bd128d3433b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 14, cognitive 22): execute 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":"discord-bots/oa-bot-js/src/commands/chat.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f69c1cba6061c71003d803326ce80ae53cf9473fe10bb0f5a1dcd4667af4663"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function labelText (cyclomatic 14, cognitive 13): labelText 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":"discord-bots/oa-bot-js/src/modules/open-assistant/labels.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92ca00c484d552af39672f7eb7f1d22c02d1c5b580830a17931b992be888a62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabels (cyclomatic 11, cognitive 9): getLabels 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":"discord-bots/oa-bot-js/src/modules/open-assistant/labels.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e964ab318447f7eae640657a8c09f1c0a95ef3127a99a257a4d89418505916e"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 31 production file(s) reachable from 0 test file(s) via the import graph \u2014 \u0027production\u0027 here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace\u0027s file count"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64e0e3511eb969fb4720b196e7d3799e1714077217351c3c56a27b50e3e21220"}},{"ruleId":"R5","level":"warning","message":{"text":"Dependency Freshness: 89 outdated package(s); JS/npm CVEs scored in D30"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7de98450603a813bc7a991bc6e60f440c1deac6f9c9bfd4d0da057afed869bcf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~55 LoC): no import path from any entry point (12 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (discord-bots/oa-bot-js/src/bot.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":"discord-bots/oa-bot-js/src/handlers/commands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5132d89b4b712c84aa6fa31c06ee3e1649dd85e949cdcbed838e316d9c821558"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~41 LoC): no import path from any entry point (12 application, 1 tooling, 0 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":"discord-bots/oa-bot-js/src/bot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac054e2d0a50fa08c79d1abfc8b58c2f98449a12988dbff8285b1547ebbcd0f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~34 LoC): no import path from any entry point (12 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (discord-bots/oa-bot-js/src/bot.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":"discord-bots/oa-bot-js/src/handlers/interactions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2405ecc75b5944673e79c43f0bd2ab8f419f4fd9f049dcd9557a187a20a3ff"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~27 LoC): no import path from any entry point (12 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (discord-bots/oa-bot-js/src/bot.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":"discord-bots/oa-bot-js/src/handlers/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0886146e9eac8652a772b690d4497d66d4929c0405c15745aa3c1febc6797a91"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~0 LoC): no import path from any entry point (12 application, 1 tooling, 0 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":"discord-bots/oa-bot-js/src/modules/inference/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d4f04312b97897d2c645adfe01e0702f6cd4f1349b2f7ddfc46fb9f5ac7ca7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027InferenceTokens\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/inference/types.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d89e6bd05c84b36977d756e9fd615d1a3f60e47b9be25692b8bf0793c3acaf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027GetChatsResponse\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/inference/types.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2002804c84b58e4f7ba26117a9d93a113b83bf60be036d5df2dcd53e6474fd36"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027InferenceEvent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/inference/types.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05ec0fe8247cd363cacac4ee3096766ef3ab5c285ef98104aef11b10f95c123"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ChatConfigForm\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/inference/types.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9381fb02e49085aa1e738e7bfe1493b19a7d6cf454de69a29b6b474c089ab9f3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027sleep\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":"discord-bots/oa-bot-js/src/commands/chat.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3010d5bc6720cab2e30e3dfd79964e2d90f713183d1641ec39cb4063b9d6d4"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): discord-bots/oa-bot-js/src/modules/open-assistant/interactions.ts \u2192 discord-bots/oa-bot-js/src/modules/open-assistant/interactions/label.ts \u2192 discord-bots/oa-bot-js/src/modules/open-assistant/tasks.ts \u2192 discord-bots/oa-bot-js/src/modules/open-assistant/interactions.ts (one verified cycle inside a mutually-dependent group of 4 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/modules/open-assistant/interactions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b65dd0271160e7c327b21825b3f1f8536bd6969aee065cbdbc54b26e867c8e6"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060nginx.conf\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/prod2-node/nginx/nginx.conf"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"027f5e77c7b882990e1e0b43e5c2e55c9f9df356e65cddfe7aacdc9aee8a8959"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof AxiosError \u0026\u0026 err.response.status === 404\u0060 appears character-identically in 2 files \u2014 website/src/lib/oasst_inference_client.ts, website/src/pages/api/account/delete.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":"website/src/lib/oasst_inference_client.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac53f1164692436be2e6e7aa7de0eb8eacfebccabe2a7982e9e079002ddaac1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token.role === ROLES.ADMIN || token.role === ROLES.MODERATOR\u0060 appears character-identically in 2 files \u2014 website/src/pages/api/messages/[id]/tree.ts, website/src/pages/api/user_stats.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":"website/src/pages/api/messages/[id]/tree.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f46c93ac11967a9576d4757c2649e62e5405017f83370d3a1f7edbb8302fbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof key === \u0022string\u0022 \u0026\u0026 (key.startsWith(\u0022/api/messages\u0022) || key.startsWith(\u0022/api/admin/messages\u0022))\u0060 appears character-identically in 2 files \u2014 website/src/hooks/message/useDeleteMessage.ts, website/src/hooks/message/useUndeleteMessage.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":"website/src/hooks/message/useDeleteMessage.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5213dcbda11ceb8f0ea92262301d17b36ebe5c8561db9ab786abcdbec607dfb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022application/yaml\u0022 in content_type or \u0022application/x-yaml\u0022 in content_type or url.endswith(\u0022.yaml\u0022) or url.endswith(\u0022.yml\u0022)\u0060 appears character-identically in 2 files \u2014 inference/server/oasst_inference_server/plugin_utils.py, inference/worker/openapi_parser.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":"inference/server/oasst_inference_server/plugin_utils.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b232517d444ef77f1f994528c7b18530755f34415f8f5445968414faef6f543a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.get(\u0022max_length\u0022) or model.config.max_position_embeddings\u0060 appears character-identically in 3 files \u2014 model/model_eval/eval_rm.py, model/model_eval/rejection_sampling.py, model/model_eval/sampling_score.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":"model/model_eval/eval_rm.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd86691ec0464c596a6cffc8ea24ab3d891e117c631782c3593d8fedbb5d6f63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_datasets_available() and isinstance(train_dataset, datasets.Dataset)\u0060 appears character-identically in 2 files \u2014 model/model_training/trainer_rm.py, model/model_training/trainer_sft.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":"model/model_training/trainer_rm.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"caec475d24902a815fb2a249154c242c9e8eb48d004d085784a071cc7d3c7ec2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not training_conf.deepspeed or training_conf.local_rank == 0\u0060 appears character-identically in 2 files \u2014 model/model_training/trainer_rm.py, model/model_training/trainer_sft.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":"model/model_training/trainer_rm.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d874c1a0a2fa41dc8a3218ff22c77a473f1f8fee65fdaee70f8edf46721139"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060qry_max_count \u003E max_count and num_rows == qry_max_count\u0060 appears character-identically in 3 files \u2014 backend/oasst_backend/api/v1/admin.py, backend/oasst_backend/api/v1/messages.py, backend/oasst_backend/api/v1/users.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/oasst_backend/api/v1/admin.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"693f9c1e288ff2762834bd9b23f0e4dd0d44df9600b6e6434c4dc80dabad2ad4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task[\u0022mode\u0022] == \u0022simple\u0022 and len(valid_labels) == 1\u0060 appears character-identically in 2 files \u2014 text-frontend/__main__.py, text-frontend/auto_main.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text-frontend/__main__.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a64e75185ec11fba1684dac1f804d2680e247edb7ceb075ffe6fa169ef5af4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060training_conf.verbose or training_conf.show_dataset_stats\u0060 appears character-identically in 2 files \u2014 model/model_training/trainer_rm.py, model/model_training/trainer_sft.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":"model/model_training/trainer_rm.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77b79b93b1754226d0ab2e375f802264153fabec0647d90e7f89ae608853df1"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 1/3 async functions that make a cancellable request (fetch, axios, ky, ofetch) 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: checkCaptcha: \u0060checkCaptcha\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":"website/src/lib/captcha.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc3e1ffcea9993b0462bed42d14b4178d7cddd42e5c8d2150d1bcc2663c134d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getTranlation: \u0060getTranlation\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":"discord-bots/oa-bot-js/src/modules/open-assistant/langs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efec6d04b42b3818ff03f21353e5851dbf6c342a9ba428c3da36e6a8e8e2424"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/schemas/inference.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be122e85b2f5d210736dcc17e5cd91d7a2099d93e6c766e807cc82afb6cc7df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oasst-shared/oasst_shared/schemas/inference.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4261f9fd8362f7d8799826b770a146883cd1c153ef0c5363b5823853ca5a391"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/work.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"75280e9b8c03bf4632ccb4c4db2d2070121008db2a0dbf07848abdd96ee40875"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/worker/work.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a69307782bc278131b38b372ff66def419f6c5a8641f11793b8086117c52a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inference/server/oasst_inference_server/routes/workers.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6b29d97383eb767af4f02016907ab167ea6b039c959358c6a8a316cf4d1277"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/events/messages.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfadda0494895467655159db92f120b34bc14e3b8ec61e68d3333ab4678440b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discord-bots/oa-bot-js/src/events/messages.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35dc42b198c1cc8b947cecb32a772316739a1bb68b1eed1c8d242e39933521b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 25 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":"website/src/pages/api/account/delete.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"af16f5cdf8a60e47e08e64301caf1878e8234a43a110e0db898851fa47a3c0d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 34 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":"website/src/pages/api/account/delete.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dc23dfb38d7fe6a3eb9d1d75058eadd7472068ca8666677bf9f69db23b855c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 39 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":"website/src/pages/api/account/delete.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c940e9c6f12bdd7ed22ed4cfab9257e4885ee12fe0a1895bd7e9b913037436a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"website/src/pages/api/account/delete.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30845bcfef64c354654d17f9d0b2459e88d080b74e8d13b2a95bf6ec300da4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 40 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/nsfw_selfharm_reddit/utils/reddit.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d4057687dd1f7a34c65f4919267a46c8c97e26750cbf3468651b690ac49034"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/datasets/nsfw_selfharm_reddit/utils/reddit.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"420b43e65214d56accd6ea11e5f57a2c766ce0bf771b3caf91a7e2833729d9d6"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 0/3 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) reduce the strict null checking score: ~2.0 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 41 assertion(s) across the 20766 source line(s) of the 324 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: website/src/components/Messages/LabelInputGroup.tsx (10), website/src/components/Chat/ChatConversation.tsx (6), website/src/components/Chat/ChatConfigForm.tsx (3). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"edb251d0f8dd1deb75ff6fa12d145c3d5c948a70b0aaf8da052107c857335979"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getIp\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/pages/api/auth/[...nextauth].ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fca6e2426fe133f24f60a1c3fe0f092099c403d53a1d4d66c0f9b422c1ff62"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-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-290","guid":"379b1e66-a292-7b59-aa1e-a5bb4a6a99e9","name":"Authentication Bypass by Spoofing","shortDescription":{"text":"Authentication Bypass by Spoofing"},"helpUri":"https://cwe.mitre.org/data/definitions/290.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-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"Use of Insufficiently Random Values","shortDescription":{"text":"Use of Insufficiently Random Values"},"helpUri":"https://cwe.mitre.org/data/definitions/330.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-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-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-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-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-668","guid":"e2cb99db-6d24-b056-b0d0-885a733ec403","name":"Exposure of Resource to Wrong Sphere","shortDescription":{"text":"Exposure of Resource to Wrong Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/668.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-942","guid":"a5e9f9ae-e5c1-215b-b5ef-9b85aa6b4828","name":"Permissive Cross-domain Policy with Untrusted Domains","shortDescription":{"text":"Permissive Cross-domain Policy with Untrusted Domains"},"helpUri":"https://cwe.mitre.org/data/definitions/942.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":195,"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."]}]}