{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"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":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"torch2flm.tofile (cyclomatic 48): torch2flm.tofile has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/torch2flm.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d0a9be4f31a8b5b62c9c96fffc94f10233d2ab83b87bf48aadec9689d6b404"}},{"ruleId":"D1","level":"warning","message":{"text":"hf_model.create (cyclomatic 43): hf_model.create has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/hf_model.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c2a3cfc827225cc411416702bbd94a03707104c4c0b73e8db5004fe15c75f6"}},{"ruleId":"D1","level":"warning","message":{"text":"openai_api.parse_messages (cyclomatic 26): openai_api.parse_messages has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai_api.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6963c37814db3ce4177d6f99d1a974b013cf18d45bbd91cdc2cf9b88df82421"}},{"ruleId":"D1","level":"warning","message":{"text":"cli_demo.main (cyclomatic 20): cli_demo.main has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli_demo.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6424bcdc02cfc4489e782abf534a4988fcb2953710790650af954737dfd9f637"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_ceval.eval_subject (cyclomatic 17): evaluate_ceval.eval_subject 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":"eval/evaluate_ceval.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b3c3407d980231d362126662ac046c4b4862767a41451d002b7f6c790e0ce3"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_cmmlu.eval_subject (cyclomatic 17): evaluate_cmmlu.eval_subject 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":"eval/evaluate_cmmlu.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"023d21c9169c4a76e4f0346928307a107c9eb9994954e80cd130f640d61e3a30"}},{"ruleId":"D1","level":"warning","message":{"text":"finetune.train (cyclomatic 17): finetune.train 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":"finetune.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cc3f5a2ff884a20f82bf26a5a26eb27562887d744b871024b3eac9e75f4945"}},{"ruleId":"D2","level":"warning","message":{"text":"torch2flm.tofile (cognitive 89): torch2flm.tofile has cognitive complexity 89 (threshold 15). Drivers by points: if/else 32 (48 pts), loops 10 (24 pts), ternaries 5 (13 pts), boolean chains 4 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/torch2flm.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"13860132c7ca9820e401108f4254c0dcea676153dea7e17e023a2cac6b747ca9"}},{"ruleId":"D2","level":"warning","message":{"text":"hf_model.create (cognitive 72): hf_model.create has cognitive complexity 72 (threshold 15). Drivers by points: if/else 30 (47 pts), loops 7 (12 pts), ternaries 3 (9 pts), boolean chains 4 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/hf_model.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"66281989d4cb27a0ce68e71eb48e921acb14a79365fbb572e65380b78c8390af"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_api.parse_messages (cognitive 50): openai_api.parse_messages has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (42 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai_api.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2143be703ddbba4bd9b6da42159d337e5d5db8474af7b5be1498b262808be237"}},{"ruleId":"D2","level":"warning","message":{"text":"cli_demo.main (cognitive 47): cli_demo.main has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (26 pts), error handling 3 (13 pts), loops 3 (8 pts) (nesting depth added 31). 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":"cli_demo.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbe4df3a2e876ab1b9b022b9589aec83e4a96041ad3509e8b99918da5fccd0f"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_ceval.eval_subject (cognitive 35): evaluate_ceval.eval_subject has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 5 (10 pts), ternaries 2 (5 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_ceval.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"993d20dafa76d2a0155a1b6f698c6ff471748e46f734b7bebc21c06d2ba58815"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_cmmlu.eval_subject (cognitive 35): evaluate_cmmlu.eval_subject has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 5 (10 pts), ternaries 2 (5 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_cmmlu.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3434cbf7c3fbc8b36f290b954b8e82a62096050bee583a44f788f9e3decbed3"}},{"ruleId":"D2","level":"warning","message":{"text":"model.stream_chat (cognitive 31): model.stream_chat has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/llm.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fda765209330f5a6068171d711f746ed663e52351563abe3f60bfd7be15577"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_mmlu.eval_subject (cognitive 31): evaluate_mmlu.eval_subject has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 5 (10 pts), ternaries 2 (5 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_mmlu.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0693ffb3baa672260aa27778ac8f31a9307e17568dba88527420bd74ec841e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_chat_ceval.eval_subject (cognitive 23): evaluate_chat_ceval.eval_subject has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_chat_ceval.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd74e370af6cbfd8a213a8a40d337113f2cbb840ffe6caf93bdeb5fcae24b5c3"}},{"ruleId":"D2","level":"warning","message":{"text":"finetune.train (cognitive 22): finetune.train has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"finetune.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d873ceee90261430b636066f57f06127b3b8b0cfbf15dc433df9924fe6d20a"}},{"ruleId":"D2","level":"warning","message":{"text":"model.chat (cognitive 21): model.chat has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/llm.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb020bc79a58ac3cf5704de4b7504614c9d52258eedd3205454ebb35624d2ac1"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_chat_mmlu.eval_subject (cognitive 19): evaluate_chat_mmlu.eval_subject has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_chat_mmlu.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2da3eb07f7e2e389031d65515f1b1778c6076b5a70deac8c1bc4c77c1ffcc9c"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_api.create_chat_completion (cognitive 18): openai_api.create_chat_completion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai_api.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dcb700e4cbc0164d621c39c301b3d83a578ca83bd375de9901ba7382d7d564"}},{"ruleId":"D2","level":"warning","message":{"text":"finetune.get_peft_state_maybe_zero_3 (cognitive 17): finetune.get_peft_state_maybe_zero_3 has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"finetune.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"25eb110bdaf35b3af4f1ac5e6d595cc0f1db4f83519bc2549671aedcb17951b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): examples/function_call_finetune_examples.py:61-83 | openai_api.py:192-307 \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":"examples/function_call_finetune_examples.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3afb3b377fddb9aee3c23a2bd7de3aeb9874bac3e24c70be8c78a1b57524158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): examples/vllm_wrapper.py:154-220 | recipes/inference/vllm/vllm_wrapper.py:154-220 \u2014 before extracting anything, compare \u0060examples/vllm_wrapper.py\u0060 and \u0060recipes/inference/vllm/vllm_wrapper.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/vllm_wrapper.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ffee5e164e831f757953ac00d65399e3514fdf9b43a33db197f8418865a550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): examples/vllm_wrapper.py:47-102 | recipes/inference/vllm/vllm_wrapper.py:47-102 \u2014 before extracting anything, compare \u0060examples/vllm_wrapper.py\u0060 and \u0060recipes/inference/vllm/vllm_wrapper.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060recipes/inference/vllm/vllm_wrapper.py:46\u0060 calls \u0060decode\u0060 and \u0060examples/vllm_wrapper.py:46\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/vllm_wrapper.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bad8ee23e74608ac40216bb74505b1ebd868154b5c14c7e84fca519fe445a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): examples/vllm_wrapper.py:113-145 | recipes/inference/vllm/vllm_wrapper.py:113-145 \u2014 before extracting anything, compare \u0060examples/vllm_wrapper.py\u0060 and \u0060recipes/inference/vllm/vllm_wrapper.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 163 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":"examples/vllm_wrapper.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb1b5d0aab349350730f42595fbb212ea3d59be5142136d3296df1002af36a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): eval/evaluate_ceval.py:159-186 | eval/evaluate_chat_ceval.py:180-207 \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":"eval/evaluate_ceval.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"057f9efcc1a9f87fab35a4d96d9d148e5c432ae4501c56f7d6cfdd769c63c771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): eval/evaluate_ceval.py:97-119 | eval/evaluate_cmmlu.py:103-125 | eval/evaluate_mmlu.py:111-133 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 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 \u0060eval/evaluate_ceval.py:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_ceval.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f88d4059490ddd8ea5e91503835359e534307a19b9ee133681f777099624bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): eval/evaluate_chat_ceval.py:70-92 | eval/evaluate_chat_mmlu.py:64-86 \u2014 before extracting anything, compare \u0060eval/evaluate_chat_ceval.py\u0060 and \u0060eval/evaluate_chat_mmlu.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_chat_ceval.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c38a3e88658d6ea09fe29eaabc8a5ae03daebc88e5e3cb12a96c9e6ff8e180e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): eval/evaluate_chat_ceval.py:137-159 | eval/evaluate_chat_mmlu.py:120-142 \u2014 before extracting anything, compare \u0060eval/evaluate_chat_ceval.py\u0060 and \u0060eval/evaluate_chat_mmlu.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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":"eval/evaluate_chat_ceval.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15ae001b64398801cd6795c0139f2bf1738a4adba4fbc9d16fe16a3307dd0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): examples/function_call_finetune_examples.py:61-78 | openai_api.py:205-226 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/function_call_finetune_examples.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4838a24c32438211be5a75375435a4cf897ab2f3d2f69c28cd75f21dbfb635cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): finetune.py:143-164 | run_gptq.py:33-54 \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":"finetune.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"78955bbb9859a5ce16539cbf61d814e2622ebca69ed347a6d2214af5ef7bfddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): cli_demo.py:45-65 | web_demo.py:41-61 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli_demo.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88d8cc7c64780d55e5ac1496ad51dc13797438ce2b6869a725f8bf1a4c3cc94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): eval/evaluate_ceval.py:129-148 | eval/evaluate_cmmlu.py:135-154 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 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":"eval/evaluate_ceval.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e91cc26c4cf943635caaa71d5bc677c50dae930fc339e574c22a79fac0bdd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): eval/evaluate_ceval.py:22-40 | eval/evaluate_cmmlu.py:28-46 | eval/evaluate_mmlu.py:23-41 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_ceval.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0608b63375e688d1a8be42fe07fa46e279240e4fc70e726954e703f4e9ed1acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dcu-support/package/fastllm_pytools/llm.py:337-355 | dcu-support/package/fastllm_pytools/llm.py:381-399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dcu-support/package/fastllm_pytools/llm.py:337\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/llm.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"406c60f074e6bda448b3f1edd2b3239bc98e85bc2bc1fee19d1fe059424c3f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): dcu-support/package/fastllm_pytools/llm.py:319-335 | dcu-support/package/fastllm_pytools/llm.py:361-376 \u2014 both copies are in the same file, so extract the block 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":"dcu-support/package/fastllm_pytools/llm.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6f1ee60d2e1b2eb9f12cca7ed1ba0b9c56e83506f2e15ab1b8df927a8aa5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): eval/evaluate_ceval.py:389-403 | eval/evaluate_cmmlu.py:286-296 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 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 \u0060eval/evaluate_ceval.py:389\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":"eval/evaluate_ceval.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b56f263a97c8057dd70d501483175d556c5dbd4215801f80809cff1aa3d74d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): eval/evaluate_ceval.py:142-155 | eval/evaluate_cmmlu.py:148-161 | eval/evaluate_mmlu.py:150-163 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_ceval.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c5c7131ebdf00e3f997f873bb5b7d89377325f3cb73d4a988f105cc168d799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): eval/evaluate_chat_mmlu.py:24-37 | eval/evaluate_plugin.py:186-199 \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":"eval/evaluate_chat_mmlu.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8ccc0ff8a413b3b228eb945bd8161ac6647b071f67e9d12d892ceac0750753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): eval/evaluate_chat_mmlu.py:163-176 | eval/evaluate_mmlu.py:172-185 \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":"eval/evaluate_chat_mmlu.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae5d8197ce96b017ecec683eee5bf74fbf60df4f04aba30e6d4cf664c7413c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): dcu-support/package/fastllm_pytools/llm.py:324-334 | dcu-support/package/fastllm_pytools/llm.py:344-353 | dcu-support/package/fastllm_pytools/llm.py:366-375 | dcu-support/package/fastllm_pytools/llm.py:388-397 \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. 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":"dcu-support/package/fastllm_pytools/llm.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"749ffec9aaf82a56be2c532fc07b162ad23d8e3992fbc9a68c5aeb8e7baf2f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): eval/evaluate_gsm8k.py:26-36 | eval/evaluate_humaneval.py:16-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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_gsm8k.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e538e10b9515398ac70eae17a83736efc23192ec13ea19fca4a109e7ac305d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): eval/evaluate_ceval.py:127-136 | eval/evaluate_cmmlu.py:133-142 | eval/evaluate_mmlu.py:141-150 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 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":"eval/evaluate_ceval.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b97a8a4f99170ed1eafd8246364f3b01134380af4b17b53820ab08c9fb901c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): dcu-support/package/fastllm_pytools/llm.py:459-466 | dcu-support/package/fastllm_pytools/llm.py:485-493 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dcu-support/package/fastllm_pytools/llm.py:459\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/llm.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a25fa25a20acb2586d1da8a9cf5f5f39fcacd175c03dd766dea207a17c58b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): eval/evaluate_ceval.py:68-75 | eval/evaluate_cmmlu.py:74-81 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 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":"eval/evaluate_ceval.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6898465fa96536292cf18c87d4062bc82e5fc8cebda12c029798577eb4f03808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): eval/evaluate_gsm8k.py:40-47 | eval/evaluate_humaneval.py:30-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_gsm8k.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd02084ba25a3f117e18c718da6653bd8df7f4cbe0f14f264de612c14b62dc76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): finetune.py:131-138 | run_gptq.py:19-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"finetune.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbc660bc58f0339d63850b21ed800325da7305bb6e22d442106562a4ed04b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): eval/evaluate_ceval.py:70-76 | eval/evaluate_cmmlu.py:76-82 | eval/evaluate_mmlu.py:84-90 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_ceval.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"945f4d47149c955768ad1076694928d000576cecd7f37156eee1fc2ae6b56ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): eval/evaluate_ceval.py:120-126 | eval/evaluate_cmmlu.py:126-132 | eval/evaluate_mmlu.py:134-140 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 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":"eval/evaluate_ceval.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ca9dfad6253533a8dda79b94bc2499d8ddeb3a7af423f94e59876ef4d67d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): eval/evaluate_chat_ceval.py:123-127 | eval/evaluate_chat_mmlu.py:107-111 \u2014 before extracting anything, compare \u0060eval/evaluate_chat_ceval.py\u0060 and \u0060eval/evaluate_chat_mmlu.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060eval/evaluate_chat_ceval.py:123\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":"eval/evaluate_chat_ceval.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ebf6120786e822904e9bf103a8ccde076d389e77210d4be532de6bf5d784f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): eval/evaluate_ceval.py:44-52 | eval/evaluate_cmmlu.py:50-58 | eval/evaluate_mmlu.py:45-53 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_ceval.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"411d386eee76a66fe4b4012fb2d30097b77e09fabb8149e58f85f97cc572218d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): eval/evaluate_ceval.py:56-64 | eval/evaluate_cmmlu.py:62-70 \u2014 before extracting anything, compare \u0060eval/evaluate_ceval.py\u0060 and \u0060eval/evaluate_cmmlu.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_ceval.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c80af024f65c69d36c35205507c3b9fb9cf0a3bcd857a8ceb217375ab16a216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/vllm_wrapper.py:24-30 | recipes/inference/vllm/vllm_wrapper.py:24-30 \u2014 before extracting anything, compare \u0060examples/vllm_wrapper.py\u0060 and \u0060recipes/inference/vllm/vllm_wrapper.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/vllm_wrapper.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7997f6be4f891ffa06318d877ba3e2a14cd6a80ed98a8a3b4b205aab9e7b72bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO bfloat \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/hf_model.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8864755fcea5540439b67ba260bcb3072d1ad6f778785654e92327b83cec4e59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This parsing result is incorrect if the response contains multiple Actions. To be fixed in the future. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_plugin.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fda9e63ae2a1b5193e49966a7aa9bd3303d6eb1bf30d056c357c257e0bcafb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u589E\u52A0\u6D41\u5F0F\u8F93\u51FA\u7684\u6837\u4F8B\u5B9E\u73B0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/react_demo.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c2ebab14bbf2c026d0d149477302b5c4ed71cb36c3149875f8169a4cd166e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: The performance is okay with Chinese prompts, but not so good when it comes to English. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/function_call_examples.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e34c7c5c52d0990962881f57ac63560d26e184dd0b0ef11d663abcca6162a6"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The README begins with \u0027## GPTQ\u0027 rather than an overview of what the directory provides and its purpose. Add a one-line description stating that this directory implements quantized Qwen models for inference on Int4, Int8, and BF16."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recipes/inference/quantization/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b024ebee16ccfe31aa341a4d4af88a457d5f47af263a7f864f64d08f29fe7c7"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant entry points for loading HuggingFace models. \u0060llm.from_hf\u0060 appears to be a high-level wrapper that likely delegates to or is conceptually identical to \u0060hf_model.create\u0060, but with a different signature (missing prompt/role configuration). This creates confusion about which method to use for initialization.: Remove \u0060llm.from_hf\u0060 and standardize on \u0060hf_model.create\u0060 for all HF model loading, or remove \u0060hf_model.create\u0060 if \u0060llm.from_hf\u0060 is the intended public API, ensuring the signature includes all necessary configuration parameters. (signatures: llm.from_hf(model, tokenizer, dtype) | hf_model.create(model, tokenizer, pre_prompt, user_role, bot_role, history_sep, dtype))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0bfc94b9d1324d95aba613281d45cdf02dba40377e1740eada99fae125d228a1"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent naming and parameter handling for generation methods. \u0060response\u0060 and \u0060chat\u0060 perform similar generation tasks but differ in whether they require an explicit \u0060tokenizer\u0060 argument and how they handle prompt formatting. Similarly, \u0060stream_response\u0060 and \u0060stream_chat\u0060 duplicate this pattern. The distinction between \u0027response\u0027 and \u0027chat\u0027 is unclear (likely internal vs external prompt handling), creating a confusing API surface.: Unify into a single set of methods (e.g., \u0060generate\u0060 and \u0060stream_generate\u0060) that handle prompt formatting internally or require a consistent \u0060tokenizer\u0060 argument. Remove the redundant \u0060chat\u0060/\u0060stream_chat\u0060 variants if they only differ by internal prompt assembly logic. (signatures: model.response(query, history, ...) | model.chat(tokenizer, query, history, ...) | model.stream_response(query, history, ...) | model.stream_chat(tokenizer, query, history, ...))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44bd020a7d13bce6a79480020062f5697686e762744e95e64f34a2ccd25ee446"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate batch processing methods with inconsistent signatures. \u0060response_batch\u0060 and \u0060chat_batch\u0060 perform the same batched generation but differ in the presence of the \u0060tokenizer\u0060 argument, mirroring the inconsistency in the non-batched methods.: Remove \u0060chat_batch\u0060 and standardize on \u0060response_batch\u0060 (or vice versa) with a consistent signature regarding the \u0060tokenizer\u0060 argument. (signatures: model.response_batch(querys, historys, ...) | model.chat_batch(tokenizer, querys, historys, ...))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e6a0bed17bf11354ab249000bc89ebc6b9dccf8aa5f5e6394b95856fbfc704dd"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"e0f1a7ff5fd333a82772e0357b889e371ce37a92733de1b198e61ca787ddf206"},"taxa":[{"id":"CWE-95","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":"1345e5d543d8cf91fb84a203935868be5914a26a7327a9bc87f442d58cc3756e"},"taxa":[{"id":"CWE-95","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":"f508edf9f885a68d3cdcd6537f2773e331d87a7471bd6191904315d6aefbe398"},"taxa":[{"id":"CWE-95","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":"7fd080e26b97688cfc14ed6dd38e62105c0585bd6b8eaf3fa628e3a5508168d7"},"taxa":[{"id":"CWE-95","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":"de4f18d6ad698624b664049fdc01489bb0002aab5d442a8ac7104db0271db304"},"taxa":[{"id":"CWE-95","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":"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":"727362d73df04c2514402725281c41040ea1154a5a478dbb5e26dd571c544259"},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"3d8b333d82c39f933f560271476d583ffbae29a85aad708622e62e4d7c259a8e"},"properties":{"dependency":{"package":"transformers","version":"4.32.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-300","PYSEC-2023-301","PYSEC-2024-227","PYSEC-2024-228","PYSEC-2024-229","PYSEC-2025-211","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2025-40","PYSEC-2026-1977","PYSEC-2026-1978","PYSEC-2026-1980","PYSEC-2026-1981","PYSEC-2026-1982","PYSEC-2026-1983","PYSEC-2026-1984","PYSEC-2026-1985","PYSEC-2026-1986","PYSEC-2026-1987","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929"],"reachability":{"kind":"production","file":"dcu-support/qwen2flm.py","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b967f6f0bc945380be554d0d3ccba3dd350e9d786b30fe6ae44586689402bba8"},"properties":{"dependency":{"package":"urllib3","version":"1.26.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-192","PYSEC-2023-212","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1995","PYSEC-2026-1996","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9deb0b3e9568df1171bacf908174d514cb7e71041f1c1975b38340d1bde8fc0"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"228e4b3f5d28eee3df1c28eb5b19fc6f2577697226685b768959a0f328484aba"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"622923bf4ccc37d2ad13dd4f3ab801e1654c89159aac1c220132e1901afc0dec"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a853b77d72749db1d8e265ad6da05e0869a552ce2185076aa6c60046645d5da6"}},{"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":"456d2c3f511799653c765ed1632fec68481d07b1aa9db4d76a6f5dab8c714fd8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"be1c7daa6e7d9b23792fbba01c891c1837e39ae810ec4e9a43761ae749e5e8c1"}},{"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":"4f922ade00e1480db9bbc3fbf3b45b99a905f40b6c188e273d7867fc9c0f0f24"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4a9266531375f1317bd7d425c10b74a3a0826f74fd969c89e74986eda13a4d4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15a9e8b11ee912cdaee01898222357f88bdc31ee7473b8b6c06cc0a1e3e0bff2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec66af9adc33304ab65f0e311dd54c4fa5d1ee73d4bbc0f0182cb5040345dee0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18eefc7c3d2753c0cbd05a573711699323d0b4b049d8a0c9ee9eeda8ed6b084d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"36456e0870d72da9ae5d1f795308ea2c602f008b538d0ae2dd731831670023c9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f804d1a331c359d2c9582b66c5103140716fc42bc824158833459f179f5d8db9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8f81f65360a4851fe8e35134862b125b75598b2bc43d8a25cef3f7601be540c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e9e757031b2514c226a919f51ef575ccaef8f8c3558d72ecf70a81ba66b8eb3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"e4976050d1f8e5c9c44ce3c8f79c48f315e408de2347f1abf9e1aa539df176f1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"087562963bae6514c78ab7588f35d7aade69a9b02d2f22bed34e53911a2951ff"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfac701973b21233405bdb47c52d85fd7656e96bbd8a51351caab567ed43f6ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21523363fbd982495d8f6256de3a5329302c36c180007e05a6e2ff0f3b8d8910"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"255059231b0d4f38b1025e921d773f9e1269239eaea2ce0451646c6527c4809a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccc0cc717a360059224d480b2bc872b7f88a881960a07fa78798e15be3c752b9"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f40afdbe19c805ef9df9953d8663c413e33c2445595c3e5a4006ec8e51fbe26"},"taxa":[{"id":"CWE-754","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0451d2922dd52180b1f94361d0e809165176a94eadc6cc662604628f8cc278f9"},"taxa":[{"id":"CWE-754","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/llm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a561d51ed08fd343b5419cd265b4e7d7e6ee4dcf62fc966f8179470fd5b879c0"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai_api.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bd7f2f525680cfd7d9a24f556fc0ba14ccf8c31c6f8251a7ca2405398743c5"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 17 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: eval/evaluate_chat_ceval.py, eval/evaluate_ceval.py, finetune.py, eval/evaluate_cmmlu.py, eval/evaluate_plugin.py, recipes/inference/vllm/vllm_wrapper.py, eval/evaluate_mmlu.py, eval/evaluate_chat_mmlu.py (and 9 more) (19 orphaned of 19 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 19 of the 26 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_chat_ceval.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6148492a985e92ea5bbd8de2eb113d5a5ee8ce0308c07870ef9d6d17f6582d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_ceval.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce59ac7a0542324c109ae6d8af090160098cbe2ab06b1336b8712e767974f517"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"finetune.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a81a3f2512a1e489afc8e5364ce24f7b6eb1b335bae3cea75cff6027d41fb6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_cmmlu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eba68af6f5ef61367018552e445498406f3c3c0f1fda62f862910155e5389f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_plugin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee6bcdc4c7e29317e456c662a9b67a527a8d72f0d212acfbdba98b43496a0d9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recipes/inference/vllm/vllm_wrapper.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b5e5ad867ea3eaeec661bab991ddfcd44977c92b5a187a70886bd95e1d500f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_mmlu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"819dd8622dd97a37ecbe4a71918b540ce44a96ec5bdaa2daefa59dd529c1422a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_chat_mmlu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a6e55bbb944098524ff3d9bc4f7e345fc182bec80b360f19a8ed389d43aa70"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_chat_gsm8k.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08d2bbb8711f24a85e96a78508a4bcab751e271028d80139273bd2f5b18ca84"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/torch2flm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"312267e8235e9e37e625d8557ed5a6d2c71061fe8121729d8f09582551ec74d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli_demo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdd012677131ea2db055c13e3d83edb4d8484abf2c009b4135e2ce2185fcd6a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_demo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e906dc82d79e0e19eb3dd0c0e19229cad8cef02942e1f913f51d5368752f988f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/hf_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3205eb8fb8a24f6465eb3eaae7bc5832f32ec0b6caedd1a9276054dd0821f38b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"run_gptq.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bab575e7400dce2e343bf5349ebcc9c2f61985e4058a1bd785e9314a4dede99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_chat_humaneval.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb790b2cde51f112ec2195df187ffece4774499a6815875e6c02c49fe6b9946"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_gsm8k.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a5706da139c5b1af1aac5a9e462337a2c4742f24a80ce33b837596f10b1d25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_humaneval.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"373d599e81cf1d68b364c8011a63088915f13d19b4741c101f8321132e1d92a6"}},{"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":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"C2","level":"note","message":{"text":"Thin authorization enforcement: Only 1 place(s) refuse an unauthorized caller \u2014 too few to demonstrate default-deny across handlers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1240e406e864a89e38d5e3fa370dee11971db94808c3db2fda9b41bf2e5b8efb"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README.md runs \u0060docker rm -f qwen\u0060, but \u0060qwen\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README_CN.md names \u0060generation_config.json\u0060, but no file or folder \u0060generation_config.json\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README_CN.md"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88f9bf207d55d6e1274bf1c434fc1530482cf38496ee3409a4f97f3a065fe59"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README_CN.md runs \u0060docker rm -f qwen\u0060, but \u0060qwen\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README_CN.md"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa1039cd8bbeeb201bde55bf2ed067dba47b24226e8752372d5da36189db177"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README_ES.md runs \u0060docker rm -f qwen\u0060, but \u0060qwen\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README_ES.md"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"545dc8127089c59fa07fb799814a001571ce87ffb804e70b24ac75840dcad63e"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README_FR.md runs \u0060docker rm -f qwen\u0060, but \u0060qwen\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README_FR.md"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec86e3b22796f3b2275e40250fc3b35329e015769c51249aa576028ae3a6ae0e"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README_JA.md links to \u0060TODO\u0060, but \u0060TODO\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README_JA.md"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d3d97a16f51a0ac3874994817f7c09a5d25f9b6105732a07821bc8bfcf2925"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README_JA.md links to \u0060assets/system_prompt_\u0060, but \u0060assets/system_prompt_\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README_JA.md"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ef22791857cb118dda02c832c12705468ed9e6d0df36334a1347ec87fff8c0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: ascend-support/README.md documents the environment variable \u0060PYTHONPATH\u0060, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ascend-support/README.md"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7c71043b81f95b7e0c115a7fd22f7a8ee4347e03e0c2ffed5ac474358b846f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: recipes/finetune/ascend/README.md documents the environment variable \u0060MS_ASCEND_CHECK_OVERFLOW_MODE\u0060, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recipes/finetune/ascend/README.md"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"541bce963d23a9d37bcb993c44e4a61648bd6f6e91d0616eff6f962ad2356f51"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: recipes/finetune/ascend/README.md runs \u0060bash research/run_singlenode.sh \u0022python3 research/qwen/run_qwen.py \\\u0060, but \u0060research/run_singlenode.sh\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recipes/finetune/ascend/README.md"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"10112020bab189f04d4828d657b439faa7070b9a574b43d991efd4ff063510f9"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: recipes/finetune/ascend/README.md changes into \u0060output/checkpoint_network\u0060, but no such folder exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recipes/finetune/ascend/README.md"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abec7523de447a3f33939285b6ceb804cc8fe2ad4c76efdc6a94d0b0efc440b"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI gate on code changes: A workflow is configured, but the repository\u0027s only workflow is \u0060stale.yml\u0060, which neither runs on a code change (no \u0060push\u0060 or \u0060pull_request\u0060 trigger) nor checks the code out \u2014 so nothing here builds or tests a change before it merges. This is automation for the repository\u0027s ISSUES AND HOUSEKEEPING, not a gate on its code: a pull request can land without anything having compiled or run it. The rows about missing build and test steps are deliberately not reported beside this one, because there is no pipeline for them to be missing from \u2014 adding the gate is one action, not three."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b0ba1c8608b43ed04d2217aa2900d0f6ba895092c5773bfba19a542bfee5943e"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060dcu-support\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 808 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key in weight_type_dict and weight_type_dict[key] in fastllm_weight_type_dict\u0060 appears character-identically in 2 files \u2014 dcu-support/package/fastllm_pytools/hf_model.py, dcu-support/package/fastllm_pytools/torch2flm.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/hf_model.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a20a510b844954cb3a6e005948532d97aa79c04e0fa4b23027a6e671dfd38f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model.config.model_type == \u0022chatglm\u0022 and model.config.transformers_version == \u00224.30.2\u0022\u0060 appears character-identically in 2 files \u2014 dcu-support/package/fastllm_pytools/hf_model.py, dcu-support/package/fastllm_pytools/torch2flm.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/hf_model.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"427a9bbd99ce8a4c9c26990c9dc6e4efb9a69ebbd10ec5a1bc5539b2a15c3589"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelInfo[\u0022model_type\u0022] == \u0022baichuan\u0022 and hasattr(model, \u0022model\u0022) and hasattr(model.model, \u0022get_alibi_mask\u0022)\u0060 appears character-identically in 2 files \u2014 dcu-support/package/fastllm_pytools/hf_model.py, dcu-support/package/fastllm_pytools/torch2flm.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/hf_model.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed95011ae162af21308dbd41a8a2d2380f770d5d04af32e7077d58ec766d475"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not overwrite and os.path.exists(result_path)\u0060 appears character-identically in 2 files \u2014 eval/evaluate_chat_ceval.py, eval/evaluate_chat_mmlu.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_chat_ceval.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbde5a77b0d3fba38189858b4e8aff660c6ed1e00527d64b627331a3bc72c265"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dcu-support/package/fastllm_pytools/llm.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f24789cd2acacd6105362200115ce329681e1c4a8b64e50eebf00789a9175f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_plugin.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e84d5698cee1406c4d51dc700f78837c9c3d72c6fc2f19b574fceb8ec88f5e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/evaluate_gsm8k.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f089abdf6afeeacdab6a6db650f24213ea814b40938f786fd7be3432401e585"}}],"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-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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-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-754","guid":"d9239381-f467-405a-862b-02e65c819273","name":"Improper Check for Unusual or Exceptional Conditions","shortDescription":{"text":"Improper Check for Unusual or Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/754.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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-942","guid":"a5e9f9ae-e5c1-215b-b5ef-9b85aa6b4828","name":"Permissive Cross-domain Policy with Untrusted Domains","shortDescription":{"text":"Permissive Cross-domain Policy with Untrusted Domains"},"helpUri":"https://cwe.mitre.org/data/definitions/942.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.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":"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":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":33,"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."]}]}