{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXA1","name":"Runtime unauthenticated reachability","shortDescription":{"text":"Runtime unauthenticated reachability"},"helpUri":"https://codehealth.canine.dev/dimensions/AXA1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXH1","name":"Runtime security headers","shortDescription":{"text":"Runtime security headers"},"helpUri":"https://codehealth.canine.dev/dimensions/AXH1"},{"id":"AXI1","name":"Runtime container hardening","shortDescription":{"text":"Runtime container hardening"},"helpUri":"https://codehealth.canine.dev/dimensions/AXI1"},{"id":"AXO1","name":"Runtime API surface","shortDescription":{"text":"Runtime API surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXO1"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"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":"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"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":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"barrel_db_server.handle_call_rw (cyclomatic 49): barrel_db_server.handle_call_rw has cyclomatic complexity 49 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c38cdd16058dbffd259a95995a13289961e37fa9c803a8554bcf3c02c30d08"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_query.match_condition (cyclomatic 42): barrel_query.match_condition has cyclomatic complexity 42 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb51ce719c5f8cc2484e1a50f3087c47fd0576e840d5dc30af884379433a332"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_query_sub.match_condition (cyclomatic 41): barrel_query_sub.match_condition has cyclomatic complexity 41 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query_sub.erl"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9063e2f5a04dd395457337148d2c7c69722fcf45ffdae59808646d516b16fa"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_dbs.do_call (cyclomatic 39): barrel_dbs.do_call has cyclomatic complexity 39 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba87f5b743fb870d50a166f66b942b1f434c4c08914ee2bd8147b27e2ea8d6c1"}},{"ruleId":"D1","level":"warning","message":{"text":"lexer.tokenize (cyclomatic 37): lexer.tokenize has cyclomatic complexity 37 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lexer.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a3bacda3c4be37fe645f30f41ec63b3ed1734f64f58b173909d1ac9fd63902"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_db_server.do_write_state (cyclomatic 31): barrel_db_server.do_write_state has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":3509}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadda183427df3c894c461ba90369b28c606e381b1e8abc242e66c5513852cf6"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_att_s3_store.finish_stream (cyclomatic 22): barrel_att_s3_store.finish_stream has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ff3850a7943d03a08014845b6c73e15c62a379e3e0c8f3de34957fe04fb871"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_bql_exec.eval_cond (cyclomatic 21): barrel_bql_exec.eval_cond has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_bql_exec.erl"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0ecd47bd52b62cb78716add4c53801e0018bb61b889bdad934b0b737fb96e7"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_dbs.handle_info (cyclomatic 19): barrel_dbs.handle_info has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"40410e947471d40b8758ca866fde74cd14960dd0c2e6c9272903a7d054175327"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_query.execute_multi_index (cyclomatic 19): barrel_query.execute_multi_index has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2729}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f74e0e44484113e2049b136ff81c4d2839d073ca7de3c4019133006404e9fc"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_db_server.build_prepared_ops (cyclomatic 18): barrel_db_server.build_prepared_ops has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c138f2589c5de05315395bed748ede1cef26bbdad135ef226fbeca66d20bec"}},{"ruleId":"D1","level":"warning","message":{"text":"changes-stream.openChangesStream (cyclomatic 18): changes-stream.openChangesStream has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 54). 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":"clients/barrel-lite/src/sync/changes-stream.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"293dcc6da1de9871db37e3ce80840ed47cf5a4f9b7fe8729509815aeb7db01dd"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_ngram_regex.simplify (cyclomatic 17): barrel_ngram_regex.simplify has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: barrel_ngram_regex.escape_atom (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_regex.erl"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"885aed95f8af85637ad1b97e7198f9b6efe233bcb741440d43891df05b4574f2"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_ngram_shard.handle_call (cyclomatic 17): barrel_ngram_shard.handle_call has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_shard.erl"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71d5f0964ee937f4e3282f97d2b0765162f50da48be812e337b2e5fcc050d5e"}},{"ruleId":"D1","level":"warning","message":{"text":"lower.canonExpr (cyclomatic 17): lower.canonExpr has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"87325eee4398a05f6f962b159cf6c9c0634e5b285adbdc14e4cacae99d2d1e38"}},{"ruleId":"D1","level":"warning","message":{"text":"lower.lowerCond (cyclomatic 17): lower.lowerCond 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":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25ea2e9b0a6231001c1e1c5055f0f277f3b831d59abe47d94d08d3e1de77df5"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_changes.get_changes_filtered_chunked (cyclomatic 16): barrel_changes.get_changes_filtered_chunked has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_changes.erl"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d4b4fe0504eed048dc7c3f983828d34498974e498fb9c214edecf8c98fa026"}},{"ruleId":"D1","level":"warning","message":{"text":"barrel_db_server.build_write_ops (cyclomatic 16): barrel_db_server.build_write_ops has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: barrel_db_server.write_request (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02a3a2e0a542787dca70d9c1d02136130605ced5268b501e8e126613a2fdc4c"}},{"ruleId":"D1","level":"warning","message":{"text":"lower.checkIdUse (cyclomatic 16): lower.checkIdUse has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"117ac7e2788629849c47cde804438b51519be78f8e7fc10b6b2892cad4f2707e"}},{"ruleId":"D2","level":"warning","message":{"text":"lexer.tokenize (cognitive 75): lexer.tokenize has cognitive complexity 75 (threshold 15). Drivers by points: if/else 18 (41 pts), loops 8 (23 pts), boolean chains 11 (nesting depth added 38). Of this number, 71 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lexer.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"df946cb999f1a6fc78797eb938d245bf76fe304dc816a16410a10bd3e9efe3a1"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_db_server.do_write_state (cognitive 38): barrel_db_server.do_write_state has cognitive complexity 38 (threshold 15). Drivers by points: match/switch 22 (26 pts), boolean chains 5, if/else 2 (4 pts), loops 3 (nesting depth added 6). 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":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":3509}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8f9d3009fe8bd560a228c5ef53f01427e186106a4cb1f3b73a9d63b00177c3"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_db_server.init (cognitive 37): barrel_db_server.init has cognitive complexity 37 (threshold 15). Drivers by points: match/switch 15 (30 pts), if/else 1 (4 pts), loops 1 (3 pts) (nesting depth added 20). 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":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dd98eb6e94c568032c2ad56f24176bba017aa38402d0c9cf405906eedd6114"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_query.match_condition (cognitive 37): barrel_query.match_condition has cognitive complexity 37 (threshold 15). Drivers by points: match/switch 25 (37 pts) (nesting depth added 12). 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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"7449f89c590a6ad7d0c133f90ea0156c7d5f97c60eb41f06da67c6a0ae5bd17c"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_query.execute_multi_index (cognitive 32): barrel_query.execute_multi_index has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 10 (21 pts), boolean chains 6, loops 1 (5 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2729}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bc4bf0a20adea68645f2ea98447103d0611717f16fc4a3581e616b96de9ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_query_sub.match_condition (cognitive 31): barrel_query_sub.match_condition has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 22 (31 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query_sub.erl"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"86aa468c7a076bc5aad74d4e5887a5903a789fb5b1e95d7af592f57f916383bc"}},{"ruleId":"D2","level":"warning","message":{"text":"att-sync.pullAttachments (cognitive 30): att-sync.pullAttachments has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/attachments/att-sync.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a0886d535f2517efe8a07d17f8004b78dcb428ef6571ac99d619637612206a"}},{"ruleId":"D2","level":"warning","message":{"text":"changes-stream.openChangesStream (cognitive 29): changes-stream.openChangesStream has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 2 (3 pts), error handling 2, boolean chains 1 (nesting depth added 12). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 54). 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":"clients/barrel-lite/src/sync/changes-stream.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a12c76e2568ef1ddef41a98a37de6e2d3622f93fd953fc234efb0ddd9150b3"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_db_server.do_repair_bodies (cognitive 27): barrel_db_server.do_repair_bodies has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (8 pts), match/switch 4 (5 pts) (nesting depth added 16). 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":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":3147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3194cea3d60b53094f55730f6548b0412b2ec31ac62798bf73fb2303645e671"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_query_sub.do_unsubscribe (cognitive 27): barrel_query_sub.do_unsubscribe has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 15 (27 pts) (nesting depth added 12). 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":"apps/barrel_docdb/src/barrel_query_sub.erl"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7c4b04f0bc0ce65de772781f91fec9280fe08c07d8ec2a8e8de055e49e0d00"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_server_spaces.handoff_opts (cognitive 27): barrel_server_spaces.handoff_opts has cognitive complexity 27 (threshold 15). Drivers by points: loops 4 (10 pts), match/switch 6 (9 pts), if/else 2 (8 pts) (nesting depth added 15). 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":"apps/barrel_server/src/barrel_server_spaces.erl"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8da63125697960eb1747f4f4e184d8212515a5805cdf0eb524f902fbafa156c"}},{"ruleId":"D2","level":"warning","message":{"text":"puller.pull (cognitive 25): puller.pull has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 2 (7 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/sync/puller.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"124456d0e119846a6645b376e85f96fd8687f5d4265bc7c296869a1cfb033d21"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_att_s3_store.finish_stream (cognitive 24): barrel_att_s3_store.finish_stream has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 11 (24 pts) (nesting depth added 13). 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":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b13b4f2cf5857999b22b03d43a9a457bd5a22550cb31f13395723b1c22dc785"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_db_server.handle_call_rw (cognitive 21): barrel_db_server.handle_call_rw has cognitive complexity 21 (threshold 15). Drivers by points: error handling 10 (12 pts), match/switch 8 (9 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee2dfb8b0314c1bc5932126c801c2c8af1c06dd401ff0ca33d54e37d31698ca"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_dbs.do_call (cognitive 20): barrel_dbs.do_call has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 8 (11 pts), if/else 2 (4 pts), error handling 2 (3 pts), loops 2 (nesting depth added 6). 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":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bfffd425c0f18e6b910e6e38641e8efa7af35dabc2518f97863d9aa97c9337"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_ngram_regex.simplify (cognitive 20): barrel_ngram_regex.simplify has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 6 (8 pts), if/else 2 (6 pts), loops 4 (6 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":"apps/barrel_ngram/src/barrel_ngram_regex.erl"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f02e6cc8723c9b66181243e6c2b1de97a62fa92ca06c8e093edc01466a4207"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_server_mcp_agent.handoff_create (cognitive 20): barrel_server_mcp_agent.handoff_create has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (8 pts), if/else 2 (6 pts), loops 4 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e24b0ab851777d6f7ada23e9066217b8c789b86e18ad8e446d9c48b1bd1e79"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_changes.get_changes_filtered_chunked (cognitive 19): barrel_changes.get_changes_filtered_chunked has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 15 (19 pts) (nesting depth added 4). 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":"apps/barrel_docdb/src/barrel_changes.erl"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0a48ba57cac361ea79d3aca05d484458e1b46bdbc55d93b1f6a0d8c3d3c6a8"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_channel.write_ops_compiled (cognitive 19): barrel_channel.write_ops_compiled has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (12 pts), match/switch 5 (7 pts) (nesting depth added 10). 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":"apps/barrel_docdb/src/barrel_channel.erl"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ab8393b185bc996a4c5cbd633519683699877f5d1a4c8e02fa83049b5e3894"}},{"ruleId":"D2","level":"warning","message":{"text":"pusher.push (cognitive 19): pusher.push has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/sync/pusher.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da6fc4bb9110eec0c993b9c7fbf5fa76096893e01969b096fd96b00ea2324db"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_db_server.do_resolve_conflict (cognitive 18): barrel_db_server.do_resolve_conflict has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 6 (8 pts), loops 2 (6 pts), if/else 1 (4 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":3890}}}],"partialFingerprints":{"codehealthFindingId/v1":"210ee29c3acf58f68b977133af8959fdb6a212ce8b984a28e5eed7853c9869b6"}},{"ruleId":"D2","level":"warning","message":{"text":"att-sync.pushAttachments (cognitive 18): att-sync.pushAttachments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/attachments/att-sync.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ba483ef7b237ea5cbd7aa55339ac75a134d11417c8be8daf7f38f4c1e6b252"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_embedding_policy.normalize (cognitive 17): barrel_embedding_policy.normalize has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 13 (14 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 2). 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":"apps/barrel/src/barrel_embedding_policy.erl"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d98c9bd82dc003f13b9319e2fa535815a9ec109b11b0caa3322fafdf9e2900"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_query.find_most_selective_condition (cognitive 17): barrel_query.find_most_selective_condition has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 11 (17 pts) (nesting depth added 6). 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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cf26320d005a5e7096abfac2093febabbf3cfa90ed2b65859a2d9a8ada3b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_rep_tasks.run_task_loop (cognitive 17): barrel_rep_tasks.run_task_loop has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (17 pts) (nesting depth added 11). 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":"apps/barrel_docdb/src/barrel_rep_tasks.erl"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"007f6951b71591c23289eea82335ca4c5c718b61167c18e2ca211a6e0287d85b"}},{"ruleId":"D2","level":"warning","message":{"text":"lower.checkPath (cognitive 17): lower.checkPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfa4da779fc7aa0f294f16664176a1bed8b891e44eb6d14add7ae1262b16c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_bql_query.run_table_fn1 (cognitive 16): barrel_bql_query.run_table_fn1 has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 2 (6 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_bql_query.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef7d5291fdb64417091e2fab6c26a0b508f8a82eb3d862f27f5a43ab72b549b"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_dbs.handle_info (cognitive 16): barrel_dbs.handle_info has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (9 pts), match/switch 4 (5 pts), if/else 1 (2 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfc0240845552b4fdb2636a9ffd03e8f4cf63c6f22ea9c9cbb6d3f6a56d2892"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_bql_exec.collect_frames_loop (cognitive 16): barrel_bql_exec.collect_frames_loop has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (6 pts), loops 2 (5 pts), if/else 1 (4 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_bql_exec.erl"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5079a8be10196ed72ef4f83dfa34e8fefc6eeb8e2a6065602f4f707223fbec8"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_bql_lower.lower (cognitive 16): barrel_bql_lower.lower has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8 (13 pts), boolean chains 2, error handling 1 (nesting depth added 5). 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":"apps/barrel_docdb/src/barrel_bql_lower.erl"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e51b2033b403aa3a10d0b82f73733b6ecb92db6936e4c8a8ef70a9915141d42"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_db_server.do_set_doc_embedding (cognitive 16): barrel_db_server.do_set_doc_embedding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (8 pts), match/switch 4 (5 pts), loops 1 (3 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"1823e79849393a7d96222de2b6af552c7cfac7c7bf515eee0dfe8c0a0c05a548"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_rep.finish_one_shot (cognitive 16): barrel_rep.finish_one_shot has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 10 (16 pts) (nesting depth added 6). 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":"apps/barrel_docdb/src/barrel_rep.erl"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0987580b46fb23323ba0dae807cefcc0ba5432c201bdde17f4b6a346179e5cdb"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_rep_att.reconcile_loop (cognitive 16): barrel_rep_att.reconcile_loop has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 7 (13 pts), loops 1 (3 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_att.erl"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9859b958c46f13e0b828b4290b5c3e8fb656c5d3007d34a97dbe149aaebf85"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_store_rocksdb.encode_entity (cognitive 16): barrel_store_rocksdb.encode_entity has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8, if/else 3 (6 pts), loops 1 (2 pts) (nesting depth added 4). 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":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb60e27a06d2897e9c1e978e3cf27b838a191459e6b85731318752d0d115e9cd"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_embed_ollama.parse_embedding_response (cognitive 16): barrel_embed_ollama.parse_embedding_response has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 7 (15 pts), error handling 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_ollama.erl"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a260135f1ec3ced24d9f4049e130d27287ff31988f886b41f3537ed1c1650568"}},{"ruleId":"D2","level":"warning","message":{"text":"barrel_server_spaces.list_handoffs (cognitive 16): barrel_server_spaces.list_handoffs has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), match/switch 4 (5 pts), if/else 1 (3 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_spaces.erl"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeac1f70b86c9efe908a5a807287bddbd8ea12f9fb6571a9ddec76911562f47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_db_server.erl: FileTooLong \u2014 2982 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 252 functions. The bar is 500 significant lines; this is 2482 over it, 5.96\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9054386a0248585bfc8b3f61f0ad1fed98c712fa4cc12c7d43826fcc7480c839"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_query.erl: FileTooLong \u2014 2723 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 168 functions. The bar is 500 significant lines; this is 2223 over it, 5.45\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a732f805966d2dd05eacb8f6c7147001874cbc19a9e5ea901afa130f0641a10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_att_s3_store.erl: FileTooLong \u2014 1261 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 110 functions. The bar is 500 significant lines; this is 761 over it, 2.52\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b8f1ab70c32f81f2ae89183b64aa5686693fb0f0fa403c4a01756f0d4948cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_rep_tasks.erl: FileTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 112 functions. The bar is 500 significant lines; this is 639 over it, 2.28\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_tasks.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a601e1bf7e457be857ba8ba7d3541145706ba30e351f0efc7a8014546065f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_changes.erl: FileTooLong \u2014 1106 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 67 functions. The bar is 500 significant lines; this is 606 over it, 2.21\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_changes.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d3ebd6f2dd67a07ba6fe8a01e3f8d867a2f21e62a24e6a431eb9a7684def7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_server_http.erl: FileTooLong \u2014 1102 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 105 functions. The bar is 500 significant lines; this is 602 over it, 2.20\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"490f12daf0e49720328e316bfd55128cd4006f91d5840c3ee1fb1f465d5e4acb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel.erl: FileTooLong \u2014 1053 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 118 functions. The bar is 500 significant lines; this is 553 over it, 2.11\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beefb74ec8979d9f770fea7eeb47f9e69a5cbc730f64b67416d72a28c7a3240f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ngram_regex: TooManyFunctions \u2014 54 functions. The bar is 30 functions; this is 24 over it, 1.80\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_regex.erl"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8424f158ea0ac64bd7df00b9f204c47346ff7a71a5b37164714b493a4ef01642"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_att_store_blob.erl: FileTooLong \u2014 871 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 89 functions. The bar is 500 significant lines; this is 371 over it, 1.74\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_store_blob.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a0cb1a73a448078e2b5fbf04f96d0ad05b04633fb3061924b7a50f3bb0e33f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_store_rocksdb.erl: FileTooLong \u2014 865 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 95 functions. The bar is 500 significant lines; this is 365 over it, 1.73\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4618b20415374ff5721f59867ae60a44f78f17b9bc95f5cc2f52553a4719e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ctx: TooManyFunctions \u2014 50 functions. The bar is 30 functions; this is 20 over it, 1.67\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"23af8cdb01670f893ac03f1952416360687ae3af1307ae2ab2f7a5deb55a34df"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_att_store: TooManyFunctions \u2014 50 functions. The bar is 30 functions; this is 20 over it, 1.67\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_store.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"36743296fd0ba920d02c4139a84747b23ff36c119fe7623495675ee958bdd079"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ngram_query: TooManyFunctions \u2014 49 functions. The bar is 30 functions; this is 19 over it, 1.63\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_query.erl"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a13060ce9ce0c0c284b8186b079edc2cdab23117030d2801d4de7661f01a484"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_docdb_codec_cbor.erl: FileTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 77 functions. The bar is 500 significant lines; this is 297 over it, 1.59\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a11fcd12fb3004f12cf271bf8c72f73029fc431175d58fda4afd5890bf1f79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_rep_transport_http.erl: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 76 functions. The bar is 500 significant lines; this is 268 over it, 1.54\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_transport_http.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6811f93ccf53f9bb86bcb4db9aafb855fcfa4a2b7299539c464732ac1a75de4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_dbs: TooManyFunctions \u2014 46 functions. The bar is 30 functions; this is 16 over it, 1.53\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a24d94aa227790a97ab5109d2156ef32dabffce2dc09fd55bc356796ca1ab2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_bql_lower.erl: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 67 functions. The bar is 500 significant lines; this is 254 over it, 1.51\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_bql_lower.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53123691f3c03d782b16c2e5b1711ff44be987f1fd8ef3b12c15b54aab12dafd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_server_sync.erl: FileTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 252 over it, 1.50\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbc017f688c33c9ac7d7b3711cb9da4cc9bbd345317469f2dc667c1f912fd99"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ctx_export: TooManyFunctions \u2014 45 functions. The bar is 30 functions; this is 15 over it, 1.50\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_export.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26df1c5b9247080df9fa6db97c0a734e033848f8155fde7949bac32bbe26e8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_ars_index.erl: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 64 functions. The bar is 500 significant lines; this is 225 over it, 1.45\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c839fc90391332eb7ea5db879d8bba17a3c81b43dd338633a14bab435b4413be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ngram_corpus_lifecycle: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_corpus_lifecycle.erl"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dd652ba1f5fb739a695028e68b2cf5fc7164b8888334319100d1c71325b814"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_server_auth: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_auth.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"87865453240e4fb1dd0a7f985c49ec1e0e3ca42ad245612360bb1b992c5cd2b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_doc: TooManyFunctions \u2014 42 functions. The bar is 30 functions; this is 12 over it, 1.40\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_doc.erl"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce7959b30d0d78df834e3a3f24ec4bb1299b8150216314a4964e99df4627846"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Database: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/db.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"210ffbce7a46d83af3b2534e223da9e0c3f827ca0f209615f2b51f85d651e0dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_server_mcp_tools: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_tools.erl"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd14ff565af96dfc41fa78aa68f0e96591735fbc85491fefb998eac5d3d873b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_server_spaces: TooManyFunctions \u2014 40 functions. The bar is 30 functions; this is 10 over it, 1.33\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_spaces.erl"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc01f95e37f6b4770e3eddb79236f3788ae2af0fc48912deaa994b2e5d40899"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ctx_remote: TooManyFunctions \u2014 39 functions. The bar is 30 functions; this is 9 over it, 1.30\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_remote.erl"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a971afb2c29eb0c1f89ac5994be1962fdae1f479128f66cdff1dc67c793c32"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ngram: TooManyFunctions \u2014 39 functions. The bar is 30 functions; this is 9 over it, 1.30\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"de65ddd910e67834fcac672d23359374d964ebf4be3cedede4a3c2fe90be0633"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ngram_shard: TooManyFunctions \u2014 39 functions. The bar is 30 functions; this is 9 over it, 1.30\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_shard.erl"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaaa888d697c627bb0743efe5580b5cf2f106fe03f49a6160b13cf1017e4c15"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_spaces: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_spaces/src/barrel_spaces.erl"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20b6ba1d8907ddc8f282a385cca46d6222529793235e9ea3b1512de60e1a30a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_store_keys.erl: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 124 functions. The bar is 500 significant lines; this is 132 over it, 1.26\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_keys.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"294e5315d77ea7b2b858a2973b50784d9f371ba8d4b9a1879349118b070a77b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ctx_ws: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_ws.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaf3399500289e0424e3e06c57507a2e93152b3d3a69eac287769387de94a9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_ctx_query.erl: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 68 functions. The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_query.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b716ac4c058708e7ecae0d0567e69c7741ee1b0449a309a66c6c33d8d5a5d797"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_timeline.erl: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 34 functions. The bar is 500 significant lines; this is 105 over it, 1.21\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_timeline.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4417d96641d2d702e4eda7168d6fbdbcc944c5bc2f1d3183ad4cb57ec076e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ctx_catalog: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_catalog.erl"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"334cae0a1beab2c76ce372aa1c8f1b40d1971fd648c0c1d1ac433d9fe7f32f27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_session.erl: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 67 functions. The bar is 500 significant lines; this is 81 over it, 1.16\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_spaces/src/barrel_session.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf5537f5f1dae9eadfbc1cbcc20501881da1af9abead9643bda9df0aefebff2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_att_feed: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcbb13f7e55f7c3c09fdb2c5fedcbf721499daf4639884e7f17dfccbda00fc6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_live: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_live.erl"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3bd2de7ac09833f3ea9f6c241280c43be38f0fc9aebb8f44331a56266ba6f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_server_mcp_contexts: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_contexts.erl"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf3c91abdfbe2d128a8874d9e1ab00ec7160311d6bef3f2a7b91c8b380e10b3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Database: ClassTooLong \u2014 451 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 51 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/db.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"28210c6318cc502ee258c485c276e0ac2dc10040ee4e03fc7f2b8a1112ee6e95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_rep.erl: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3993b8fe36af875a82f5eea62383cfc93f62e09346e00031e7083b7d735f5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/db.ts: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: Database (127-782). The bar is 500 significant lines; this is 34 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/db.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb4b7de523b24bcd412060deb637591823cf02234851a435264e43722391b43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_ctx_slice: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_slice.erl"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbd6bff56585a08dbddac9f158d49cb3f12dddcf94e90a2bdc7dda96419b985"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_rep_att: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_att.erl"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e2a774a047b46a9dab210603d095ad4be5e43ce728bb0d7604ab6f9cbf8236"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/barrel_ngram_segment.erl: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 42 functions. The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_segment.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e4b03a3d4799022564495a4fa45cfa0a6eff0023d2a1b01daee017f698dd3d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: barrel_server_mcp_agent: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9855b2310132ef7df22c271dccf0d49ade2e672421113fd34b9759728eb78e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): apps/barrel_embed/src/barrel_embed_azure.erl:141-164 | apps/barrel_embed/src/barrel_embed_jina.erl:129-152 | apps/barrel_embed/src/barrel_embed_mistral.erl:121-145 | apps/barrel_embed/src/barrel_embed_openai.erl:131-154 | apps/barrel_embed/src/barrel_embed_vertex.erl:126-143 | apps/barrel_embed/src/barrel_embed_voyage.erl:128-151 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_azure.erl"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a3b2ed4367613ca507131a5f5ca2d84c8c5961ca62775935e45ab102c3f656"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): apps/barrel_embed/src/barrel_embed_azure.erl:213-233 | apps/barrel_embed/src/barrel_embed_jina.erl:181-201 | apps/barrel_embed/src/barrel_embed_mistral.erl:167-187 | apps/barrel_embed/src/barrel_embed_openai.erl:161-181 | apps/barrel_embed/src/barrel_embed_voyage.erl:179-199 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_azure.erl"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4955793cccaf871c0394d19dfec904117c0b390201aa64fe11fd5e1aac7bca4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): apps/barrel_embed/src/barrel_embed_clip.erl:91-135 | apps/barrel_embed/src/barrel_embed_colbert.erl:95-139 | apps/barrel_embed/src/barrel_embed_fastembed.erl:67-104 | apps/barrel_embed/src/barrel_embed_local.erl:72-106 | apps/barrel_embed/src/barrel_embed_splade.erl:91-135 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_clip.erl"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"212bbc26e9146815bb815d64c464422e3522b3d4fa8d4741a331d5f863efd7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): apps/barrel_embed/src/barrel_embed_cohere.erl:97-122 | apps/barrel_embed/src/barrel_embed_jina.erl:91-114 | apps/barrel_embed/src/barrel_embed_mistral.erl:83-106 | apps/barrel_embed/src/barrel_embed_openai.erl:97-116 | apps/barrel_embed/src/barrel_embed_voyage.erl:90-113 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_cohere.erl"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08065264bffc3f1193d22e6d22037c35352ed4cce056addf9ad714bbaae44b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): apps/barrel_docdb/src/barrel_query.erl:447-517 | apps/barrel_docdb/src/barrel_query.erl:520-574 | apps/barrel_docdb/src/barrel_query.erl:577-638 | apps/barrel_docdb/src/barrel_query.erl:777-830 \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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e63d465c77e1830f552eafdc913c12a9423a210dedb04b8f8abdd02073349aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (132 corresponding lines): apps/barrel_docdb/src/barrel_db_server.erl:2572-2709 | apps/barrel_docdb/src/barrel_db_server.erl:2764-2895 \u2014 These two members are one piece of code written twice and then edited apart: 132 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"efacdc3a697f57e6ee7baf332ca875969c232c90e4cfdf983f5664ebed9c2da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (104 corresponding lines): apps/barrel_docdb/src/barrel_query.erl:3401-3515 | apps/barrel_docdb/src/barrel_query_sub.erl:398-501 \u2014 These two members are one piece of code written twice and then edited apart: 104 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"726f21f8160cb8c35a5156d356f7635bed6fd4af7463828e837942e62e4a9cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): apps/barrel_server/src/barrel_server_mcp_agent.erl:300-337 | apps/barrel_server/src/barrel_server_spaces.erl:479-512 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67d00bd0c06e30cf225edcb16c8531359694301ff4c163da75e3dd35d55326a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:1012-1036 | apps/barrel_docdb/src/barrel_store_keys.erl:1067-1091 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8d081444c7d2af3e3b889ce37581d08b7d61bd7467efa5243d41aceadbec35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): apps/barrel_docdb/src/barrel_parallel.erl:194-225 | apps/barrel_docdb/src/barrel_parallel.erl:228-265 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_parallel.erl"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaa8320f5063dfaa784aa741135e3e87203a8f161b8f19dda09e07170d2a8a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): apps/barrel_docdb/src/barrel_changes.erl:118-149 | apps/barrel_docdb/src/barrel_changes.erl:152-192 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_changes.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c320e99f0e2a031e2021e29c6690392a65c90edc20680b79243e1087de000e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): apps/barrel_docdb/src/barrel_query.erl:1776-1823 | apps/barrel_docdb/src/barrel_query.erl:1946-2015 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df545b26ef5f085e176042c037c77fb38ca8a4f3f48b74fa730dcbaf786bfcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl:450-490 | apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl:520-570 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9c96f8cf02e010a76ce6f96a8739ebbc094ef89d287bc2835eab4a3d0dc1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): apps/barrel_docdb/src/barrel_query.erl:2179-2215 | apps/barrel_docdb/src/barrel_query.erl:2263-2297 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3babbc3c2b0d40a2d56354933fa687e671a3b77207f445e67bbc9e991fab66d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/barrel_docdb/src/barrel_history.erl:96-120 | apps/barrel_docdb/src/barrel_outbox.erl:89-105 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_history.erl"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3891b39ebf0796a41b7ca1cbf6f4a70b0b9978c2d805daaacc910496807df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): apps/barrel_docdb/src/barrel_rep_att.erl:157-194 | apps/barrel_docdb/src/barrel_rep_att.erl:267-306 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_att.erl"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a9283de177fb325ead455330cacd7b8ba77e3303146d0788a7042f567b91a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): apps/barrel_docdb/src/barrel_query.erl:1570-1596 | apps/barrel_docdb/src/barrel_query.erl:3666-3691 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25d4661904fcf7bda5db4625923f72c35da4e8982547ce878554b457514da0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): apps/barrel_docdb/src/barrel_query.erl:2418-2461 | apps/barrel_docdb/src/barrel_query.erl:2489-2523 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2418}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc029aa42b0107ce4a9c3930673ec1ed20c0438fea6f77b5dfdc865be0b95728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): apps/barrel_spaces/src/barrel_session.erl:182-207 | apps/barrel_spaces/src/barrel_session.erl:218-240 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_spaces/src/barrel_session.erl"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9161ec31a7a62f29842bbd90a15472163d887d32c2c6431c0df9631d2845007a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:647-666 | apps/barrel_docdb/src/barrel_query.erl:833-852 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab80e70b5ca4c854f3923917ca7ca6584fe9b6b28e973928debed2f8fd5c35cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): apps/barrel_docdb/src/barrel_changes.erl:1413-1445 | apps/barrel_docdb/src/barrel_changes.erl:1451-1484 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_changes.erl"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0f0e8818e321e07bc28ac757ab3c1be0ac1441da83579f605195a2f397e73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): apps/barrel_embed/src/barrel_embed_cohere.erl:137-163 | apps/barrel_embed/src/barrel_embed_ollama.erl:153-175 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_cohere.erl"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02f2668960fc642a7c0d81be6e54eb4a0cc07f86f4d7867d9bdac4446e592be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): apps/barrel_docdb/src/barrel_db_server.erl:1094-1118 | apps/barrel_vectordb/src/barrel_vectordb_crypto.erl:43-70 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e977f3ed8895cc63043c49ad52e3095e369666a4d80ddc08933784f0a9e16e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): apps/barrel_docdb/src/barrel_docdb_app.erl:77-103 | apps/barrel_docdb/src/barrel_docdb_app.erl:114-144 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb_app.erl"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ddfb55f5c30d428a105390db8316f10a83db668c41489f318693eccd40531d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): apps/barrel_docdb/src/barrel_query.erl:2629-2651 | apps/barrel_docdb/src/barrel_query.erl:2703-2725 | apps/barrel_docdb/src/barrel_query.erl:3057-3079 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2629}}}],"partialFingerprints":{"codehealthFindingId/v1":"628931958bd0ac4ec8b0162c618147a5b114f0bb7a8b146bc7e20346b30fa69b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/barrel/src/barrel_record_backfill.erl:128-141 | apps/barrel/src/barrel_record_indexer.erl:288-303 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_record_backfill.erl"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e752df164cb5b4a42f96e3bd393a6ee34561a33d743612d8c559b63b3c0084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 21\u002B corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:351-373 | apps/barrel_docdb/src/barrel_ars_index.erl:385-406 | apps/barrel_docdb/src/barrel_ars_index.erl:512-532 | apps/barrel_docdb/src/barrel_ars_index.erl:545-565 | apps/barrel_docdb/src/barrel_ars_index.erl:574-595 | apps/barrel_docdb/src/barrel_ars_index.erl:681-706 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a815e743d28aa29f76824a73fd9d94fd7db15f259638918ba6f45335e85391a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/barrel_spaces/src/barrel_handoff.erl:99-112 | apps/barrel_spaces/src/barrel_session.erl:667-680 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_spaces/src/barrel_handoff.erl"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"42145a3c41dafc59ffe83fbd281fed4505bdb43f32397d003d21f9b5de9f1b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): apps/barrel_docdb/src/barrel_query.erl:2326-2357 | apps/barrel_docdb/src/barrel_query.erl:2383-2414 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aafc3e3fcc921813e95ca76946004ce71102f83b3fe3243b70ffbdefc5a869a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/barrel_ngram/src/barrel_ngram_query.erl:453-466 | apps/barrel_ngram/src/barrel_ngram_query.erl:721-736 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_query.erl"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c30cdad094a03e09adbc415272616d77c0362ed231f5314b429c3cf207b286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/barrel_server/src/barrel_server_mcp_agent.erl:233-251 | apps/barrel_server/src/barrel_server_spaces.erl:435-451 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e554ead13ec461d7e6f444d494349550b665660a8f373a33a7ac4d14a59422"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): apps/barrel_docdb/src/barrel_bql_exec.erl:176-198 | apps/barrel_docdb/src/barrel_bql_exec.erl:209-231 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_bql_exec.erl"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff38827c04a068002040069d69f052a360f52fafd60365897539f0eb8af35b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/barrel_docdb/src/barrel_query.erl:1016-1030 | apps/barrel_docdb/src/barrel_query.erl:1145-1161 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabce9d6e98924ac25b598bb69a908dcb97cba91e4c3352db3149baf6b3ddb72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): apps/barrel_ngram/src/barrel_ngram_sup.erl:33-67 | apps/barrel_server/src/barrel_server_sup.erl:25-53 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_sup.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5154126212abaa83c176ccb8beda5de8191332d6c038711beda87a6c189aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): apps/barrel_att_s3/src/barrel_att_s3_store.erl:827-846 | apps/barrel_att_s3/src/barrel_att_s3_store.erl:966-987 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f41613b515d4b3ceaaa1c98259fed79cc264c83c523ce4563cbcf961fa9f593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/barrel_server/src/barrel_server_mcp_agent.erl:419-432 | apps/barrel_server/src/barrel_server_spaces.erl:376-390 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a411d9557fe4ccd4fe9b1026fd66f70157aa98e083d8398340483b85fdd0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): apps/barrel_docdb/src/barrel_query.erl:739-755 | apps/barrel_docdb/src/barrel_query.erl:758-774 | apps/barrel_docdb/src/barrel_query.erl:855-871 | apps/barrel_docdb/src/barrel_query.erl:2360-2378 | apps/barrel_docdb/src/barrel_query.erl:2548-2566 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f536924f94a77239d40e410ad4966a8960be67affb153b3acfa8b71e5cf8c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/barrel_att_s3/src/barrel_att_s3_store.erl:775-793 | apps/barrel_docdb/src/barrel_att_store_blob.erl:756-770 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b08c25fc044759061ca8da3a57d04f30e70cfc051209ee396d312bc4ec2b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/barrel_ngram/src/barrel_ngram_segment.erl:357-373 | apps/barrel_ngram/src/barrel_ngram_segment.erl:395-411 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_segment.erl"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb2aac6a71a693e2fc4c4fba1801d6fecf1609bd979a9a5b8f40b1459ae00d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): apps/barrel_server/src/barrel_server_sync.erl:103-123 | apps/barrel_server/src/barrel_server_sync.erl:287-313 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"84dcfd95a1d9f80399ab955b8da329b210dacf5c1760acb3cf8962a7b7b916ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/barrel/src/barrel_record_backfill.erl:111-126 | apps/barrel/src/barrel_record_indexer.erl:231-247 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_record_backfill.erl"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf34e3efb2cbd98c583e5650197dd527a448e50a9ce4042a2e9683a63418e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/barrel_ngram/src/barrel_ngram_query.erl:115-133 | apps/barrel_ngram/src/barrel_ngram_query.erl:583-601 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_query.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a4099fc525b488e191be7cfbf27136d441b5ea1bf1151668cd7d3cd3a29315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_docdb/src/barrel_sync_sig.erl:222-234 | apps/barrel_docdb/src/barrel_sync_sig.erl:242-251 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_sync_sig.erl"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6352d4bead2702401765c9666d4713221f84e3cbc85c17701d1e1019b4ccf3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/barrel_ngram/src/barrel_ngram_query.erl:488-501 | apps/barrel_ngram/src/barrel_ngram_query.erl:742-755 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_query.erl"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfc30e5037926f046bf85668050babecb80a52d106333824efc466f630795a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/barrel_server/src/barrel_server_mcp_agent.erl:349-359 | apps/barrel_server/src/barrel_server_spaces.erl:323-340 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2292904de11a7a56d999fd3c1a065cef43419be7f99a3704a77783785f5c04a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/barrel_docdb/src/barrel_rep_transport_http.erl:161-174 | apps/barrel_docdb/src/barrel_rep_transport_http.erl:211-221 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_transport_http.erl"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ec50e9ea428dd119dee07c29f4a392f0a7746f2e6ae0e982d014821f48d8dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:482-499 | apps/barrel_docdb/src/barrel_ars_index.erl:626-644 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddf7eec11e91d56261f229b802eee9dd358d26cdc804fd730ab88071ba5e649"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/barrel_embed/src/barrel_embed_venv.erl:299-312 | apps/barrel_rerank/src/barrel_rerank_venv.erl:239-251 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_venv.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"696fffae608431c5546e1d7cdb697188085cabc919737039078614eb18546cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/barrel_embed/priv/barrel_embed/providers/clip.py:87-108 | apps/barrel_embed/priv/barrel_embed/providers/clip.py:111-135 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/priv/barrel_embed/providers/clip.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb513797840555c9eaa19b072c1047f0fea5a024a84880ac65452db5ef0b44be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/barrel_att_s3/src/barrel_att_s3_store.erl:746-757 | apps/barrel_docdb/src/barrel_att_store_blob.erl:775-787 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"21065ae542949013aa6267f77c3d76d16b7f0a73b481a1dd382afdeeaa1c7fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/barrel_ngram/src/barrel_ngram_corpus_config.erl:55-73 | apps/barrel_ngram/src/barrel_ngram_manifest.erl:57-75 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_corpus_config.erl"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6687a9470df6661e194e00ece2a0c8adc433de06084eaceeeff461bd1c4eac2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:169-185 | apps/barrel_docdb/src/barrel_ars_index.erl:907-935 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e67d64f5562cef2d8865ced3d541d9729968cebff7434f3cd2101550e1b5285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): apps/barrel_docdb/src/barrel_query.erl:3130-3155 | apps/barrel_docdb/src/barrel_query.erl:3160-3190 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0e4eac2fe96683d940b1a9adbaa96fcb2a3eb29b429971e692d5427c104238"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): apps/barrel/src/barrel_ctx_shape.erl:143-154 | apps/barrel_docdb/src/barrel_bql_exec.erl:321-335 | apps/barrel_docdb/src/barrel_doc.erl:455-468 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_shape.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e088035196f95bd4066efb784e24f8d9a1e6de786af5c3729855cc3b551206"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/barrel_embed/priv/barrel_embed/providers/clip.py:70-84 | apps/barrel_embed/priv/barrel_embed/server.py:101-115 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/priv/barrel_embed/providers/clip.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb42dc4531970ba084410ceb19fec42acb58b4251004154f9b773c2bfa747af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel/src/barrel.erl:988-997 | apps/barrel/src/barrel.erl:1017-1028 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel.erl"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b25a05721e43a5670b085140fe22ebeb1043e31f1e797bcfa95a53182e9a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/barrel_docdb/src/barrel_query_sub.erl:552-568 | apps/barrel_docdb/src/barrel_sub.erl:325-343 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query_sub.erl"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d87b000b312dccd0f04a65459002d432985dbdbb69b0cf5deab1e0e8746d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:188-201 | apps/barrel_docdb/src/barrel_ars_index.erl:940-956 | apps/barrel_docdb/src/barrel_ars_index.erl:968-984 | apps/barrel_docdb/src/barrel_ars_index.erl:987-1000 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"552bf3417cad8182dbaf2c496dfa0dfdf39bfc36a6397b5a354576464e9b039b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/barrel_docdb/src/barrel_rep_tasks.erl:1313-1324 | apps/barrel_docdb/src/barrel_rep_tasks.erl:1327-1339 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_tasks.erl"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8313c4f80d451e5fc6f7b0ef5482eef167b565d3d5e468a9a878c130390d32be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/barrel_embed/src/barrel_embed.erl:271-289 | apps/barrel_embed/src/barrel_embed.erl:292-309 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed.erl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"512e0ec509b085cedb88f27f8d2dc9efb505b016271114e69567b5003e4b6e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:875-884 | apps/barrel_docdb/src/barrel_ars_index.erl:889-900 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a705d2c9fb72f39e0acfe0ecef3f51a04192da0b228d39acaec93a1b823278"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/barrel_docdb/src/barrel_parallel.erl:160-167 | apps/barrel_docdb/src/barrel_parallel.erl:170-177 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_parallel.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"026727439233d01854bfb17e9087ece7845f051b07ee3f1c763660d2b476b42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/barrel_docdb/src/barrel_timeline.erl:58-80 | apps/barrel_docdb/src/barrel_timeline.erl:191-206 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_timeline.erl"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d104847bcf34930bcf93e840d08b03ec8bdaf7a05cd3555e655905c1204251f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/barrel_docdb/src/barrel_store_rocksdb.erl:613-625 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:628-640 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fd5e2afc3575a50a209a5429c8f0174aaf35f1c2d2abad500f74066468f244"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/barrel_embed/priv/barrel_embed/providers/clip.py:22-40 | apps/barrel_embed/priv/barrel_embed/providers/splade.py:19-35 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/priv/barrel_embed/providers/clip.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacaf3e39a6aee8527ebbe9eb6ff3fb7fdaf473435bba51055cf7492afbb2b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): apps/barrel_docdb/src/barrel_query.erl:2464-2485 | apps/barrel_docdb/src/barrel_query.erl:2528-2545 | apps/barrel_docdb/src/barrel_query.erl:2820-2831 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"2770a98a5c5d851f8ee052a507996b73f46d72291f75c9ec78896d1982a0a611"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/barrel_ngram/src/barrel_ngram_segment.erl:650-663 | apps/barrel_ngram/src/barrel_ngram_segment.erl:671-683 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_segment.erl"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eaecc94b8aaf27995a0098fa55c416068e631a72f62bbab91a9e0ded322239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/barrel_docdb/src/barrel_att_feed.erl:433-441 | apps/barrel_docdb/src/barrel_att_feed.erl:462-469 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0012539ddb49b0a75ed19a7e84b18c912d9fbedf30c13ceb1008d02184ab0440"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/barrel_docdb/src/barrel_rep.erl:777-794 | apps/barrel_docdb/src/barrel_rep_att.erl:478-500 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep.erl"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"2250ff95057b44470ea46e5154966c79cd13cad4fe7d902b061a4e4f1305bb50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/barrel_server/src/barrel_server_spaces.erl:112-128 | apps/barrel_server/src/barrel_server_spaces.erl:198-213 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_spaces.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01cd3beee4ccfb1785b00e66fe253bc6778799bcaf2057541ca3ca077d83571"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): apps/barrel_docdb/src/barrel_sync_sig.erl:143-149 | apps/barrel_docdb/src/barrel_sync_sig.erl:163-170 | apps/barrel_docdb/src/barrel_sync_sig.erl:183-191 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_sync_sig.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d035ffd1ccfced6e6312cc970fb6469dac4ec68fcf3801e24cfb363fcfa66b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/barrel_embed/src/barrel_embed_bedrock.erl:137-157 | apps/barrel_embed/src/barrel_embed_ollama.erl:178-186 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_bedrock.erl"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff1adabad90ffba47f920c1b2583f17ad05d99de1f668ec054bacededee9c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_docdb/src/barrel_doc.erl:471-477 | apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl:1153-1159 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_doc.erl"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a70ae2a8bac60cc216d9df0225b4f535e6a5d5a1c1d7391b9f9abfd83e2f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_docdb/src/barrel_store_rocksdb.erl:761-770 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:784-796 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6e5701e89ddbb45ef15ed70a5596587508808039df710f8e353ee6f3f4ca25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/barrel_docdb/src/barrel_store_rocksdb.erl:984-996 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:998-1010 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"3488408148c4b1284b10ed48f0bace5e8835e08ec91e6dbb0c7f3b7b33a9434c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/barrel_server/src/barrel_server_mcp_agent.erl:215-227 | apps/barrel_server/src/barrel_server_spaces.erl:136-148 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2552606d4b54440e584302fc5f3d8ba963a045caf0f4de0c10908e886b7c0a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): apps/barrel/src/barrel_sup.erl:24-50 | apps/barrel_vectordb/src/barrel_vectordb_sup.erl:35-55 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_sup.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f977f2cebbd7b42f115b139b76dea95390634defd077d4032848baa6f16981b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:727-734 | apps/barrel_docdb/src/barrel_ars_index.erl:749-756 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"928db1dfbd6174c8330ae91a7f41e717a98c445dfa3803c41ecffe8a05480bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/barrel_docdb/src/barrel_att_store_blob.erl:634-646 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:327-339 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_store_blob.erl"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf06df4275a8c63d38f45edad5c52b99e5a78dd1e252a45f11cc4525dab43dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/barrel_ngram/src/barrel_ngram_query.erl:757-765 | apps/barrel_ngram/src/barrel_ngram_verify.erl:83-91 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_query.erl"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff30470147e51e350cdc34770f0aace3036b43ac3681c7d4df217e580c6f88a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/barrel_ngram/src/barrel_ngram_postings.erl:151-159 | apps/barrel_ngram/src/barrel_ngram_segment.erl:450-459 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_postings.erl"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cb4f328d6f73e8a3180a2ff0533bd3da12ef8a1cbbe3b2ff1701597dfb41e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_docdb/src/barrel_parallel.erl:142-148 | apps/barrel_docdb/src/barrel_parallel.erl:151-157 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_parallel.erl"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"47308613c5534789afcc266657d6c788145b36803c651eb5efac58aa087432e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): apps/barrel_docdb/src/barrel_store_rocksdb.erl:388-400 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:404-416 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:460-470 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:477-488 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:528-537 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:715-726 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:748-759 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b801b25e9c4c6a1dfdffc0efbac56d3f6eeb5104a6ffe68963735244fefce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/barrel_docdb/src/barrel_att_feed.erl:444-459 | apps/barrel_docdb/src/barrel_att_feed.erl:472-483 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef709f42c813cbbafe1c0376bcda9a3c6d56a0c29fe27f3cb86f57790f4c717b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/barrel_embed/src/barrel_embed_venv.erl:84-102 | apps/barrel_rerank/src/barrel_rerank_venv.erl:94-108 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_venv.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7606919af5ec7b4d25a61b1496baa452b452d3175f86ea0af1cf8ac10d609495"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/barrel_docdb/src/barrel_query_cursor.erl:68-85 | apps/barrel_docdb/src/barrel_query_cursor.erl:89-101 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query_cursor.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"94db262638a718bda82f1ca6ceaec349ca45b7c78a32212e38bf95c550cac01c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/barrel_embed/src/barrel_embed_bedrock.erl:89-103 | apps/barrel_embed/src/barrel_embed_cohere.erl:78-93 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_bedrock.erl"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0205c46dd931e0d16055e80a2d4777e6e473c4a1ef1482a7d99bf8be0f285d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_server/src/barrel_server_http.erl:443-455 | apps/barrel_server/src/barrel_server_http.erl:571-580 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"db001d1baf76cdc98b190660c8cf8495947d1876c5d301536b74157534695c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): apps/barrel_docdb/src/barrel_store_rocksdb.erl:367-378 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:494-505 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:686-694 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:701-711 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:733-743 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:774-782 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f742d9e63a743204fd30bce31d758b100741e57b9ac1fe0e86403ba4ae7e399"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_docdb/src/barrel_att_store.erl:146-155 | apps/barrel_docdb/src/barrel_att_store.erl:327-336 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_store.erl"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c796589b7249806eae53978f163bcdafa3521cd69a5b5488056addf9b1e92210"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/barrel_ngram/src/barrel_ngram_query.erl:349-356 | apps/barrel_ngram/src/barrel_ngram_query.erl:358-365 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_query.erl"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"62473619a1e8fd1c4ec13b904cc6d442ea6ab51fea2e52c9a248aa0a867fe938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_ngram/src/barrel_ngram_merge.erl:115-121 | apps/barrel_ngram/src/barrel_ngram_merge.erl:124-132 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_merge.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a09ce57a95709fa89337ba132cbc814065e994ab55bbcf668716e445949284"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel/src/barrel.erl:936-943 | apps/barrel/src/barrel.erl:947-952 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel.erl"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b10580cb9f5fb7e7ee1e88b95ed94f0841b0760b8245637f8606f230b5b483"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_server/src/barrel_server_mcp_tools.erl:197-206 | apps/barrel_server/src/barrel_server_mcp_tools.erl:554-563 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_tools.erl"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2673f3877a5c4b7e8a4ea393824141db7e278507f88ab21e306fc6b7f4766304"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/barrel_ngram/src/barrel_ngram_corpus_lifecycle.erl:418-426 | apps/barrel_ngram/src/barrel_ngram_shard.erl:709-713 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_corpus_lifecycle.erl"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"7560c2ee20953ed7c8ee64a7996ce116db4869de0080e73541d251dee76859a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_server/src/barrel_server_mcp_resources.erl:89-101 | apps/barrel_server/src/barrel_server_mcp_resources.erl:103-112 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_resources.erl"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8fdd04a86dcd5b2adc5e00f747f8a66274aa57bcb8477de870cbf218f2cac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_docdb/src/barrel_att_feed.erl:131-140 | apps/barrel_docdb/src/barrel_db_server.erl:3453-3462 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d53c663c27a025b5fb5ef018b880b6b03cf8b19ddf2d8e4356da25f65ac3f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel_ngram/src/barrel_ngram_shard_sup.erl:44-49 | apps/barrel_ngram/src/barrel_ngram_shard_sup.erl:81-86 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_shard_sup.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f89647b4f106ae68726c9b61b7250da78b68106e7019f9a09d9650038653ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel/src/barrel_ctx_manifest.erl:146-151 | apps/barrel_ngram/src/barrel_ngram_fs.erl:71-76 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_manifest.erl"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36e596776b9156ab7587704079bfb0fec32b93761359fbb6082cec436a4f89d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/barrel_att_s3/src/barrel_att_s3_sup.erl:17-30 | apps/barrel_spaces/src/barrel_spaces_sup.erl:19-32 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_sup.erl"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c527b5469cfe2ba546556d7c9540518050a3ea742bfd29a6d28d212494ca29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/barrel_docdb/src/barrel_docdb_reader.erl:356-369 | apps/barrel_docdb/src/barrel_docdb_reader.erl:372-382 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb_reader.erl"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e7937d2cbf2c16a69633c146ea387d4bdaa6a24be131e5820d441bf6e011f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/barrel_server/src/barrel_server_sync.erl:263-272 | apps/barrel_server/src/barrel_server_sync.erl:274-281 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fc8fc061f0a066c1a9def3c057ff9a5680249885afbb5bc77020c53f2d73ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel/src/barrel_record_backfill.erl:171-180 | apps/barrel/src/barrel_record_indexer.erl:324-333 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_record_backfill.erl"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c83a15192681b5442a93907296da909510baadb51fa39b59a28cf6fa215ac4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:109-120 | apps/barrel_docdb/src/barrel_ars_index.erl:134-143 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d96e173b19d15c1cae616f6a638d20da820113ccd0f3e30c5360aeea897059"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:224-235 | apps/barrel_docdb/src/barrel_ars_index.erl:242-252 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"deab0f9742c9849c655b7d93997af886e1c67079e34d59792285d9c43dc1cb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/barrel_docdb/src/barrel_att_feed.erl:193-205 | apps/barrel_docdb/src/barrel_db_server.erl:2354-2365 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6758b8db8c47478e1195f79d492d42df4776b00f51a82f8e331bde069c2db73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_docdb/src/barrel_att_store_blob.erl:738-747 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:596-610 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_store_blob.erl"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab39e29d1d727591a81d4a9e7cd75a503739e2b2dcd16fdbd6ba80b351ed12c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_ngram/src/barrel_ngram_query.erl:436-442 | apps/barrel_ngram/src/barrel_ngram_query.erl:705-711 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_query.erl"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b786b00a0009f5a0212a4cb7ee5229c83e36b576953c5971b602a594f436ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): apps/barrel_server/src/barrel_server_http.erl:412-422 | apps/barrel_server/src/barrel_server_http.erl:424-432 | apps/barrel_server/src/barrel_server_http.erl:434-441 | apps/barrel_server/src/barrel_server_http.erl:561-569 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57743e314f2fe5736dba7c8de4f34b32a799ac191cc760b45838df503da8331"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl:1019-1024 | apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl:1036-1041 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9972dc60c92d79c15413ce44a52331177e900168f0271aa3fddacfcda12343"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/barrel/src/barrel_ctx_query.erl:533-541 | apps/barrel_server/src/barrel_server_http.erl:732-741 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_query.erl"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e7d7ac9947f39437d9a01a02a94ab449305023eaa682b4192ead66c56b5b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/barrel_docdb/src/barrel_db_server.erl:1127-1134 | apps/barrel_vectordb/src/barrel_vectordb_crypto.erl:77-84 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a554392ba6e26aa27550d19b27be10d0dc8625739cc526c741321bb1afd50d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/barrel_docdb/src/barrel_trace.erl:87-95 | apps/barrel_docdb/src/barrel_trace.erl:107-115 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_trace.erl"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"323a88936719ec0fab160773864315b9e8abc8168985a03996419b8619d848a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel_ngram/src/barrel_ngram_postings.erl:49-54 | apps/barrel_ngram/src/barrel_ngram_postings_positional.erl:188-193 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_postings.erl"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e1a2c83a194d33894d2778f40fdd4c4564a38b6d2499d2d75bfede507f57f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 7\u002B corresponding lines): apps/barrel/src/barrel_bql_live_sup.erl:16-28 | apps/barrel/src/barrel_record_sup.erl:36-48 | apps/barrel_docdb/src/barrel_db_sup.erl:59-77 | apps/barrel_embed/src/barrel_embed_pool_sup.erl:23-29 | apps/barrel_ngram/src/barrel_ngram_corpus_lifecycle_sup.erl:30-46 | apps/barrel_vectordb/src/barrel_vectordb_store_sup.erl:37-49 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_bql_live_sup.erl"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3886c90a6b7d4d6926b2b1e1cffae9d54250edb9002d0faf4b386ebfc0726b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/barrel/src/barrel_ctx_error.erl:438-441 | apps/barrel/src/barrel_ctx_explain.erl:229-232 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_error.erl"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"761db5f0e13108c6949228402678a88e8c2027b03ff26018daea31216dfed768"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): apps/barrel/src/barrel_ctx_manifest.erl:157-161 | bench/ctx_ranking/ctx_ranking.erl:192-194 | bench/ctx_remote/barrel_ctx_bench.erl:84-88 | bench/rocksdb_readonly/rocksdb_ro_bench.erl:392-394 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_manifest.erl"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"54aa7e4b48f1b26936652c3dbe273d2a7c0d4f162a3f29f6f5bebb7b7d5b0541"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): apps/barrel_docdb/src/barrel_doc_body_store.erl:32-40 | apps/barrel_docdb/src/barrel_doc_body_store.erl:57-65 | apps/barrel_docdb/src/barrel_doc_body_store.erl:78-86 | apps/barrel_docdb/src/barrel_doc_body_store.erl:95-103 | apps/barrel_docdb/src/barrel_doc_body_store.erl:109-118 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_doc_body_store.erl"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad11a6308f26b2248b564d9d3d25e82277039e96bb1a1b1de7472585b3cb20e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel/src/barrel.erl:368-373 | apps/barrel/src/barrel.erl:478-483 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel.erl"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87c139a2423b9eb020ab9018da822db9d994fdbee42f10cb244556df43afcdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_docdb/src/barrel_bql_exec.erl:233-239 | apps/barrel/src/barrel_bql_query.erl:202-208 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_bql_exec.erl"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c333647eb7561a9f9136ef827844fcbb946bbe4c49f53e38c466d574efa6ddaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/barrel_ngram/src/barrel_ngram_fs.erl:61-69 | apps/barrel/src/barrel_ctx_manifest.erl:136-144 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_fs.erl"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3ae9ae69503221e3d14aaf04c9407677b7866ae9ae37dd369f3807c0e98e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_server/src/barrel_server_mcp_agent.erl:175-181 | apps/barrel_server/src/barrel_server_spaces.erl:73-83 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"360080fb5c20616c4b052c12afb4520cff116263f26999512101ad5edf5e3cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_ngram/src/barrel_ngram_corpus_lifecycle.erl:245-254 | apps/barrel_ngram/src/barrel_ngram_manifest.erl:112-121 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_corpus_lifecycle.erl"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"227907cd8ce50054000a05c72b60603a9dbc252666d48aaf4e002bdd9a68451d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_server/src/barrel_server_mcp_tools.erl:213-222 | apps/barrel_server/src/barrel_server_mcp_tools.erl:228-234 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_tools.erl"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d288e0d0f123b07bef41215f8116caacc93d3c51542c48932c56756dee7886c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel_docdb/src/barrel_att_store_blob.erl:592-597 | apps/barrel_docdb/src/barrel_att.erl:55-60 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_store_blob.erl"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"7993c5280fe0e87ff2cbbcc50b859e481d6be9da3107c392ae68385dbae6ef20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:207-217 | apps/barrel_docdb/src/barrel_ars_index.erl:769-776 | apps/barrel_docdb/src/barrel_db_server.erl:3730-3738 | apps/barrel_docdb/src/barrel_db_server.erl:3741-3750 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"193039507ebaaaa4ce69fdea40456ad711e40e6cba2e2b44ab4fb8c343a52873"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): apps/barrel_docdb/src/barrel_store_rocksdb.erl:1180-1186 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:1191-1196 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:1201-1207 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7e516f42ed674df146013d075264493a3e972d3536a65651a74b0bda3df7d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/barrel_ngram/src/barrel_ngram_regex.erl:439-443 | apps/barrel_ngram/src/barrel_ngram_selector_dense.erl:22-26 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_regex.erl"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e735bd3b595edfcacf3dfd0986dbf684084977cfb0f88799f921cf96575b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/barrel_embed/priv/barrel_embed/server.py:89-98 | apps/barrel_rerank/priv/rerank_server.py:152-160 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/priv/barrel_embed/server.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dd2c9557bb3471ca4b4807fbec5f5f1262c90fc2f584c54c8681d0d4304cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/barrel_docdb/bench/src/barrel_bench.erl:418-421 | apps/barrel_docdb/src/barrel_rep_checkpoint.erl:337-342 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/bench/src/barrel_bench.erl"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"73180d0c8b50180b9af048ce526fc25f5d4cdbe6f4ed05499469786e69f46271"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/barrel_embed/src/barrel_embed_port_server.erl:228-238 | apps/barrel_rerank/src/barrel_rerank.erl:324-332 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_port_server.erl"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d5d9f223e803a9197b3cbf3e8c46eac7c7165cd3f74470e6cb06f4ed6d546f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): apps/barrel_ngram/src/barrel_ngram_corpus_config.erl:112-114 | apps/barrel_ngram/src/barrel_ngram_corpus_lifecycle.erl:515-517 | apps/barrel_ngram/src/barrel_ngram_shard.erl:719-721 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_corpus_config.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"488a249e3749e89e32c44be05648e770a074ac5827f374ffbcd017148a2cad0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_server/src/barrel_server_mcp_agent.erl:396-402 | apps/barrel_server/src/barrel_server_spaces.erl:359-365 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cf17ba3af70a2f451c08657bf2e5ac59d19827fa916db85bfce4018702fb23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel_server/src/barrel_server_mcp_contexts.erl:22-29 | apps/barrel_server/src/barrel_server_mcp_resources.erl:27-32 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_contexts.erl"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c528120c222703021b9dc83bcf3acbef0c2c2850922de961dd15673139c5e971"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/barrel_server/src/barrel_server_contexts.erl:53-57 | apps/barrel_server/src/barrel_server_worksets.erl:43-47 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_contexts.erl"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a937ff6977f77bb4398d7ceda7420fdbab0dd8f3cc1b3eaa44fdc0c0e820273f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/barrel/src/barrel_ctx_remote.erl:428-430 | apps/barrel_embed/src/barrel_embed_provider.erl:129-132 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_remote.erl"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"a199ced85e30253f30351a45460ac0c7f74898914931587f85bb440e5b81b40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel_docdb/src/barrel_db_server.erl:2247-2252 | apps/barrel_docdb/src/barrel_history.erl:212-218 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f231dec3e0e5502d16c96444c04382c84f5ce6023b70b6e54ad1e6182b1e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/barrel_docdb/src/barrel_rep.erl:807-810 | apps/barrel_docdb/src/barrel_rep_alg.erl:256-259 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep.erl"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fa304c8525afd248bf9a3fd6bfbf031b93da14b47585e459c0eee195d5d512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/barrel_server/src/barrel_server_http.erl:1293-1296 | apps/barrel_server/src/barrel_server_mcp_tools.erl:394-397 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e111742bbbbd8a7f2ec1f4a644bbfed7979cf266f0785596c52f13b2c1a11ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/barrel_docdb/src/barrel_att_feed.erl:406-409 | apps/barrel_docdb/src/barrel_store_keys.erl:274-278 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e943a8604287a74a2132896eed80f9f7bf72c1cdbbe542ad6fe605af2417b859"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/barrel_embed/src/barrel_embed_bedrock.erl:348-350 | apps/barrel_vectordb/bench/barrel_vectordb_bench.erl:491-492 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_bedrock.erl"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cb586c125ac2a55a6f261e1c9da9b7b036208bc0d418cdd32386d0137fef0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): apps/barrel_embed/src/barrel_embed_clip.erl:155-158 | apps/barrel_embed/src/barrel_embed_fastembed.erl:123-126 | apps/barrel_embed/src/barrel_embed_local.erl:133-136 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_clip.erl"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0ecd59cd913f9e78b257dd9fa0b536b021655aca0d0906c61f258cd5bf11ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/barrel_ngram/src/barrel_ngram_registry.erl:59-68 | apps/barrel_vectordb/src/barrel_vectordb_registry.erl:59-68 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_registry.erl"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"701dd43ad12695b5bd544ac1814fe978c89d941a217bd731f8c00a531b5ff16a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/barrel_docdb/src/barrel_bql_lower.erl:773-775 | apps/barrel_docdb/src/barrel_query.erl:724-726 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_bql_lower.erl"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b30285070b42dc921251535a1a860c0db20469b78c8d7308e8ffda4aac9d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel_docdb/src/barrel_rep.erl:767-772 | apps/barrel_embed/src/barrel_embed_provider.erl:111-116 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep.erl"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9b03d598abe2cadc985bdc2981fd502b8741093bff4257526e556e1ce3a1b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/barrel/src/barrel_ctx_catalog.erl:111-115 | apps/barrel_docdb/src/barrel_channel.erl:145-150 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_catalog.erl"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb24e827e48b5e3ab7db011357bcea3c1eb2afafe44c06db1dffff3e78269d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel_att_s3/src/barrel_att_s3_store.erl:496-501 | apps/barrel_ngram/src/barrel_ngram_corpus_config.erl:77-82 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2592d5734335ef93407388994716b23642b4ae484f2735b2e515809376e4ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/barrel_docdb/src/barrel_att_feed.erl:411-414 | apps/barrel_docdb/src/barrel_store_keys.erl:480-483 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ac5d907a3219dd807c8f97f86bf776a003bd6d9c45f7e9f0385b47a40b550f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): apps/barrel_docdb/src/barrel_db_watch.erl:66-69 | apps/barrel_docdb/src/barrel_query_sub.erl:124-127 | apps/barrel_docdb/src/barrel_sub.erl:109-112 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_watch.erl"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e2cb7dc3ad66d5b5cd9a5ee0d7c4ae07947fdeb43b85da04352ca7e811e7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/barrel_docdb/src/barrel_query_sub.erl:160-163 | apps/barrel_docdb/src/barrel_sub.erl:153-156 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query_sub.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff4cb9a84ac3d5ba11a73aa69ad47c9c315d08a436e4100f165fc72acbf11b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): apps/barrel/src/barrel_ctx_remote.erl:420-426 | apps/barrel_docdb/src/barrel_docdb_reader.erl:125-130 | apps/barrel_docdb/src/barrel_rep_transport_http.erl:141-146 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_remote.erl"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"f341c384f692e4ef850ca3ff50958f4ae37f36809ad0fa923d681122968fc8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/barrel_att_s3/src/barrel_att_s3_multipart_gc.erl:81-86 | apps/barrel_spaces/src/barrel_spaces_janitor.erl:47-52 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_multipart_gc.erl"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fae4549890b21064ad4ada2c5ae46073a7dcc4466b799c7d8fa84e943aabdde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): apps/barrel_embed/src/barrel_embed_clip.erl:192-202 | apps/barrel_embed/src/barrel_embed_colbert.erl:207-217 | apps/barrel_embed/src/barrel_embed_fastembed.erl:140-152 | apps/barrel_embed/src/barrel_embed_splade.erl:203-213 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_clip.erl"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc65f3b4312db34079255ba200f589d6c120269ea303c10c509444c011f5079f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 2\u002B corresponding lines): apps/barrel_server/src/barrel_server_http.erl:1278-1279 | apps/barrel_server/src/barrel_server_mcp_live.erl:366-369 | apps/barrel_server/src/barrel_server_mcp_resources.erl:120-123 | apps/barrel_server/src/barrel_server_sync.erl:894-896 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 2 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a1fb1e51b458070346570bc4d1bcbde4ed9f9743787fbda07acfa37a1edc28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): apps/barrel_docdb/src/barrel_parallel.erl:277-280 | apps/barrel_docdb/src/barrel_query.erl:3296-3299 | apps/barrel_embed/src/barrel_embed.erl:336-339 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_parallel.erl"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ee9a667f080401c6f93b00ff620ccc1716bbb6fb42f0d25cc4854e3d4a46a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/barrel_docdb/src/barrel_store_keys.erl:564-569 | apps/barrel_embed/src/barrel_embed_azure.erl:200-204 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_keys.erl"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db6855bdeb0977dd0472502901de1d081ed042c538512bb50a66306494aa322"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/barrel_server/src/barrel_server_http.erl:1300-1301 | apps/barrel_server/src/barrel_server_mcp_tools.erl:400-401 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"8706137062da345ddfcfdd2bc7bf400286800e844de7df9a2947a26f347f4dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/barrel_docdb/src/barrel_db_server.erl:1122-1124 | apps/barrel_vectordb/src/barrel_vectordb_crypto.erl:73-75 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"383955e92f94fb1cf06d9cbb77eaf5d4e95b1a8c10dd575acec99c5dbd672f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/barrel_docdb/src/barrel_ars_index.erl:960-963 | apps/barrel_docdb/src/barrel_query.erl:3043-3046 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e3b0f0f0e2acb21e5b7388b86f5cffc41f88f5f60f2e612fbbd119ac22e941"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_docdb/src/barrel_rep_checkpoint.erl:362-368 | apps/barrel_docdb/src/barrel_timeline.erl:275-281 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_checkpoint.erl"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c03825b7e146d9311398a00902815a190fd1428d1be3abde24658a42d09781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/barrel_ngram/src/barrel_ngram_shard_sup.erl:130-136 | apps/barrel_rerank/src/barrel_rerank_sup.erl:28-35 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_shard_sup.erl"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f93578f27aff9dcad439807f274d3d1773503d8da1cac7211adde0ecbf9b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): apps/barrel_embed/priv/barrel_embed/providers/clip.py:15-19 | apps/barrel_embed/priv/barrel_embed/providers/colbert.py:12-17 | apps/barrel_embed/priv/barrel_embed/providers/splade.py:12-16 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/priv/barrel_embed/providers/clip.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b3a89521c706d20078f866e64f70bb3ff5509c2c8cd52a1e9666b4a3c335c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): apps/barrel_server/src/barrel_server_mcp_agent.erl:44-47 | apps/barrel_server/src/barrel_server_mcp_contexts.erl:31-33 | apps/barrel_server/src/barrel_server_mcp_resources.erl:34-39 | apps/barrel_server/src/barrel_server_mcp_tools.erl:55-58 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfaf4f30b1c33f5f71912d3a18957ba96aa5b936f068eae29d8125a9503afb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (91\u201392 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:3421-3512 | apps/barrel_docdb/src/barrel_query_sub.erl:408-498 \u2014 before extracting anything, compare \u0060apps/barrel_docdb/src/barrel_query.erl\u0060 and \u0060apps/barrel_docdb/src/barrel_query_sub.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":3421}}}],"partialFingerprints":{"codehealthFindingId/v1":"795a5694e644e9ba3bf4cce68b1eb30921320d47b474140c1a2d7edecba8abcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57\u201360 lines \u00D7 2): apps/barrel_docdb/src/barrel_db_server.erl:2574-2633 | apps/barrel_docdb/src/barrel_db_server.erl:2769-2825 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_db_server.erl:2769\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"448286744de532ed6614fb4aecd89945d9594a32ad5a68a3cd9e858c8149fc45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201330 lines \u00D7 2): apps/barrel_docdb/src/barrel_db_server.erl:2672-2701 | apps/barrel_docdb/src/barrel_db_server.erl:2863-2889 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_db_server.erl:2672\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":2672}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26cbd8ef0d82b4071ef690e868ddcd320640a9b233acc9c9fd8a7d98b18b0dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): apps/barrel_embed/src/barrel_embed_jina.erl:91-114 | apps/barrel_embed/src/barrel_embed_mistral.erl:83-106 | apps/barrel_embed/src/barrel_embed_voyage.erl:90-113 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_mistral.erl\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_embed/src/barrel_embed_jina.erl: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_jina.erl"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d89dd73afba9d9dab1421e7ff6b202e56130596dcedaef7c147b5aa068201ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_port_server.erl:178-200 | apps/barrel_rerank/src/barrel_rerank.erl:267-289 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_port_server.erl\u0060 and \u0060apps/barrel_rerank/src/barrel_rerank.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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 \u0060apps/barrel_rerank/src/barrel_rerank.erl:267\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_port_server.erl"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c7d938fa864cd8f400f5cfbcc17c5275f9d504fb710f3c2562681567f1187c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_clip.erl:114-135 | apps/barrel_embed/src/barrel_embed_colbert.erl:118-139 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_clip.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_colbert.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 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 \u0060apps/barrel_embed/src/barrel_embed_clip.erl:114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_clip.erl"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b535bba97ed7b929723c1f3fa367f5405f4286ee9d9bf8e9a535e7b7e5e36dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): apps/barrel_embed/src/barrel_embed_azure.erl:213-233 | apps/barrel_embed/src/barrel_embed_jina.erl:181-201 | apps/barrel_embed/src/barrel_embed_mistral.erl:167-187 | apps/barrel_embed/src/barrel_embed_openai.erl:161-181 | apps/barrel_embed/src/barrel_embed_voyage.erl:179-199 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_azure.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_azure.erl"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cb6ac6a80df8d5595fa8867908151efc8ac523df722c1414e7390d965eb574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:2195-2215 | apps/barrel_docdb/src/barrel_query.erl:2278-2297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"587948ec148b5bcffdfd624170cd6bbc6c8a779113a15123e0dff4c58db30085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): apps/barrel_ngram/src/barrel_ngram_registry.erl:94-112 | apps/barrel_vectordb/src/barrel_vectordb_registry.erl:88-108 \u2014 before extracting anything, compare \u0060apps/barrel_ngram/src/barrel_ngram_registry.erl\u0060 and \u0060apps/barrel_vectordb/src/barrel_vectordb_registry.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_registry.erl"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec42cb3360b3c9a93177e3e6a84f5a416c54821866afc27dce88b5894e5f80af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): apps/barrel_docdb/src/barrel_query_sub.erl:253-271 | apps/barrel_docdb/src/barrel_sub.erl:240-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query_sub.erl"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"35082e5e56681f46c89e2273b0a482122e38e5c630a64ed7118b0ef7e6f3d415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): apps/barrel_docdb/src/barrel_changes.erl:119-134 | apps/barrel_docdb/src/barrel_changes.erl:153-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_changes.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f202eec15d0d8bf7ac5b8cad85854b4eda5efdf156960c71b6a5d0c1de67c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 4): apps/barrel_docdb/src/barrel_query.erl:493-510 | apps/barrel_docdb/src/barrel_query.erl:554-568 | apps/barrel_docdb/src/barrel_query.erl:618-632 | apps/barrel_docdb/src/barrel_query.erl:810-824 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"695734d74081bbc5862431f0887855159838582124b033fa0db77deb011e91c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): apps/barrel_att_s3/src/barrel_att_s3_store.erl:695-711 | apps/barrel_att_s3/src/barrel_att_s3_store.erl:1600-1616 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6ca5d12754634cae90e91b40e102a3ca960c9321bef3952d3845f1f73e0968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:3526-3542 | apps/barrel_docdb/src/barrel_query_sub.erl:512-528 \u2014 before extracting anything, compare \u0060apps/barrel_docdb/src/barrel_query.erl\u0060 and \u0060apps/barrel_docdb/src/barrel_query_sub.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":3526}}}],"partialFingerprints":{"codehealthFindingId/v1":"879a8a190c49c536f15b056b7923294b62fc1fa1a97564db332d2014de1ae348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): apps/barrel_docdb/src/barrel_rep_att.erl:158-171 | apps/barrel_docdb/src/barrel_rep_att.erl:268-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_rep_att.erl:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_att.erl"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f3770659be4ba620ee3ecc052c9a8c9f187b12cb4d92d25d3b040fce42ee75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): apps/barrel_embed/src/barrel_embed_clip.erl:107-121 | apps/barrel_embed/src/barrel_embed_colbert.erl:111-125 | apps/barrel_embed/src/barrel_embed_fastembed.erl:83-97 | apps/barrel_embed/src/barrel_embed_local.erl:85-99 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_clip.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_colbert.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 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 \u0060apps/barrel_embed/src/barrel_embed_clip.erl:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_clip.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db2451ad4131e1578d5e97a461f49fb8abccb9853e398e274b7684a44abd2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/barrel_docdb/src/barrel_ars_index.erl:392-406 | apps/barrel_docdb/src/barrel_ars_index.erl:551-565 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a3cf4fc28f640db7aa8538a6a16a3e88cff07accf08be9c70b3a6fcedd4014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/barrel_docdb/src/barrel_ars_index.erl:603-617 | apps/barrel_docdb/src/barrel_ars_index.erl:627-641 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"1578782e4f4e8e4993eda2f6615239dec41e6e10ce0431e58a5ab6a2ceab85c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_jina.erl:73-87 | apps/barrel_embed/src/barrel_embed_voyage.erl:72-86 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_voyage.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 133 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 \u0060apps/barrel_embed/src/barrel_embed_jina.erl:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_jina.erl"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce08bc54d89ae353c787c1635e8e4929fa9390840f6bab0f7613b0bc15a59a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_venv.erl:275-289 | apps/barrel_rerank/src/barrel_rerank_venv.erl:215-229 \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":"apps/barrel_embed/src/barrel_embed_venv.erl"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5f025f155670b8fe1558f71ad3df95e617695ce60a83ed95993875585cb671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/barrel_docdb/src/barrel_parallel.erl:212-225 | apps/barrel_docdb/src/barrel_parallel.erl:252-265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_parallel.erl:212\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_parallel.erl"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37be01aa79a735980e2d96e411b8873ccf62409305320d5fe46ef02393b6cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_jina.erl:132-145 | apps/barrel_embed/src/barrel_embed_voyage.erl:131-144 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_voyage.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 133 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 \u0060apps/barrel_embed/src/barrel_embed_jina.erl:132\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_jina.erl"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73fdbdbd81a24f35f6c29bd34e67528c4b2cf2a5eb72fa21f4c6c43f238ce00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): apps/barrel_ngram/src/barrel_ngram_registry.erl:118-129 | apps/barrel_vectordb/src/barrel_vectordb_registry.erl:114-127 \u2014 before extracting anything, compare \u0060apps/barrel_ngram/src/barrel_ngram_registry.erl\u0060 and \u0060apps/barrel_vectordb/src/barrel_vectordb_registry.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_ngram/src/barrel_ngram_registry.erl:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_registry.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecb5af6e6299fe99838a6462df05167a911f4bcaf9509815fe8323c5f626abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): apps/barrel_docdb/src/barrel_ars_index.erl:359-371 | apps/barrel_docdb/src/barrel_ars_index.erl:485-497 | apps/barrel_docdb/src/barrel_ars_index.erl:518-530 | apps/barrel_docdb/src/barrel_ars_index.erl:580-592 | apps/barrel_docdb/src/barrel_ars_index.erl:692-704 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_ars_index.erl:359\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":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbeb6b0c8421f340f8dbc30f7d06d1ee175aebc0311c5b050fd230158f1e954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): apps/barrel_docdb/src/barrel_query.erl:533-545 | apps/barrel_docdb/src/barrel_query.erl:598-609 | apps/barrel_docdb/src/barrel_query.erl:789-801 \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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8a89420a6341dae6e7193d58fb00fe277d88b5cbc76ffad374e810805ae8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): apps/barrel_docdb/src/barrel_ars_index.erl:583-595 | apps/barrel_docdb/src/barrel_ars_index.erl:608-619 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f3620e578b05203b7b8b34d2a7a63c2ea8eb5c6f97483e372015f5447a7bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl:478-490 | apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl:558-570 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl:478\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f86cc24da29cb07fd93be189c70333821329623ae532b2a05eb866ff9969e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:2345-2357 | apps/barrel_docdb/src/barrel_query.erl:2402-2414 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c849fbe1993cf96b0716f1b34f591e0aa838a131126084b5ab28314b9a499e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/barrel_docdb/src/barrel_rocksdb_ro.erl:40-52 | apps/barrel_vectordb/src/barrel_vectordb_ro.erl:33-45 \u2014 before extracting anything, compare \u0060apps/barrel_docdb/src/barrel_rocksdb_ro.erl\u0060 and \u0060apps/barrel_vectordb/src/barrel_vectordb_ro.erl\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rocksdb_ro.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70a21bbed46973ab277f4a0e582c37cb1968dd920ed851a1c5e53439671848e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): apps/barrel_server/src/barrel_server_mcp_agent.erl:313-325 | apps/barrel_server/src/barrel_server_spaces.erl:495-506 \u2014 before extracting anything, compare \u0060apps/barrel_server/src/barrel_server_mcp_agent.erl\u0060 and \u0060apps/barrel_server/src/barrel_server_spaces.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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 \u0060apps/barrel_server/src/barrel_server_mcp_agent.erl:313\u0060 it begins part-way through the construct above it, so those exact 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":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b9736a72aeb036a36dbcb36e4de91ef3e964f61dc43384c75a3b6575893cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:2180-2193 | apps/barrel_docdb/src/barrel_query.erl:2264-2275 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a059f9f040ea71e0e68b29214ca85bcc545ea38848f1101d6a824eb1200d484f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_cohere.erl:190-201 | apps/barrel_embed/src/barrel_embed_ollama.erl:227-238 \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":"apps/barrel_embed/src/barrel_embed_cohere.erl"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cd139611808b0f282788f109dccd73410885d060c994d19ec24cf67d409304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/barrel_server/src/barrel_server_mcp_agent.erl:235-246 | apps/barrel_server/src/barrel_server_spaces.erl:436-447 \u2014 before extracting anything, compare \u0060apps/barrel_server/src/barrel_server_mcp_agent.erl\u0060 and \u0060apps/barrel_server/src/barrel_server_spaces.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"90230f6ad92e062d816984c31718f186125df944907f13abcf99a8489d47e6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): apps/barrel_spaces/src/barrel_session.erl:188-199 | apps/barrel_spaces/src/barrel_session.erl:224-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_spaces/src/barrel_session.erl"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"779f09c47d539c0fc46aac09db8395ae21a8183abd1828d15fc35599040978d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 7): apps/barrel_docdb/src/barrel_ars_index.erl:356-366 | apps/barrel_docdb/src/barrel_ars_index.erl:389-399 | apps/barrel_docdb/src/barrel_ars_index.erl:483-492 | apps/barrel_docdb/src/barrel_ars_index.erl:516-525 | apps/barrel_docdb/src/barrel_ars_index.erl:549-558 | apps/barrel_docdb/src/barrel_ars_index.erl:578-587 | apps/barrel_docdb/src/barrel_ars_index.erl:690-699 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_ars_index.erl:356\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":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bc5491c03d7d5044273470705150dd08bc001e6ab01bf35fae6a434f905e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): apps/barrel_embed/src/barrel_embed_clip.erl:105-115 | apps/barrel_embed/src/barrel_embed_colbert.erl:109-119 | apps/barrel_embed/src/barrel_embed_fastembed.erl:81-91 | apps/barrel_embed/src/barrel_embed_local.erl:83-93 | apps/barrel_embed/src/barrel_embed_splade.erl:105-115 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_clip.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_colbert.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 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 \u0060apps/barrel_embed/src/barrel_embed_clip.erl:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_clip.erl"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee43ddbf228d7b36578a1a60c80e1314088f0f06e444ea238065730c4d7a0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): apps/barrel_docdb/src/barrel_query.erl:2641-2651 | apps/barrel_docdb/src/barrel_query.erl:2716-2725 | apps/barrel_docdb/src/barrel_query.erl:3069-3079 \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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2641}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a048f10f076f378a102b75fd7df4ab1668df77a072080543597442e43a0a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): apps/barrel_server/src/barrel_server_auth.erl:314-322 | apps/barrel_server/src/barrel_server_http.erl:1226-1234 | apps/barrel_server/src/barrel_server_sync.erl:801-811 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_server/src/barrel_server_auth.erl:314\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_auth.erl"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba67ce7b141d3e615920a5f737683c2d44abe9b64020e301cbea3f82fc5d9795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:1799-1808 | apps/barrel_docdb/src/barrel_query.erl:1988-1998 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd970d61bfbd90a56657ad1d359df5076ef58ca425d4c081c6c57f66f47a7ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/barrel_docdb/src/barrel_store_rocksdb.erl:329-339 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:344-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1703327fcdcaf488430db006c2ad4cfe66c7866451ab9ced03484f284a64292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/barrel_docdb/src/barrel_store_rocksdb.erl:986-996 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:1000-1010 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"22638802767b60838594e6359333debd6ceaa3c181b7b2d96bd36baced2819e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_port_server.erl:144-161 | apps/barrel_rerank/src/barrel_rerank.erl:231-248 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_port_server.erl\u0060 and \u0060apps/barrel_rerank/src/barrel_rerank.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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 \u0060apps/barrel_rerank/src/barrel_rerank.erl:231\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":"apps/barrel_embed/src/barrel_embed_port_server.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41dbe55f49c361427b1307ae59a2ca1c526c861bfaa6dd5b5c4307feb2df581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/barrel_ngram/src/barrel_ngram_fs.erl:86-96 | apps/barrel_ngram/src/barrel_ngram_roaring.erl:43-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_fs.erl"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"27067f3c9aa0addac4ba8bec13447d01c10fd29093c9c25f6da21cd9f85efbea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): apps/barrel_docdb/src/barrel_db_server.erl:1528-1536 | apps/barrel_docdb/src/barrel_db_server.erl:1627-1634 | apps/barrel_docdb/src/barrel_timeline.erl:605-614 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b1a8467a6fe512af7a86263d10f250cb18532404c6208bc3c06d22db19a45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/barrel_docdb/src/barrel_changes.erl:136-145 | apps/barrel_docdb/src/barrel_changes.erl:173-182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_changes.erl:136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_changes.erl"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f29e5a730fb441a378f22028008dce38e376fdfd3f9dd24468c09e02754e59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/barrel_ngram/src/barrel_ngram_registry.erl:35-44 | apps/barrel_vectordb/src/barrel_vectordb_registry.erl:35-44 \u2014 before extracting anything, compare \u0060apps/barrel_ngram/src/barrel_ngram_registry.erl\u0060 and \u0060apps/barrel_vectordb/src/barrel_vectordb_registry.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_registry.erl"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b3a78ae5681480aa553a8b9b60c03d64a703ffe6d187c528778a594388f486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/barrel_server/src/barrel_server_mcp_agent.erl:434-443 | apps/barrel_server/src/barrel_server_spaces.erl:394-403 \u2014 before extracting anything, compare \u0060apps/barrel_server/src/barrel_server_mcp_agent.erl\u0060 and \u0060apps/barrel_server/src/barrel_server_spaces.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"0674db96bb0c6f8a4f59346bc754451aaa69d6223c8de4f5622b918c46f998c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): apps/barrel_embed/src/barrel_embed_jina.erl:139-147 | apps/barrel_embed/src/barrel_embed_mistral.erl:132-140 | apps/barrel_embed/src/barrel_embed_voyage.erl:138-146 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_mistral.erl\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_embed/src/barrel_embed_jina.erl:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_jina.erl"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4284483b46c209c6cc628832ec8a804e85fb24beaa3a8769098926ddc0a60d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/barrel_att_s3/src/barrel_att_s3_store.erl:679-687 | apps/barrel_att_s3/src/barrel_att_s3_store.erl:1588-1596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af4cab23daabde44399158b1019f659b2ffbd482e9a8e609ca44b64d1b22bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/barrel_docdb/src/barrel_parallel.erl:202-210 | apps/barrel_docdb/src/barrel_parallel.erl:242-250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_parallel.erl"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd13b6ce1e875239f5b765ae568bfc6746030d3ec366cea773e53e672d4ca2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:2367-2375 | apps/barrel_docdb/src/barrel_query.erl:2555-2563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86d627f1e9d370c0a859a3cd7ec352cf80486990b5c09cb28900242b46ca8b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:3391-3399 | apps/barrel_docdb/src/barrel_query_sub.erl:388-396 \u2014 before extracting anything, compare \u0060apps/barrel_docdb/src/barrel_query.erl\u0060 and \u0060apps/barrel_docdb/src/barrel_query_sub.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e82b14f8b54017d7ef75ee3428638f0cff02b0265634a13ef002946e01c4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): apps/barrel_embed/src/barrel_embed_jina.erl:129-136 | apps/barrel_embed/src/barrel_embed_mistral.erl:121-128 | apps/barrel_embed/src/barrel_embed_openai.erl:131-138 | apps/barrel_embed/src/barrel_embed_voyage.erl:128-135 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_mistral.erl\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_embed/src/barrel_embed_jina.erl:129\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":"apps/barrel_embed/src/barrel_embed_jina.erl"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c85a845a65e9ffac5c8373348296b192ba57886fba11cd53e540ac67b98193b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): apps/barrel_docdb/src/barrel_query.erl:745-752 | apps/barrel_docdb/src/barrel_query.erl:764-771 | apps/barrel_docdb/src/barrel_query.erl:861-868 \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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94afde8d2eb682bd113d93f6d84ffac7afbe594f545b9998599e8077d496bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/barrel_docdb/src/barrel_ars_index.erl:876-883 | apps/barrel_docdb/src/barrel_ars_index.erl:890-897 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"321250b65c15c8aa0625f107951c14c9aaeaa6b6a64aaa3d367f3d9758465291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/barrel_docdb/src/barrel_store_rocksdb.erl:389-396 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:405-412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9956e4c95e03a73b7435faa6d71a091f9f4f39be9f1d57f92d9ffd484f7a7141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/barrel_docdb/src/barrel_store_rocksdb.erl:736-743 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:752-759 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_store_rocksdb.erl:736\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aaaa2925303ffebc7e74bccb412a1b9decb6eafaa5e77a494c4366707f1699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): apps/barrel_embed/src/barrel_embed_azure.erl:157-164 | apps/barrel_embed/src/barrel_embed_jina.erl:145-152 | apps/barrel_embed/src/barrel_embed_mistral.erl:138-145 | apps/barrel_embed/src/barrel_embed_vertex.erl:136-143 | apps/barrel_embed/src/barrel_embed_voyage.erl:144-151 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_azure.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_embed/src/barrel_embed_azure.erl:157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_azure.erl"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d29570c96dc204f49dd4beed2bcb39649e4dfcbca91c300b7ab366bc6eacea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/barrel_docdb/src/barrel_ars_index.erl:1042-1049 | apps/barrel_docdb/src/barrel_store_keys.erl:1057-1064 \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 \u0060apps/barrel_docdb/src/barrel_ars_index.erl:1042\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":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db64952ab01d8e18fbcebb44eadbf63ac81f53a9a2871602f8c052bd1abac0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): apps/barrel_docdb/src/barrel_docdb_reader.erl:74-79 | apps/barrel_docdb/src/barrel_docdb_reader.erl:272-278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb_reader.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e22c4cc35e5c6b230d923d47e0d3628bee60f34bf8254cb3e771b73d9eb9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/barrel_docdb/src/barrel_history.erl:111-120 | apps/barrel_docdb/src/barrel_outbox.erl:96-105 \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":"apps/barrel_docdb/src/barrel_history.erl"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"121bcf7d5e9d970e89635675421402a42da7dc079ca00c25eebb3d8bdfb41edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:3517-3523 | apps/barrel_docdb/src/barrel_query_sub.erl:503-509 \u2014 before extracting anything, compare \u0060apps/barrel_docdb/src/barrel_query.erl\u0060 and \u0060apps/barrel_docdb/src/barrel_query_sub.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":3517}}}],"partialFingerprints":{"codehealthFindingId/v1":"589bf1368ebea49ee4cab7728533db382cd9f3ce4a761c8ae97c98172ad480c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_port_server.erl:211-217 | apps/barrel_rerank/src/barrel_rerank.erl:296-301 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_port_server.erl\u0060 and \u0060apps/barrel_rerank/src/barrel_rerank.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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":"apps/barrel_embed/src/barrel_embed_port_server.erl"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7155b8774b1db31ec56dae1d413679be0aa3163582d2b485ba0932ab08adc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/barrel_ngram/src/barrel_ngram_query.erl:138-144 | apps/barrel_ngram/src/barrel_ngram_query.erl:606-612 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_query.erl"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d98463b73237bfc0d6a620f0cd37ba6e8ea561c5530b0384ca38fd1eb6e2558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/barrel_server/src/barrel_server_mcp_agent.erl:462-468 | apps/barrel_server/src/barrel_server_mcp_tools.erl:571-577 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"1644367738b06f086962a3a37caf6b22dd9905b6d653a9178ec401db5a652fba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_docdb/src/barrel_bql_exec.erl:177-183 | apps/barrel_docdb/src/barrel_bql_exec.erl:210-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_bql_exec.erl:177\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_bql_exec.erl"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce14e05b1012389a5973052ee4bb7de0bf64542c0917fe0853862b585de4252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_docdb/src/barrel_doc_body_store.erl:58-63 | apps/barrel_docdb/src/barrel_doc_body_store.erl:79-84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/src/barrel_doc_body_store.erl:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_doc_body_store.erl"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2394373f0d03da965b1535648d3aa1cc3a68883733fdb565958aef3ba65e621c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/barrel_server/src/barrel_server_mcp_agent.erl:350-356 | apps/barrel_server/src/barrel_server_spaces.erl:327-333 \u2014 before extracting anything, compare \u0060apps/barrel_server/src/barrel_server_mcp_agent.erl\u0060 and \u0060apps/barrel_server/src/barrel_server_spaces.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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 \u0060apps/barrel_server/src/barrel_server_mcp_agent.erl:350\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"068195764059d3ccf907a3b3e3d33c552cf194b7d3615ce03bc56fd841909fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel_att_s3/src/barrel_att_s3_store.erl:776-780 | apps/barrel_docdb/src/barrel_att_store_blob.erl:757-761 \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 \u0060apps/barrel_docdb/src/barrel_att_store_blob.erl:757\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":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"5199cece61ef3ac03b1a4a7b3def5f127e109d353fdc2b5dcbfcd8be8babdab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel_docdb/src/barrel_ars_index.erl:728-732 | apps/barrel_docdb/src/barrel_ars_index.erl:750-754 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e592148898f52d5dc0102cfa6f345cb66653c39db3c2c4d03f5400ac10779bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel_docdb/src/barrel_store_rocksdb.erl:478-482 | apps/barrel_docdb/src/barrel_store_rocksdb.erl:716-720 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98c28142273d63bfa550023f7ee7c3e8d9f33643273b6e5758b295bea615d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_server/src/barrel_server_mcp_agent.erl:419-424 | apps/barrel_server/src/barrel_server_spaces.erl:376-381 \u2014 before extracting anything, compare \u0060apps/barrel_server/src/barrel_server_mcp_agent.erl\u0060 and \u0060apps/barrel_server/src/barrel_server_spaces.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1df02f0e7647a16996404fd2f57bdd6ec27a6c9d5d495937966a1632cf87ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/barrel_docdb/src/barrel_ars_index.erl:1052-1058 | apps/barrel_docdb/src/barrel_store_keys.erl:1031-1038 \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":"apps/barrel_docdb/src/barrel_ars_index.erl"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"12085d8c95ae65c27bbbedec38c3a9d8a927c79ecc2e458728450f3df3594450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel_docdb/src/barrel_bql_lower.erl:767-771 | apps/barrel_docdb/src/barrel_query.erl:718-722 \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":"apps/barrel_docdb/src/barrel_bql_lower.erl"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"4829463f78d4d6c9963025d93c2b08d4277395fae495c6137d45c97646db4a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:1519-1525 | apps/barrel_docdb/src/barrel_query_sub.erl:531-537 \u2014 before extracting anything, compare \u0060apps/barrel_docdb/src/barrel_query.erl\u0060 and \u0060apps/barrel_docdb/src/barrel_query_sub.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a12e82e3d47b7d5d9d98f18ce35330f7b0fa4e46bca51bd923c464de46dc9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_docdb/src/barrel_query_sub.erl:153-158 | apps/barrel_docdb/src/barrel_sub.erl:145-151 \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":"apps/barrel_docdb/src/barrel_query_sub.erl"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6695cca1216dfc64da61441f476a11336fa85316d62db361b122428f380122e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_docdb/src/barrel_rep.erl:431-436 | apps/barrel_ngram/src/barrel_ngram.erl:356-361 \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":"apps/barrel_docdb/src/barrel_rep.erl"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7abc993b20a565c3da4317fbf58241a62cfbf65168786a2b973d2123897ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_docdb/src/barrel_rep_transport_http.erl:938-943 | apps/barrel_server/src/barrel_server_sync.erl:609-614 \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":"apps/barrel_docdb/src/barrel_rep_transport_http.erl"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"6896b049400a51a0c8ada0ff92ceda821327a0c162ffd4012fb92123213fe1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_docdb/src/barrel_rocksdb_ro.erl:27-32 | apps/barrel_vectordb/src/barrel_vectordb_ro.erl:20-25 \u2014 before extracting anything, compare \u0060apps/barrel_docdb/src/barrel_rocksdb_ro.erl\u0060 and \u0060apps/barrel_vectordb/src/barrel_vectordb_ro.erl\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rocksdb_ro.erl"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a960eda4489a318866697fa685a1b5293e042cab5f6a4016b49e1ee8bffa5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel_docdb/src/barrel_rocksdb_ro.erl:34-38 | apps/barrel_vectordb/src/barrel_vectordb_ro.erl:27-31 \u2014 before extracting anything, compare \u0060apps/barrel_docdb/src/barrel_rocksdb_ro.erl\u0060 and \u0060apps/barrel_vectordb/src/barrel_vectordb_ro.erl\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rocksdb_ro.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b38384bc1eeb99280e4917b5d21f0c9183dbdf4e552aaebd413e7c67650173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): apps/barrel_embed/src/barrel_embed_azure.erl:130-136 | apps/barrel_embed/src/barrel_embed_clip.erl:147-151 | apps/barrel_embed/src/barrel_embed_cohere.erl:126-132 | apps/barrel_embed/src/barrel_embed_fastembed.erl:115-119 | apps/barrel_embed/src/barrel_embed_jina.erl:118-124 | apps/barrel_embed/src/barrel_embed_mistral.erl:110-116 | apps/barrel_embed/src/barrel_embed_openai.erl:120-126 | apps/barrel_embed/src/barrel_embed_vertex.erl:115-121 | apps/barrel_embed/src/barrel_embed_voyage.erl:117-123 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_azure.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_azure.erl"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f03f56d3069bcf365ace6daa43866be4e8e10c38cbebc9eccfcd2d006be535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): apps/barrel_embed/src/barrel_embed_clip.erl:217-224 | apps/barrel_embed/src/barrel_embed_colbert.erl:258-265 | apps/barrel_embed/src/barrel_embed_fastembed.erl:169-176 | apps/barrel_embed/src/barrel_embed_local.erl:150-157 | apps/barrel_embed/src/barrel_embed_splade.erl:247-254 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_clip.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_colbert.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 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":"apps/barrel_embed/src/barrel_embed_clip.erl"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9749c9e89a8373cb6abdbc897bd34f86ee9b7372b16fd2d933e590989b5c1d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): apps/barrel_embed/src/barrel_embed_port_server.erl:251-255 | apps/barrel_embed/src/barrel_embed_venv.erl:185-189 | apps/barrel_rerank/src/barrel_rerank.erl:341-345 | apps/barrel_rerank/src/barrel_rerank_venv.erl:196-200 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_port_server.erl\u0060 and \u0060apps/barrel_rerank/src/barrel_rerank.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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":"apps/barrel_embed/src/barrel_embed_port_server.erl"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4eb6ba96211e6ca23e2e34f1ca23f40894e6c64301ef0cce904f87efee574b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_venv.erl:292-297 | apps/barrel_rerank/src/barrel_rerank_venv.erl:232-237 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_venv.erl"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfc4743e223e9140ab1f9bcfe93029f9bec75388b30b7246cf7eede5a3563b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel_ngram/src/barrel_ngram_postings.erl:57-61 | apps/barrel_ngram/src/barrel_ngram_postings_positional.erl:196-200 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_postings.erl"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe0510ad335da398ca0120fe76ce7e0481ce0a618136aa026ae95a619c61d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_ngram/src/barrel_ngram_postings.erl:67-72 | apps/barrel_ngram/src/barrel_ngram_postings_positional.erl:206-211 \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 \u0060apps/barrel_ngram/src/barrel_ngram_postings.erl:67\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":"apps/barrel_ngram/src/barrel_ngram_postings.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1aa7ec459379a6040c451b58c473ac0b7274553633178768996f26ce95eb8b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): apps/barrel_ngram/src/barrel_ngram_regex.erl:445-449 | apps/barrel_ngram/src/barrel_ngram_selector_dense.erl:38-42 | apps/barrel_ngram/src/barrel_ngram_selector_sparse.erl:127-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_regex.erl"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aba2b051c6c99da7cdecedf6366cb2006060d76d813cb2dc447bafeb20fd50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel_ngram/src/barrel_ngram_registry.erl:78-82 | apps/barrel_vectordb/src/barrel_vectordb_registry.erl:72-76 \u2014 before extracting anything, compare \u0060apps/barrel_ngram/src/barrel_ngram_registry.erl\u0060 and \u0060apps/barrel_vectordb/src/barrel_vectordb_registry.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_registry.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"31925bf0b214b002b5219461dfb0facb3acc916c1922263a557791b4c3243e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel_ngram/src/barrel_ngram_registry.erl:88-92 | apps/barrel_vectordb/src/barrel_vectordb_registry.erl:82-86 \u2014 before extracting anything, compare \u0060apps/barrel_ngram/src/barrel_ngram_registry.erl\u0060 and \u0060apps/barrel_vectordb/src/barrel_vectordb_registry.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_registry.erl"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d86f225b84871a0c711277e42e9a62efaefd3e4f6cdd1997bf1b4b6bdb128d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/barrel_server/src/barrel_server_mcp_agent.erl:36-42 | apps/barrel_server/src/barrel_server_mcp_tools.erl:45-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf0fbd41ea63a78dfc9adcfa805717fcc398b2938a209167bf3a54e9af5bbb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_server/src/barrel_server_mcp_agent.erl:445-450 | apps/barrel_server/src/barrel_server_spaces.erl:424-429 \u2014 before extracting anything, compare \u0060apps/barrel_server/src/barrel_server_mcp_agent.erl\u0060 and \u0060apps/barrel_server/src/barrel_server_spaces.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9923853a70d5d788573eae4fff6a8907b6c8e8cbb2f8474c40ef982e0f9fcf82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/barrel_server/src/barrel_server_mcp_agent.erl:470-476 | apps/barrel_server/src/barrel_server_mcp_tools.erl:579-585 \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 \u0060apps/barrel_server/src/barrel_server_mcp_agent.erl:470\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f843e5189622025fd232462c0e52606f909576734bf10fec3fb336f1b7ffde6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel/src/barrel.erl:1118-1124 | apps/barrel_vectordb/src/barrel_vectordb_docdb_backend.erl:89-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel.erl"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"09366eeeeaa11ee6945413f928b847a66044129698f3becfaaacf85c061469ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): apps/barrel_embed/src/barrel_embed_azure.erl:171-182 | apps/barrel_embed/src/barrel_embed_bedrock.erl:178-189 | apps/barrel_embed/src/barrel_embed_cohere.erl:170-181 | apps/barrel_embed/src/barrel_embed_jina.erl:159-170 | apps/barrel_embed/src/barrel_embed_mistral.erl:152-163 | apps/barrel_embed/src/barrel_embed_vertex.erl:194-203 | apps/barrel_embed/src/barrel_embed_voyage.erl:158-169 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_azure.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_azure.erl"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c842e00688e270c5a98aaf7c3dd6ba28ac7e6aa1764750e14d1928580ad9d435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): apps/barrel_embed/src/barrel_embed_cohere.erl:98-106 | apps/barrel_embed/src/barrel_embed_jina.erl:92-100 | apps/barrel_embed/src/barrel_embed_mistral.erl:84-92 | apps/barrel_embed/src/barrel_embed_openai.erl:98-106 | apps/barrel_embed/src/barrel_embed_voyage.erl:91-99 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_cohere.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060apps/barrel_embed/src/barrel_embed_jina.erl:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_cohere.erl"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0ed0380f6a740f39be89a83140390960bc2e7c8549fb491547873063d34fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): apps/barrel_embed/src/barrel_embed_cohere.erl:107-111 | apps/barrel_embed/src/barrel_embed_jina.erl:101-106 | apps/barrel_embed/src/barrel_embed_mistral.erl:93-98 | apps/barrel_embed/src/barrel_embed_voyage.erl:100-105 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_cohere.erl\u0060 and \u0060apps/barrel_embed/src/barrel_embed_jina.erl\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060apps/barrel_embed/src/barrel_embed_jina.erl: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":"apps/barrel_embed/src/barrel_embed_cohere.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b82ae5011da1c3cf517a515f61334506e92a67c775c4761fe1373788b4c9672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/barrel_docdb/src/barrel_query.erl:3545-3555 | apps/barrel_docdb/src/barrel_query_sub.erl:540-550 \u2014 before extracting anything, compare \u0060apps/barrel_docdb/src/barrel_query.erl\u0060 and \u0060apps/barrel_docdb/src/barrel_query_sub.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":3545}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dd0b9e5efe76b18e70168ff7a972e88d2df3625283671fd3a6c3101fbbea13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_embed/src/barrel_embed_port_server.erl:171-176 | apps/barrel_rerank/src/barrel_rerank.erl:259-264 \u2014 before extracting anything, compare \u0060apps/barrel_embed/src/barrel_embed_port_server.erl\u0060 and \u0060apps/barrel_rerank/src/barrel_rerank.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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 \u0060apps/barrel_rerank/src/barrel_rerank.erl:259\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":"apps/barrel_embed/src/barrel_embed_port_server.erl"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ed005e2ec547d22648dbbe5e5ba725f3dd93038ac947e95fcf95c832f4286c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): apps/barrel_embed/priv/barrel_embed/server.py:41-65 | apps/barrel_rerank/priv/rerank_server.py:104-128 \u2014 before extracting anything, compare \u0060apps/barrel_embed/priv/barrel_embed/server.py\u0060 and \u0060apps/barrel_rerank/priv/rerank_server.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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":"apps/barrel_embed/priv/barrel_embed/server.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdb64a021528f457ecf3758fa43a64aeb5a090921c668be621a81138503d13a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): apps/barrel_embed/priv/barrel_embed/server.py:68-86 | apps/barrel_rerank/priv/rerank_server.py:131-149 \u2014 before extracting anything, compare \u0060apps/barrel_embed/priv/barrel_embed/server.py\u0060 and \u0060apps/barrel_rerank/priv/rerank_server.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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":"apps/barrel_embed/priv/barrel_embed/server.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"968896743d0e9f675ec0577cf1f16226687008ff8755b77a2d06f766de2588bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): apps/barrel_embed/priv/barrel_embed/providers/clip.py:71-79 | apps/barrel_embed/priv/barrel_embed/server.py:102-110 | apps/barrel_rerank/priv/rerank_server.py:180-189 \u2014 before extracting anything, compare \u0060apps/barrel_embed/priv/barrel_embed/server.py\u0060 and \u0060apps/barrel_rerank/priv/rerank_server.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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":"apps/barrel_embed/priv/barrel_embed/providers/clip.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6532941b7c6e3f4827c014865bf5a649a2820a82dc9401314ddc7be5e60285d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/barrel_embed/priv/barrel_embed/providers/clip.py:102-108 | apps/barrel_embed/priv/barrel_embed/providers/clip.py:129-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"apps/barrel_embed/priv/barrel_embed/providers/clip.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccf6ab8fddf3e1702849ad9897dea1df8b215368e1749298d3d8695727d73fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): apps/barrel_docdb/bench/src/barrel_bench.erl:129-141 | apps/barrel_docdb/bench/src/barrel_bench.erl:149-161 | apps/barrel_docdb/bench/src/barrel_bench.erl:169-181 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/bench/src/barrel_bench.erl"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2bb7bdd741125f637b01e49c8be3ae70997784cb99377acb2196c32ce49f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): apps/barrel_docdb/bench/src/workloads/barrel_bench_crud.erl:44-52 | apps/barrel_docdb/bench/src/workloads/barrel_bench_crud.erl:54-64 | apps/barrel_docdb/bench/src/workloads/barrel_bench_query.erl:383-391 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/bench/src/workloads/barrel_bench_crud.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca4786ff0edbdd909740278595e1712bdc9a06a9631d0ac71c0208f9b65a072"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bench/ctx_ranking/ctx_ranking.erl:249-253 | bench/ctx_ranking/ctx_ranking.erl:260-264 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench/ctx_ranking/ctx_ranking.erl"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a8864f4e8ab3897a23882566314ac0427925647460a1703d62fba3cfd89f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/barrel_docdb/bench/src/workloads/barrel_bench_crud.erl:55-60 | apps/barrel_docdb/bench/src/workloads/barrel_bench_crud.erl:67-72 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/barrel_docdb/bench/src/workloads/barrel_bench_crud.erl:55\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":"apps/barrel_docdb/bench/src/workloads/barrel_bench_crud.erl"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afa8967f92afab97fdd5d8e89af3b46b5423265e42ae13d2ba0650a5b384c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/barrel_docdb/bench/src/workloads/barrel_bench_changes.erl:56-60 | apps/barrel_docdb/bench/src/workloads/barrel_bench_query.erl:377-381 \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":"apps/barrel_docdb/bench/src/workloads/barrel_bench_changes.erl"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5ad13f58862976ef4a79730728513ef5524e0dfd64101ab4b48a997415cf2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/barrel_docdb/bench/src/workloads/barrel_bench_changes.erl:19-29 | apps/barrel_docdb/bench/src/workloads/barrel_bench_query.erl:17-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 \u0060apps/barrel_docdb/bench/src/workloads/barrel_bench_changes.erl:19\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/bench/src/workloads/barrel_bench_changes.erl"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1513e44c55d7abd0528048d67455778077632c443a86b48f3d28c2968903ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): apps/barrel_docdb/bench/src/barrel_bench.erl:33-39 | apps/barrel_docdb/bench/src/barrel_bench.erl:130-136 | apps/barrel_docdb/bench/src/barrel_bench.erl:150-156 | apps/barrel_docdb/bench/src/barrel_bench.erl:170-176 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/bench/src/barrel_bench.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd5a4f5cf2f1bee78df1a4b2af8b28d3ce5d25abd04f9e8097ddc5f30f06614"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: barrel_embed (OTP): barrel_embed (OTP): abstractness 0.04, instability 0.00, distance 0.96 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7323af020ad8f19899ae8308e66aa523d344e8cf8f72ae379c9025190a393b6b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: barrel_crypto: barrel_crypto: abstractness 0.25, instability 0.00, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce072a13f61abaae0df8b496e931c64ae54cc99141a8bd2ed35d398b4b4cb10e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: barrel_docdb: barrel_docdb: abstractness 0.05, instability 0.25, distance 0.70 \u2014 an application entry point, so it is concrete by design \u2014 the distance is expected; what is worth checking is that other projects depend on it at all, since a host should be a leaf of the graph."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8d6d843c5f33280f94b5581c52004734606269f79f1ca3dda1dc996d8855820c"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 clients/barrel-lite/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a live pull propagates a server doc to the leader tab: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/test/browser/smoke.spec.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd392912262d9a7875aff43339b39910cf7e73294e374ab76712ccaddfb0382"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: barrel_docdb: Runtime dependency \u0060barrel_docdb\u0060 is declared \u0060\u0022\u003E= 2.4.0\u0022\u0060 in apps/barrel_att_s3/rebar.config, which has no upper bound \u2014 every future MAJOR release of \u0060barrel_docdb\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"555b5054b3f6bc12fb20e60b68f8fe88a5b2b8c593bd1f9e76de20a33562a077"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/barrel_docdb/src/barrel_db_server.erl: apps/barrel_docdb/src/barrel_db_server.erl changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in barrel_db_server.handle_call_rw at line 693. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:52:02 \u002B01:00\u0027 --until=\u00272026-11-14 17:52:02 \u002B01:00\u0027 --full-history --no-merges -- apps/barrel_docdb/src/barrel_db_server.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"86669f1cd0a637f37b39621a64d8a5bc7852938d2c0f3285efe5cdc546d3b821"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/barrel_vectordb/src/barrel_vectordb_server.erl: apps/barrel_vectordb/src/barrel_vectordb_server.erl changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in barrel_vectordb_server.handle_read at line 463. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:52:02 \u002B01:00\u0027 --until=\u00272026-11-14 17:52:02 \u002B01:00\u0027 --full-history --no-merges -- apps/barrel_vectordb/src/barrel_vectordb_server.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_server.erl"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"717d88a224863dfac9d1a53c694e4d519fd53a455761a7e516e64f6caf2ec1dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/barrel_att_s3/src/barrel_att_s3_store.erl: apps/barrel_att_s3/src/barrel_att_s3_store.erl changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in barrel_att_s3_store.finish_stream at line 1575. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:52:02 \u002B01:00\u0027 --until=\u00272026-11-14 17:52:02 \u002B01:00\u0027 --full-history --no-merges -- apps/barrel_att_s3/src/barrel_att_s3_store.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4c79505459531f15311731f228368367e0c686b2a9c33fe0901cdbcea2971e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/barrel/src/barrel_dbs.erl: apps/barrel/src/barrel_dbs.erl changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in barrel_dbs.do_call at line 290. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:52:02 \u002B01:00\u0027 --until=\u00272026-11-14 17:52:02 \u002B01:00\u0027 --full-history --no-merges -- apps/barrel/src/barrel_dbs.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a910a9516051cf19cdf0a419c68211e2effa96c3ed28f06e526f14ff6d1dec22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/barrel_docdb/src/barrel_changes.erl: apps/barrel_docdb/src/barrel_changes.erl changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in barrel_changes.get_changes_filtered_chunked at line 588. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:52:02 \u002B01:00\u0027 --until=\u00272026-11-14 17:52:02 \u002B01:00\u0027 --full-history --no-merges -- apps/barrel_docdb/src/barrel_changes.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_changes.erl"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b66324e9c75cf564ab0597e02300c7cba9ff3fb824a9e4e264740b076f4a0f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060rebar.config\u0060 makes this repository a deployable product (line 112)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rebar.config"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b016f0e8c2fc811d40df24f2d57a5b518b61eb8e3fa700b4b7aff08b91675f"}},{"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":"34748f468c63a4d0bf39246feeeb76687f55cc2cc18b4185377399fbaadbb2b0"},"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":"8ff70c1cea6b0e299d0f91e0eae3a810809271880bd8cdb240c8c588ab5b85dc"},"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":"6cda90e251cdf42457dda514dc3300341977b17ff4f76376a3f4bfed9c3a935c"},"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":"f73c99c0a71b2732790cdb13f99dd402ff3dd31c98d81b054795d6a9188b8fed"},"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":"ddf84593aec438f1a176be4c6e17096e8b88cff284efc4a1a7e844f81b4692a1"},"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":"53c95329c32307923256e9febe6a8dfde5f99832806508204695eb8cdfd58c31"},"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":"3c41b60b8729c5a4f7a4ca9acdd4c03f7535ebd0d606a3fd05323573bfd5203b"},"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":"f2dc02f989cc1edc84d22013c2742bfe9c9301ddbe2fe17930efbae8b5f27db5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58e0d5070dc805eab82f2cebe2f9730f6d7a67e23e247ac9d8a7ed17712107b4"},"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":"07d6c0d83155ba6159f21b2898a35f7163c4dc432afefc2ab4d158bb0608f4be"},"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":"7ae7094868a65b30e0e4a9a6fb1308acd12674a5d271143819b45be7fb5c151b"},"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":"22494814217b84e322e2a254dffbbb8d0aa01e5d3ae86c75cf24978188740d0f"},"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":"668dbb5d8af3e21635248a1b131beb063c510e01795c7f6cef4b51081a2cd7ec"},"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":"babdefcff6baffb7c69d40704a6dc12da4beb9641d7872246d8ffabc97fb32d8"},"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":"bec533609df5d7b127f591077e8350f854b85b581a9f1302f6ec282a6b4db556"},"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":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"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":"9b549d9de0052cdcf3a0fd587b9baa6d0b3f93fe1c813085c4da28502a20e77b"},"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":"fbd349697705638a3cbcef6306ec3efb418d769ec8c47aec74bb77700231d19d"},"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":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"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":"8e507844d9e29fe4e32c427b050c7736a02e75f8a3d95373e2469a28c729e1b7"},"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":"b849b43451f47dd23a7f2e3ec85d3aca98537709d9b791a673090dce298047d1"},"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":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"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":"1360474a7908d26b078048e9138034dc03526950f8e8c4dda6634e35a027e205"},"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":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"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":"7070679db20129dbe75f385966a738be46ea377b4b9ec31e1c136200d056cc27"},"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":"b839452334036c968d4c5fc88a5a18fcbd8459890afa988f72d3eb4259e72c90"},"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":"f84a80e88eb69346c1afd2afbf8af443c3995af72e2693f93310082bd3e8b577"},"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":"6b562a86ba4fad32d6ccdcd6ca2d4c34c2236a59e5d8276adbfb83a1790cdee0"},"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":"e219aa18b622e70c6c2e1b04262813cf2d72afcc6f95e7bf9d4faf5bef1fd071"},"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":"ab979ab2dc46515c14a5a4f004fc991e04e40404eedb88f91aeaa5242f0df4a2"},"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":"34d991f3a7b8480911904f3a9de2cdf1bb563ab42e29fe2c1ac53ae9a840c3ff"},"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":"c091110260a5adf710b8355d34157ecf7d2668219b4a07233469445f646f5889"},"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":"e989388448b9e16ee56aedf4c88dd84f7b8190e29e4cb97e780f8ac4913ea0ff"},"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":"c4014e7719155abad9ee780737c6a29d8c31bcf1e70b94286734d74edc799576"},"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":"8a7c60d84ec124dea0266da2cf23510056e10aadd6ac2dae11dd81d8528da72e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f666bdf7e96196380f4202925a695adb516a57155377bcf4557c41eceaa6cf15"},"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":"d349f4638ffbf5b7942e0a808672a446eff7579d4ab3894f127ec64d267ff557"},"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":"b4f00c1ad65d1868bbd9c07fd81eec23e5b27d051721296893d86f043ba46ae6"},"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":"a37cef01cfb01dd91989c68dbee2b7009e2954060a960cad65b1d90f8eacd127"},"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":"2ba1bd8cd7cc00ffea37dae7b5e07643f624b23874e3cb0759fc3e4878f73406"},"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":"40491ec2aa2ddf4a37d398a52be8dc05acda5396a38598df8c148259c83a2c59"},"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":"1fe915542e9ef9e0e2030d13e5e967c9edc93ad44e0043112709e63c307bce8b"},"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":"7e9323362030c11a89ee75d7211b2720333c55d8869ae68ed4aebea060c08384"},"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":"50bf62e128d459cc715d20d6542956b88ed0ae4845a3b826042673475b05fae1"},"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":"e873679ac25c0c94022a9a0c2871121f368175761b2952b2c7656197dca5e486"},"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":"b30502e06f82153ecfb44b025d387cd9d4c4f837290292244a8cb79ceefcd1ff"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d1d902da16b3acf7d3a7e8b2b5c933caf3fba95a0e5bbc33251b8b23a89a568"},"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":"22eea178886b963f876b6db18bb6be4ddd5770cd792ff0acdb062d9035f4ca1f"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"916ce0a88b696c4014ce25da98c33d2d663e9456b76ae779f42e39b87ac5113e"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b21ef51d97f04d1a8b921e635aca9ef4e877341aa2c3b0f6eaeabc61234774b6"},"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":"63c4a093cd4d8270d8663d7b47af1062c73ee032c2d6873d217251d788ab2402"},"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":"6504d8d1633fd2629c17cb911821ef9d4b240f323d5e1ebac2df01ac4726a04a"},"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":"b1aa9fb90a2f1866629f2e7bc966e691393ec93a8a55331cde03fcee80230e31"},"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":"f96de53a9c41aa9762bf4bb7d8c6ceb5328ca215e45d4016e18c2ff1458e371c"},"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":"e7aea5ad354bb944fe749ff0e5f574830ccdd11e2edd1cb16678dd3d93b52205"},"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":"49c16b6fbc91670e61b639ab9c9270b4df42b6b11889eae216a02e4dd9c52b80"},"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":"f9e1f8c88afc306f0a9094dbecc0e50cc98960dcd5063ebaee629ce6722dca39"},"taxa":[{"id":"CWE-913","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"ab302108e2868292fc5321667f9769499cb36d1645fc52b9f75f3d64dda826e5"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"fec626ea8b6f133ffb77cebc83061124e10274e624c54297a2b1cd7f3694d3b0"},"properties":{"dependency":{"package":"sentence-transformers","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4164"],"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":"854dd3221d32abc880a296819cd6d476dd6150b52aae65102eb0a25627b84202"},"properties":{"dependency":{"package":"nanoid","version":"3.3.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d9603c6d775566281b1eca450e19f92e48c4987515a1e0d62447ae975bcb518"},"properties":{"dependency":{"package":"postcss","version":"8.5.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07149a363e92397eb4587405fa17c5c52aafd2ed106440de22164f7c98d24147"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c647f72990f3384c8bfaecbf9e600aaefad367e593e2224274db3ecb6e760887"},"properties":{"dependency":{"package":"vite","version":"8.1.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b13ee84ae97f24eed5cfdd2c44e17c4a846f4cb20435d88678479f2a3eeabc5"},"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":"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":"e1cd52be161746d1de5d0d66dc66725d654d4a4142769e669752a43fb43ace8b"},"properties":{"dependency":{"package":"transformers","version":"4.30.0","advisory":"PYSEC-2025-211","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290"],"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":"d9b3602a0b171d8a64779f177d28a5dfc573d3652835626ea48b4077b3178e98"},"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":"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":"fa4ddecc2f66042f3957d19acb6e87f24e5786b7940cb66c161a33f5bfd52878"},"properties":{"dependency":{"package":"transformers","version":"4.30.0","advisory":"PYSEC-2025-211","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290"],"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":"c17d3487693da43c2a7c2c09e5969f6a0018194786ef78d1378734bb4379ac6c"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"091d5a0433d13809d837911fb6b86990cd0269e3575932a6e5e42199a321d6cd"},"properties":{"dependency":{"package":"vitest","version":"4.1.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"clients/barrel-lite/vitest.integration.config.ts","line":1}}}},{"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":"5ac9caad4ac32c2c04f570d32a37f4b86ca920886194a002123841d6b07b022a"},"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":"3de150b8f2e5888d6402cdd55c466c9669ad2eda6d670535b9a77a1cb49d70fd"},"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":"dc0554ac5136312ccd49bfcbad28967fbe940ee053f57a8f761ada74e43fe92a"},"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":"cea1c86f7838ba12a4c9af8f4305c0f9d7241ecb6bbc1c5ca08cfca4402fe130"},"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":"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":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"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":"d72c121ccb2170e02627f6c9c12a0ee4b94e31c7ec44c66f80f201c2f33d64c2"},"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":"35f3ce7a9c172bc91df892160bf503e039d9b14fa79a593fd9469b986855a767"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: content-security-policy: The live app\u0027s responses did not include content-security-policy (restricts the sources a page may load \u2014 mitigates XSS/injection). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b142e47096a32517bde0bb9b78f7e564119c7f87e22fba4dccc0d1e3645d74c5"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-embedder-policy: The live app\u0027s responses did not include cross-origin-embedder-policy (recommended by the OWASP Secure Headers Project (value: require-corp)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"153214bb9c80f7d66cba8eb6a7715e9609e84c3979c9b641cd6bedaa8be6930b"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-opener-policy: The live app\u0027s responses did not include cross-origin-opener-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8cdbe5cdec6a55c732bf9a9975c0e40f81ddfa4ad583a4a50bfb0895531607f7"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-resource-policy: The live app\u0027s responses did not include cross-origin-resource-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ba35c34991db9965777a53477c2d497c4c6606f78d133bbaa3bc99c71648c2a"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: permissions-policy: The live app\u0027s responses did not include permissions-policy (restricts powerful browser features (camera, geolocation, \u2026)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac8a111f0bb913829dc090833718dca5ab8e5fba7350f9dcf68f1971010745"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: referrer-policy: The live app\u0027s responses did not include referrer-policy (limits referrer leakage to third parties). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"364ee3f006b552b8fee33710a1fbfb0c4fac59e927af9c4396e51940d9069f01"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: strict-transport-security: The live app\u0027s responses did not include strict-transport-security (forces HTTPS on subsequent requests \u2014 mitigates downgrade/MITM). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"567d3eeb50a5678c0139a1d316c614c44cd4c4fb5db6fffa7795bc73d035966f"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-content-type-options: The live app\u0027s responses did not include x-content-type-options (stops MIME-sniffing (expects \u0027nosniff\u0027)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e7f2638203ac91f5b64c739d090b339c00a90f1007c83652152b402a6eb0cdeb"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-dns-prefetch-control: The live app\u0027s responses did not include x-dns-prefetch-control (recommended by the OWASP Secure Headers Project (value: off)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"50e54b8511264dd930857e4620bda8ba4053661b439218ed047812bcab0e3a44"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-frame-options: The live app\u0027s responses did not include x-frame-options (blocks clickjacking via framing (or use CSP frame-ancestors)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e84499d19780ca121fad65e0f3bd2fc17b1268ce3079a5f40495749c54dc87e"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-permitted-cross-domain-policies: The live app\u0027s responses did not include x-permitted-cross-domain-policies (recommended by the OWASP Secure Headers Project (value: none)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"55366a3d9fb1c5952ebc54aab272eb775bf2c1b056d6d399652365c26cc2375b"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 2.4.2 reproducibly failed in a rendered surface: axe-core rule(s) document-title failed on: html. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a152f745c16f064aeb9932e5d52584f548c37c248ac45bacf96a1a6ffc2e49e7"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 3.1.1 reproducibly failed in a rendered surface: axe-core rule(s) html-has-lang failed on: html. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e2d0e1d2bf07ce04d82230fe7847e003479b78cd188efe60cc79686fb8ba8420"}},{"ruleId":"ED1","level":"warning","message":{"text":"Handler temporal coupling: barrel_rep_tasks clause \u0060handle_loop_error/3#834\u0060: \u0060barrel_rep_tasks\u0060 clause \u0060handle_loop_error/3#834\u0060 blocks the process on a synchronous \u0060timer:sleep\u0060 while handling a message \u2014 the process is blocked (holding its mailbox) until a peer replies or the sleep elapses. That couples this handler in real time to another process being up and fast, and a mutual call can DEADLOCK. To decouple, move the delay off the hot path (a \u0060state_timeout\u0060/\u0060send_after\u0060 self-message, or do the settle in a spawned worker)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_tasks.erl"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"348c3614cbe199a6e0b8770e42324cb0fe1b25e8f4e0408042c99c1f62b46df6"}},{"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":"P12","level":"warning","message":{"text":"Runner config excludes tests no gate runs: \u0060test/integration/**\u0060 removes 16 test(s) in 5 file(s) (e.g. \u0060clients/barrel-lite/test/integration/attachments.integration.test.ts\u0060, \u0060clients/barrel-lite/test/integration/conflicts.integration.test.ts\u0060) from what vitest collects, and no other runner or CI command runs them \u2014 they are dead tests. Run them (another runner, project or job), or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/vitest.config.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cd91c70e951e7692d4f8d250793670054f641fb1c77e8a3497221e7309c3a4"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060clients/barrel-lite/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/package.json"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1061885b2c8ee965c83b891a020b4997f2069cb412a00ca821414e0ad0ca654"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): clients/barrel-lite/src/store/blobstore.ts:77 \u00B7 clients/barrel-lite/src/store/opfs.ts:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 150 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/store/blobstore.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"35173d5cb10c1f3a4a0c6885352030878ec555270f9ca6f28f91e8e719634b8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): clients/barrel-lite/src/wire/transport.ts:514 \u00B7 clients/barrel-lite/src/wire/transport.ts:542 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/wire/transport.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b91d1b182ad12727809264079148c40c86eb20430fa93904750a2a5c3e44e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): clients/barrel-lite/src/bql/lower.ts:382 \u00B7 clients/barrel-lite/src/bql/lower.ts:394 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79da4a0cc912a519835dd018ff244a9748cb0028430c548a806739be9098a99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): clients/barrel-lite/src/wire/transport.ts:501 \u00B7 clients/barrel-lite/src/wire/transport.ts:528 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/wire/transport.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"40df152e81ce904f7888e5f9012eda2bc2f3c60b469ad5c24b424b3f6c93fd63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): clients/barrel-lite/src/bql/parser.ts:89 \u00B7 clients/barrel-lite/src/bql/parser.ts:345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/parser.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9376a79a480ca5d6a4d91d692c737b02b44e0140711b933a489835c1b7a196a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): clients/barrel-lite/src/bql/parser.ts:136 \u00B7 clients/barrel-lite/src/bql/parser.ts:241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/parser.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cf5bedcbfd25532313d70b2fd584b97d7ad8130ef5bb5078b9a4b8d276a47e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): clients/barrel-lite/src/sync/pusher.ts:34 \u00B7 clients/barrel-lite/src/sync/pusher.ts:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/sync/pusher.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"61afe53e1b3e37b7af5d6049f70810e738ce67c28436110d86a3781b66f3622d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): clients/barrel-lite/src/bql/parser.ts:240 \u00B7 clients/barrel-lite/src/bql/parser.ts:343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/parser.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9474b894f04a601db0ddfb55426b36ae1e294b21acb2b9a8ba8246e5a44827"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): clients/barrel-lite/src/wire/transport.ts:484 \u00B7 clients/barrel-lite/src/wire/transport.ts:519 \u00B7 clients/barrel-lite/src/wire/transport.ts:547 \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":"clients/barrel-lite/src/wire/transport.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e0e1474bd0daca8fe5246a2d03dfa66beb7b1d34138f27ce0867a9710346e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): clients/barrel-lite/src/wire/transport.ts:182 \u00B7 clients/barrel-lite/src/wire/transport.ts:383 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/wire/transport.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a828d0de18cac9ae649787adfc0752c4dba07069ab75d046c59c636a1a25550b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): clients/barrel-lite/src/db.ts:307 \u00B7 clients/barrel-lite/src/db.ts:497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/db.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79f9d3a2b9e700413f16d953d80e621b7ce03c7f5351466467baea30599d6d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenize (cyclomatic 35, cognitive 71): tokenize has cyclomatic complexity 35 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lexer.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c077d010502b7917b35e5ffe12ec627c24f1a17ece424abcfbc0c92da253de6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatch (cyclomatic 26, cognitive 11): dispatch has cyclomatic complexity 26 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/db.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8589f116aa14527ddc72f3e2dd8d8e2ee9805a651998bcf7e4aa431d1fe5b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evalCond (cyclomatic 21, cognitive 9): evalCond has cyclomatic complexity 21 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":"clients/barrel-lite/src/bql/eval.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"946bf0b11c5487dbb6ee12a10512fcb857ec9213e191c1db465ea4aba02be734"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/test/fake-server.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2644669b1322cc0d80f582dfe0f357f875b6821054940adf91a40d013a7d20c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function route (cyclomatic 17, cognitive 16): route has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/test/fake-server.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"190ffb4b426ad08ddba88a8e10babea10e822f0c11a43fcc6320e69ef1f93f36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lowerCond (cyclomatic 17, cognitive 13): lowerCond has cyclomatic complexity 17 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f076917c0d6b0d95abcfdc2cf4baf2b9e32f449864d4f631d8b8894fb8a4225"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonExpr (cyclomatic 17, cognitive 10): canonExpr has cyclomatic complexity 17 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf526fb6112f2134c6d27176eccd576c288365e32dd4309fbf714cb66ebc17a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkIdUse (cyclomatic 16, cognitive 14): checkIdUse has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4620b2408d6c1a2a9a2cba005aad6cbfd9d7416e61a9a17badde62dfdbbc35eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 26): (anonymous) has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/sync/changes-stream.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"81353cd5a6e7a9ffafc134227260fa499006ba8947c28890baafccb2f2c85f76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pushNot (cyclomatic 15, cognitive 9): pushNot has cyclomatic complexity 15 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0cd9a4aae7e06a1ed1137672e25b7940414eb58649a1baa1b864afedd124ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pull (cyclomatic 14, cognitive 28): pull has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/sync/puller.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"addbe827dcb2ba11f5217b305126c2eb7b2317cd1163cb12bdbec6fd8685e2c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkPath (cyclomatic 14, cognitive 18): checkPath has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b8048233c38a6ce833bab43d8c593a315f59c0d7c058fbaf38b2b3dff6600b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyState (cyclomatic 14, cognitive 15): applyState has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/sync/apply.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43a4b51b193e9af8b8cf653928370e4c2d8c9c8e1be9a3140dbe254c8a90e42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pullAttachments (cyclomatic 13, cognitive 31): pullAttachments has cyclomatic complexity 13 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/attachments/att-sync.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a38d8be630e8e43220b53415143287f70e9474808c9a9c276bb9fda1a99f742"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bulkGetEmbeddings (cyclomatic 13, cognitive 17): bulkGetEmbeddings has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/wire/transport.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"53802d78ef3697254077207fa5a410250749dd45f25cde20625e8d6a72ed0ae0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchLocal (cyclomatic 12, cognitive 16): searchLocal has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/db.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"10decf50c6d8e8750cc4226daeaa0b253beb17dc329b95bf684ea7ae21f1cf25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 12, cognitive 14): open has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/db.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f39e3d3cea6b6e6b49e719600e1363ca4cb3e273f7905b2fdddc8623400e71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFrame (cyclomatic 12, cognitive 14): parseFrame has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/sync/sse.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b4ee2bd59b90f27e7ec3ab043229cf03c321160e487ac2d112eeb75f47ee2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pushAttachments (cyclomatic 11, cognitive 18): pushAttachments has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/attachments/att-sync.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"26df49fb9eaff4fdf9fc618ab8f072090549afaf55a56f69a8bff2186ab65cf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vvCompare (cyclomatic 11, cognitive 13): vvCompare has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/codec/vv.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc63e994013db4a206ddbe545b786a050546fe964117b1745ef314ae87bf5cf"}},{"ruleId":"R3","level":"warning","message":{"text":"clients/barrel-lite/src/db.ts: 716 lines of code: clients/barrel-lite/src/db.ts has 716 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/db.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be33552e53ce336b3f457662d5c1d1734a6154312b449232017897103731b0d6"}},{"ruleId":"R3","level":"warning","message":{"text":"clients/barrel-lite/src/wire/transport.ts: 644 lines of code: clients/barrel-lite/src/wire/transport.ts has 644 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/wire/transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"907d35085a82bc760e09b648b57de5aaf3bac3585fa8c3d3221e7a79f174f382"}},{"ruleId":"R3","level":"warning","message":{"text":"clients/barrel-lite/src/bql/lower.ts: 502 lines of code: clients/barrel-lite/src/bql/lower.ts has 502 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/bql/lower.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98744c4ff26cb27bbb8c03f488b3ca9cfd1705c39a7e10612d8812fbd8c872f"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0022object\u0022 \u0026\u0026 v !== null \u0026\u0026 !Array.isArray(v)\u0060 appears character-identically in 2 files \u2014 clients/barrel-lite/src/bql/eval.ts, clients/barrel-lite/src/wire/transport.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":"clients/barrel-lite/src/bql/eval.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4e72e4c7f59c4e926c6de2db529c5a3469dead6ede541ea9083c464429e464"}},{"ruleId":"X25","level":"warning","message":{"text":"Constructor parameter is stored and never read: \u0060barrel_rerank\u0060 takes \u0060timeout in Config\u0060 from the caller and stores it in \u0060#state.timeout\u0060 on line 182, defaulting to \u0060?DEFAULT_TIMEOUT\u0060 when none is supplied \u2014 but \u0060#state.timeout\u0060 is never read anywhere in the type, and line 137 spells \u0060?DEFAULT_TIMEOUT\u0060 out again where that field\u0027s value belongs. Every caller that passes \u0060timeout in Config\u0060 therefore gets \u0060?DEFAULT_TIMEOUT\u0060 regardless, and nothing in the type reports that its argument was ignored. Read \u0060#state.timeout\u0060 at line 137 \u2014 or, if the value genuinely is fixed, delete \u0060timeout in Config\u0060 and \u0060#state.timeout\u0060 together so the signature stops advertising a knob that does nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_rerank/src/barrel_rerank.erl"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f8a88c91e7416fd25931a6d8e1de1da097e17b1724c1820269d1ef5a108279"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/wire/transport.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8583206a8a6bdb5028c3636d5e377468f6dd5e4d8c13e4321636103454a25b36"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/wire/transport.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcefe311b39bf8a802695d672de4d30b02ff70ad90014c8994bfa4af9262a10"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/tabs/leader.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"553726f5e29cd0e9c906140a813e53e894871920609fbede574fd3f64f72b6d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/store/blobstore.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff73b047a421bf933eba46931d44c378169c9430596fde7bb6cbc355f5a8855"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clients/barrel-lite/src/store/opfs.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"78174ae6a077b100a4bc1fc2525bb2f04beb87a22c9c5de788729056e9501ed8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_diskann.erl"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70e8eccd3fb00747d467ffc56b62846c65b0fafa83089e459d36c006078e8d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_diskann_file.erl"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd3cba1dc969d4012f4c2ed997dd53c9260efb9a29e6ddac78168ca2209d237"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_diskann_file.erl"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c4c14af970ef8e138ccfdfaabdc9186101bc9954c58ad2233a72079bcae03b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_docdb_backend.erl"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c29c5b63480661194d0b5da7b03328977c0910d741c37102449c7abedb848c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_server.erl"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46f6092201d4a0da8ea56f189c70d01bf2fe39b3df0bc41597cbbe3758af2b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_server.erl"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9856fa101567055564b8d6b3396d1cd05cba7859594d6462e98c69ea3401457f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_server.erl"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec8c103fcd01f936efbe0b0555324e0d66f02dc8f3b9a437eb3aea131f34663"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_store.erl"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c860f2ae912d41f7a4d01e772f23d4f9384f0b759e4769ef8118ceb257fa4cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_spaces/src/barrel_spaces_janitor.erl"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4feb77bec2acef4452f921320f4e6b02f5a81e4598089687d1ed262c280f7dd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_app.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"21feaad7df9299b89a260eafe7370a263f7e51ed589626a00d0de6e0f4d5dd34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcccf5f9f4cd7a44d4735269faaf34d1e836bec750843b60344e9c48d655b67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa496ee9e5791f4acff55121d17ecc817046a4e878f958ec1e8241673bef3bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c320c2e3445c946edf1e03f0bb9509ccb3310d24df3edc7897defc1b1486815"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"7533d41bfad70adc580c730fdf1bb81a94236537e5af053c040b1c8a913e0c07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"712b35e60808a605f68fbadc9379c3faed1237fe0dd3a872e21f1aa149f2e495"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6184baac86eddaa54ae52ead0537fcef9cba0171e3047a3b5ec92ff538cb6ddc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_http.erl"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07831e2625573449793789f11251199306d43ddf6c47a96b92d1e60b86c01c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp.erl"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fb8f14a75e355545fca5c669bedb3634257f2fec88e381cb75dde52a6a2689"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_agent.erl"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eb018ae23798239cc91523efd3ba1b81fa94e09a347c87d5b09a245dfb01ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_tools.erl"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"559987c7f80ae9a39e4cb087f0260ef84025af5f58b25b25fdf27f3293726933"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_tools.erl"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"810161e1f77f8f85642612a32c1cc877c486df2f8d2f3ed008ff03b0e10d1165"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_mcp_tools.erl"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eef0a23378874f0c8a926d615eccea0dc6a3bb27c4b94c251c83fa8c1d6f862"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_spaces.erl"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c27e73c4f81acc8d7f0430482864fd77d03503d8cac3e7b16c8d22162b37ba5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"0295a60998194d6595d251a7b4b53b93a1f2ecf966ea5f1336bb77cf30651a7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c10401c645536f33afd67095d58ca7eb86c8e962129e4e1eb5612d08935992e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"001a19278d33dd058099c26dff662a270439627aeddd9757f811228d962714a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea940b483422e85f2ce42d622003ce26a4f0c04c141d73f14de7d24a322b7487"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"431bfe9d6058268ab29d07715b1ecac8b6501aafba75c2549e8b4e655c978394"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ceadd21b8c94ee467634a618b04ebb01f65a8e8d8ee83681d54843ee2b34c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6846c348a0910eccb92c1c58ae62cf3b0601d404f6fb418be4b112640a397c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0dd41fc1ce9ad5973895bdebc0b9a8f40201cb9b12da45ef9a75d97d5ef8e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ffd917229d8506a817c2ca25f5a0b4b22acad22a69bf52900569a4e1e32d3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_server/src/barrel_server_sync.erl"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f502887b7a7f5427a86bc02517fc17b110d431af297a3f18b268bfed41ae738"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_rerank/src/barrel_rerank.erl"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a27adfa8c0b0e32aa555b2e318780af236fd486713ccec230c6924e87e882b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_corpus_config.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"579f6f13704cf726064e1012f9e7110243d6bcbd397fbd15ee3241ea11121666"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_manifest.erl"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f42184c460973d449536df9a63b28876e82f876a26ffd0bdb653d6eec048cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_regex.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e597729fb3c094b323afdcbd8f9e14be46280a844807b845a0f3740ba2e832"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_shard.erl"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d509119e01037d5ca523873975fb2857e6cdca699b663da83ec6971d205262fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_shard.erl"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4391437d47327c948b31e0884a0de67337729bd5ee01e9a04d4fd2d001eae8da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_shard.erl"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f067c1fa09d6e3e13b5e7c2a01bb7a7082fd73cc57719da1810b50171576e37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_port_server.erl"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a08c986ad0d907fccfcf3fcb6a6d350587076d3268036e6653d37dc9cdfd227"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_embed/src/barrel_embed_provider.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f754e44c235d44f6bbd465cd4a3f30114084b1c9686b32d4ad22323a54ebb6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_store_blob.erl"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cb420be48151e2e2a47d4034451422d2cfddda022bf18727903490ef60e7d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_store_blob.erl"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d176004ae6608899a45d2cd48ca02ba5493f493351059c3ac99e9184c4da8e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc6ec06e57175b0580f63fd741493d9e295803aea81ecc7ca9c2918d5ecabfb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_watch.erl"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f59564394c8e627aecc861781a357c27d2bb0bd08b37acf367ef37fc5819f31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_doc_chain.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbac77175bb706dcc397e710080d566033b72aab38e810ba54c115ab7650808"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_doc_chain.erl"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5191d3f5485097b6e493d1640618ceef9ff7888e49989d5a562aa9f9f036c77c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb.erl"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eae1ac1486941698bbfd8173383cc7f3f4f30a6816f2818a2a5b41e518ba0b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb.erl"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd55a5832dad75b9383ff09ebac38ba5a83ec93019b1eaf427dccd82e544cec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_lib.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7f602c074a9a14dcf54feff79b783e4ed3038a42a063a09851ced38c995c0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep.erl"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3dde90f3360f77953386842bbacc9a518f813ad6f071102dfd14f6ef29934d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_alg.erl"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ecf977d383705245f1f570373797a37dccb1dc886bff69dce73ba376df071b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_att.erl"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b931bb34d07ab7fb1942da4db7d43580b04530b42a1d804820468d889ffb62"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_tasks.erl"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4d65f8bbab2fa27b59c70c4104264b3a805902df682cdfd9c0a5c76154dc41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_transport_http.erl"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9db4d1372f52c4ac066e489fce788a7929ae40b957a193a3000b2f7f13b5ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_transport_http.erl"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd23ca4ea26577288dc6f3a4c2ffd1f60f55ce359efa1bb3555d7cfddf99bc2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_transport_http.erl"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61e14793f946de890833e7aa2671cca775e4486598a05859efc494bc012d0f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_rep_transport_http.erl"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"845c7a28d322f972e74312f248cc4fc4cb7e1d32e19e1cbab0f6d590edc576df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_store_rocksdb.erl"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfa649e085aca03b4eec0dd7a230549631f5a366227db79be8c4166eca9cdb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_sync_sig.erl"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0228bbd78a6771e7e5959939bde702b05df28a5c1782e886251e3998669887"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_crypto/src/barrel_crypto.erl"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e90c092e314450339db2e41af11ac6082815ff7340648c1b7f096f1d1e7eea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_crypto/src/barrel_crypto.erl"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6efd6fe1d8d663ec85970d2730002379623e4e13f79b79c292c1a234a0f9e0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_crypto/src/barrel_crypto_file.erl"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a851786af736152d5fb23921f850a4173d451030e334ca9a6a0259d27657de5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_crypto.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f0ee185c602baaf43c8bc50acb1075f082ad8cb005a587ae95703136fca093"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_crypto.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6bb6d018b607044c5e4d653167ffa0f86e8d752f789384d06e59c26b9c167a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_multipart_gc.erl"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e3040a529b22278ba75d3c5c0849d364fa09110ed711a64f2efcf287d6c42f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_att_s3/src/barrel_att_s3_store.erl"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b82326caf403ef9d3aa8081ce066529a9eb89968d7ed92d9570dd02bf5e36e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_bql_live.erl"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0763b6331255e6af234939db70057482a129f64ebed773385d710e22664c90e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_bql_live.erl"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"929d753c29b3cf8a152fa2b7e081254cea9a5a9cdf3bf22c42e06520d93f8684"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_export.erl"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6ddad2abcdb39d1df0ddec611a0cc3cca863629e62d79a6b9b8648fd55e5cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_manifest.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"135231b07254b800b6257dc42eba0d1f9a43aca3ae4203bf3e9bae76382a39e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_query.erl"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e656d1af946ec8f1993aad782a5c12a8026c39081b753db2c75932a5c8337a8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_remote.erl"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d090d2847bbfab37f358ecf19d834bf0e1bac70108907f3f598ba90b157e502f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_remote.erl"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f279c13cfb565bbb5efed4647bbb2a22edee4c9a94c4f5b838b08f137f9438"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_remote.erl"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c83addafb5f9b3242eae1a8313c9a65f07e462ac07a700217d251c162ba5ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_ctx_remote.erl"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b920f331f113f8f45cf3ab32cdb8bae45de886c3adb73d8bd839e608847faa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a11268049b24243ec7b606ef2ed680bfbdba8849e586177861e67f4d341ad18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"396ad4e3b7801708c753c7b88fd252a19c7fe74449deb03fc6b4521797ed9494"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c48d9129eb341782616caf4ad62dda3cbfc1a38ca86424af8ac91d3f6bd8f9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"3467f232021c93020cbde33aa20081299830f42f54b9ea273dc144d8de1940bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"018db9f4aba35f118cf8f5107fa568e76ac42159429a95dfd46c19698527180e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel/src/barrel_dbs.erl"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c9ad9a9ae4ca9037aab4f5ebc84003d56c33b3aee0a6b635718d1ea4ed5aac"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_att_feed:encode_feed/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"36761717d8c4cd911ed0f5c838a3cbad5051533bbaa93ff131c7b84d2e7b1f67"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_att_feed:decode_feed/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d596c7bcf160bc9fa829dee252db197112359f42641b199406c5b7b1a97e4e"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_att_feed:encode_index/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72ca8e35a2a186f34032cfb53bab12903752cef731ef1592d2a12864645dec6"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_att_feed:decode_index/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_att_feed.erl"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df8bc06670d0bfd48bf5eb31acb5c2af036a0fe9ffd925a5be5102497790b48"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_channel:encode_row/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_channel.erl"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0863001b28a3c04117255ce4a15f0ac73b943f631499556af429ba425cf4f85f"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_channel:decode_row/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_channel.erl"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5a1179ecef39fe39ba528cedcad15dd263926ed23b71e818dcfcd5f1136dfc"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_db_server:doc_write_ops/5\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a986c3c757c1d4d6015011fbfcd40dc1368ba9c9d6155f4cb4b8a1d409df1a"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_db_server:sweep_retention/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a5793d7a13b0752e0d7791e9e284504fe3af3b6a9f93e800f2c54061968159"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_db_server:sweep_retention/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_db_server.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e550cdf9c15bc5a1ef2c1926caf37a315048e6d7dbf62144da6ef2e07442ef7"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_doc_chain:owner/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_doc_chain.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"52014befc436c09424c4903b311ec95206c18636aa020e52247ed4c24341ba69"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_doc_chain:owner/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_doc_chain.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe05ec99dad5b1ccf1da45d265a4cbc155d5fa310ad3a814345f05fe9f6231a1"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_docdb_codec_cbor:encode_varint/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"919785e16a28b0e12906f390ca734dc8e7966a898f09df05ed7270eb7ab0fb18"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_docdb_codec_cbor:decode_varint/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_docdb_codec_cbor.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"44122c524868c955c4a4091a2bdad91aeed031c5ce6425143309f5ad1e806f97"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_history:encode_entry/5\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_history.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"30596a353715a297bb463f075e45903c279735656bb51b9b266e392e396f9c03"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_history:encode_entry/6\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_history.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8940777a0148e21c1518564bb299542b65145ac6b5ca5b662b664cd236cada"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_history:decode_entry/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_history.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"241fcac538c19714450efd6501915859e5c2d570ac9fd10f404cc9e5edcbd7cc"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_hlc:start_link/0\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_hlc.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6826b5358622b6f6b89431c052791e6abebad410102d219296290fa6c0dc7c60"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_hlc:start_link/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_hlc.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9d0754fb435789f85184ee831ceeb79ded57865c6663ed0fff0343c5048d8a"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_hlc:stop/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_hlc.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f79023f3731e9b8130c5668e18df4a82bd907c9814b9626421cb91b35ec2954"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_hlc:now/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_hlc.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f019098732285fd40d05b769af7a4cba9764ed86493c9d182aabbd6740c35238"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_hlc:update/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_hlc.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5773969a69717b2b8b7eabace3bebe076b5cb591656927179e8846bd016e629f"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_hlc:timestamp/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_hlc.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd84e57e58d052e1b705f37a0582356484bb52925a4d9c8705920f3b6e3ee535"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_outbox:encode_entry/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_outbox.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"217f3d4c20438cd97d505b022d549a2e4cc66963bcd5b186dda1141732d63daf"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_outbox:decode_entry/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_outbox.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e565256cc0829046457d5bf66150dc2858c96fa8511adc9f03f0989dca7c9b9"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_path_dict:reset/0\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_path_dict.erl"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"088465a51f337c68985974c9b0e9ba0885a6221e39078a77ce7af96250c4ef96"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_query:is_logic_var/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab70705e5bc11e403c8d1f406e2bb612b9ac962ae07ff330f2a2143908a7a1f"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_query:normalize_condition/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_docdb/src/barrel_query.erl"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a94195fa07586f4900ad825638ed841f534464f69b1bb8d635094bde2cdb7b"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_ngram_regex:parse/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_ngram/src/barrel_ngram_regex.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d718464e6e8b6eced06ba7e08447d84d64693c92c9f5a6b03679a3ccf5a69de"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_rerank:decode_response/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_rerank/src/barrel_rerank.erl"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"514968a5bcd4c9b3b46cb7e09c53c13d0780f4096df0ea11229c6dcc78e6d8e0"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_diskann:greedy_search/5\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_diskann.erl"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68718d844819bbcbc9aff5ebba4de7fe1b914205bbeccffa7de4ea87dfa2f94"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_diskann:robust_prune/5\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_diskann.erl"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c84178952b3b46fbb79435ac8a2df6948ee927d57a82135fe869eaa3903fdc"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_diskann:find_medoid/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_diskann.erl"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa09ba25f58ff5c64f37e57345d38b363a1b8341298d03c41a206e1dc9646982"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_diskann:close_all_standalone_dbs/0\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_diskann.erl"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c872859491955d45abc682a6433b65a8e60d60ed284e4e1a6dc879cdc96977"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_hnsw:cosine_distance/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_hnsw.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"164d21b608d1b1e9ec85fd1723bd7a63a03656d7d2f6873512c25ce91b08e5f8"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_hnsw:euclidean_distance/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_hnsw.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"569b19b0680602c106243f07f61337c7d7ceb7444f2da4a60cbcb0ddcef7cae8"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_hnsw:cosine_similarity/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_hnsw.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed39502e89e299d9cc11775fd7a901658372afbdd1c33593deb5fd807eef130d"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_pq:split_subvectors/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_pq.erl"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8854a58604be4505f9bfaea58d73c717184cacf06738e14666192e827c80898"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_pq:kmeans/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_pq.erl"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7b9ce23fbcda771bae5e84c295349d33aa475e0dd7924f3ca93ffc3130c0c1"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_turboquant:generate_rotation_matrix/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_turboquant.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"83351cb3ca5d02bdd5d58eb7fa84322ee062108e568364c275fe83c53f843d28"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_turboquant:apply_rotation/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_turboquant.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"191d8af903c5aa01bebac489827dec74c1df64c6181a401271aa3abd64e8c679"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_turboquant:apply_inverse_rotation/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_turboquant.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95e8c22ba089bf4f7101b6a13bd19cb5c285aa4ff3365542153d178c20f6d90"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_turboquant:to_polar/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_turboquant.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6d7b403e53988a1d7c33d9a2ef7825a1386abc1504fa8ef741e2c3282b7b46"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_turboquant:from_polar/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_turboquant.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"977263f11ccf7bdf0bc521937de45625773917db1fc97f3d9c4a174bb2660819"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_turboquant:compute_qjl_signs/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_turboquant.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c367ad63fcc0ab2dcc990fe3fa3dc4eb528d629690486bb538b43c08aa32e1e6"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_turboquant_subspace:select_m/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_turboquant_subspace.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a02caaf97926fb03c87b92324e6be14f1c71571785c943928f2b9056fb418d2"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060barrel_vectordb_turboquant_subspace:split_subvectors/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/barrel_vectordb/src/barrel_vectordb_turboquant_subspace.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dba8ed925620b4d4cfa5e5dce744d5b2d8de3aa6d855b13190460374f654c38"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.5 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 9 assertion(s) across the 6124 source line(s) of the 43 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: clients/barrel-lite/src/codec/live.ts (6), clients/barrel-lite/src/store/localstore.ts (3). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}}],"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-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-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-913","guid":"062167e8-5db3-0857-a865-a1fc4aad34bc","name":"CWE-913","shortDescription":{"text":"CWE-913"},"helpUri":"https://cwe.mitre.org/data/definitions/913.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-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":81,"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."]}]}