{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"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":"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"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":"download_retinaface.download_and_convert (cyclomatic 44): download_retinaface.download_and_convert has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_retinaface.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fe69ad5591a47643a6894b33942d6fa91db9b7e50301e185281bfe9106dcf4"}},{"ruleId":"D1","level":"warning","message":{"text":"check_winml_setup.main (cyclomatic 25): check_winml_setup.main has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/check_winml_setup.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc3dda9d138c3bdc27cf3ea639128ca8341b1d778dd7e8e9e872a7aa68112ab"}},{"ruleId":"D1","level":"warning","message":{"text":"download_and_export.download_and_optimize_onnx (cyclomatic 22): download_and_export.download_and_optimize_onnx has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_and_export.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a645333967a028c5ba07a7162b9a9f319cf2fe1c426406baaa5a4b950dd272d"}},{"ruleId":"D1","level":"warning","message":{"text":"run_genai_llm.main (cyclomatic 20): run_genai_llm.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":"WinML/LLM/run_genai_llm.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e6c76c399cc60510a186ecd5a38b55fcd0ce1d349b32038c7e404e8a01716a"}},{"ruleId":"D1","level":"warning","message":{"text":"download_model.download_model (cyclomatic 19): download_model.download_model has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_model.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a93bfacb8248c82ec6877728ee0a37b82e2bc27c3fd6fdfe3f927fbce2781be"}},{"ruleId":"D2","level":"warning","message":{"text":"download_retinaface.download_and_convert (cognitive 104): download_retinaface.download_and_convert has cognitive complexity 104 (threshold 15). Drivers by points: if/else 23 (60 pts), loops 12 (25 pts), ternaries 5 (12 pts), error handling 3 (4 pts), boolean chains 3 (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_retinaface.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ade946f86b332a66e9fadffc9724edbd61914d2754977a953baa408e3cf96a6"}},{"ruleId":"D2","level":"warning","message":{"text":"run_genai_llm.main (cognitive 39): run_genai_llm.main has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (24 pts), error handling 4 (10 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/LLM/run_genai_llm.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"273702e98ca6a23003105271b640a8916048d1aff270ecc01ffc0fc9ba1bfc2d"}},{"ruleId":"D2","level":"warning","message":{"text":"check_winml_setup.main (cognitive 38): check_winml_setup.main has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (22 pts), ternaries 6 (9 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/check_winml_setup.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a12a4fc4a3b98f60ddbd3f09763258b711d79fe4877884b77e8ba9f836ba97d"}},{"ruleId":"D2","level":"warning","message":{"text":"download_model.download_model (cognitive 36): download_model.download_model has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (17 pts), error handling 8 (15 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_model.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8168573c523f7ac5d287ce0a4fb1e9cbe4905279c69697061b2cb7102381bd2b"}},{"ruleId":"D2","level":"warning","message":{"text":"download_and_export.download_and_optimize_onnx (cognitive 34): download_and_export.download_and_optimize_onnx has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 7 (11 pts), error handling 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_and_export.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2db2dde591a103e903110b4424a32c9d31f808f8438e797cfb40bfae2d7caf"}},{"ruleId":"D2","level":"warning","message":{"text":"check_winml_setup.list_windows_app_sdk_packages (cognitive 29): check_winml_setup.list_windows_app_sdk_packages has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 2 (10 pts), loops 1 (2 pts), error handling 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/check_winml_setup.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0e7140de4b75d58353fc5270716bf4194ee15cf416641595fe81ceea82d168"}},{"ruleId":"D2","level":"warning","message":{"text":"quantize_convnext.fix_topological_sort (cognitive 22): quantize_convnext.fix_topological_sort has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (9 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8211d2117a8d1bb58f8b4b30e5b3beb63421537f8692736a8446dce6c508188"}},{"ruleId":"D2","level":"warning","message":{"text":"quantize_yolov8.run_quantization (cognitive 21): quantize_yolov8.run_quantization has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ObjectDetection/model/quantize_yolov8.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e612cd003e1584816934d03b7a9981dfa3eb899dc3ad45529ac5019862253f2e"}},{"ruleId":"D2","level":"warning","message":{"text":"quantize_convnext.run_quantization (cognitive 20): quantize_convnext.run_quantization has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, error handling 1, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a99ad2894169bbf723ec1862e84efcf4efb83b6c0da1b53915f68ba138428c"}},{"ruleId":"D2","level":"warning","message":{"text":"quantize_retinaface.run_quantization (cognitive 20): quantize_retinaface.run_quantization has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, error handling 1, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/quantize_retinaface.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c6cf4c9fdefdaf006723f2987ecdfee57fe355705866577331513fac8e6ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"quantize_yolov8.main (cognitive 20): quantize_yolov8.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 2, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ObjectDetection/model/quantize_yolov8.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"711096b87730b42aaf72ca8904f710143e71d88deb31031018fcd5e4aac9f326"}},{"ruleId":"D2","level":"warning","message":{"text":"quantize_retinaface.main (cognitive 17): quantize_retinaface.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 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":"WinML/CNN/FaceDetection/model/quantize_retinaface.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8691ca5b05b60706524359a3e8489f96b30409c98b9d2abede76e959f0ca855f"}},{"ruleId":"D2","level":"warning","message":{"text":"run_model.postprocess_detections (cognitive 17): run_model.postprocess_detections has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ObjectDetection/python/run_model.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef50df4e8979db3b8d1eed992a4d2f0c70191cd20572d5403de82cbb6087bed"}},{"ruleId":"D2","level":"warning","message":{"text":"run_genai_llm.interactive_mode (cognitive 17): run_genai_llm.interactive_mode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 3 (6 pts), error handling 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/LLM/run_genai_llm.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fcd39023b5eff1ff4375171379c0cfa7f810e08bbe8147313d4f0484c2d858"}},{"ruleId":"D2","level":"warning","message":{"text":"quantize_convnext.main (cognitive 16): quantize_convnext.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca60e2420f2dbe529e8ecd0307d40ad5bd7a7c98afc354071dfa182a1966186"}},{"ruleId":"D2","level":"warning","message":{"text":"download_calib_data.download_wider_face_val (cognitive 16): download_calib_data.download_wider_face_val has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2, boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_calib_data.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba39d2cb70f7524e7b8ab6054e812c15c2aa32bd1259d15901ce67b3d87e645f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 64 shared lines): WinML/CNN/ConvNeXt/model/quantize_convnext.py:239-315 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:236-348 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:246-355 | WinML/CNN/ResNet/model/quantize_resnet.py:255-353 \u2014 These 4 members are variants of one another: a block of 64 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aafb8942d628418539430163af1dafd8bd896ff5ccb3fc57c66e4eb00676b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): WinML/CNN/ConvNeXt/winml_worker.py:7-38 | WinML/CNN/FaceDetection/python/winml_worker.py:7-38 | WinML/CNN/ImageSegmentation/python/winml_worker.py:7-34 | WinML/CNN/ObjectDetection/python/winml_worker.py:7-38 | WinML/CNN/ResNet/python/winml_worker.py:7-39 | WinML/LLM/winml.py:7-37 | WinML/Transformers/GoogleBert/winml.py:5-35 | WinML/Transformers/clip-vit-base-patch16/winml.py:5-35 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/winml_worker.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"80292a019cea4e20e65575c99519dd90931ac629264b3ef83d72ac79e1ca0a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): WinML/CNN/ConvNeXt/model/quantize_convnext.py:26-53 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:27-54 | WinML/CNN/ImageSegmentation/model/quantize_deeplabv3.py:29-53 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:27-54 | WinML/CNN/ResNet/model/quantize_resnet.py:26-53 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a2ad3a38a8a3c855ad0160126d8918fe49ea88bb0b541fa49c2b89616e6aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): WinML/CNN/ConvNeXt/model/quantize_convnext.py:104-201 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:70-194 | WinML/CNN/ImageSegmentation/model/quantize_deeplabv3.py:61-149 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:76-196 | WinML/CNN/ResNet/model/quantize_resnet.py:57-167 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"301c5ef7c87c5f2e37a60b3678b57c9d9060da28e393a446a27a9da10033cca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): WinML/CNN/ConvNeXt/model/user_script_convnext.py:29-46 | WinML/CNN/FaceDetection/model/user_script_retinaface.py:31-59 | WinML/CNN/ImageSegmentation/model/user_script_deeplabv3.py:32-46 | WinML/CNN/ObjectDetection/model/user_script_yolov8.py:31-59 | WinML/CNN/ResNet/model/user_script_resnet.py:31-58 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/user_script_convnext.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa1653995c04c502e6a6aa4de0f275d8241abe53b1c6c760460c3b845a22455"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): WinML/CNN/ConvNeXt/model/user_script_convnext.py:52-65 | WinML/CNN/ConvNeXt/run_model.py:75-83 | WinML/CNN/ImageSegmentation/python/run_model.py:106-133 | WinML/CNN/ResNet/model/user_script_resnet.py:64-84 | WinML/CNN/ResNet/python/run_model.py:75-83 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/user_script_convnext.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b781d12011529c29a98ce0dfabef47c7a0b844c9a6ef11b3fc94ca6272cdd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): WinML/CNN/ConvNeXt/model/quantize_convnext.py:205-235 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:198-232 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:200-242 | WinML/CNN/ResNet/model/quantize_resnet.py:221-251 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f3f0f0bcb6da8007a47ae93c6de4c2a67fe5b02c0bb9d74f2720bb9bcae020"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): WinML/CNN/ConvNeXt/model/setup_calib_data.py:36-89 | WinML/CNN/FaceDetection/model/download_calib_data.py:20-111 | WinML/CNN/ObjectDetection/model/download_calib_data.py:20-121 | WinML/CNN/ResNet/model/setup_calib_data.py:36-93 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/setup_calib_data.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ef8a14142049da552acd7338374f34f219f381f06b67dca2c12777998907f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): WinML/CNN/FaceDetection/python/run_model.py:190-245 | WinML/CNN/ObjectDetection/python/run_model.py:225-281 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/python/run_model.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4447e2960cfee83a7e4e876319ad0c1b9e1b71066f8633acd3c014fc4777fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): WinML/CNN/FaceDetection/model/user_script_retinaface.py:66-95 | WinML/CNN/FaceDetection/python/run_model.py:43-64 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/user_script_retinaface.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d9fc926c8758cd79dc76fd0fe2815296f3caa7bc6eaaaa9a7598ee8b535ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): WinML/CNN/ObjectDetection/model/user_script_yolov8.py:124-155 | WinML/CNN/ObjectDetection/python/run_model.py:57-85 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ObjectDetection/model/user_script_yolov8.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a62bbf8eb1780683a2d470e3f89377492f1e0a82af6996e1c59ca618f32f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): WinML/CNN/FaceDetection/model/download_and_export.py:251-279 | WinML/CNN/FaceDetection/model/download_retinaface.py:284-309 | WinML/CNN/ObjectDetection/model/download_yolov8.py:133-162 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_and_export.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dc11f62fb2b543271277da1c168975d78b4b9b7f631ae4b18bb12b3c438bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): WinML/CNN/ConvNeXt/model/setup_calib_data.py:29-32 | WinML/CNN/ResNet/model/setup_calib_data.py:29-32 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/setup_calib_data.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef85f09c90397d162dfdfec32ca917167ddad1fe31520607b6b322a08ff2789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74\u201382 lines \u00D7 2): WinML/CNN/ConvNeXt/model/setup_calib_data.py:131-204 | WinML/CNN/ResNet/model/setup_calib_data.py:139-220 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/setup_calib_data.py\u0060 and \u0060WinML/CNN/ResNet/model/setup_calib_data.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/setup_calib_data.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9695697820c87f7892e0ff156e1b00bee2bec263ac5765329c03558e537c4e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201355 lines \u00D7 2): WinML/CNN/ConvNeXt/model/quantize_convnext.py:263-305 | WinML/CNN/ResNet/model/quantize_resnet.py:289-343 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/ResNet/model/quantize_resnet.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py:263\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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe091235b7f13167faa052f6d49c10a6aa596cbfc542472b5d3ed743c0e5bd53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201352 lines \u00D7 4): WinML/CNN/ConvNeXt/model/quantize_convnext.py:239-270 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:236-287 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:246-297 | WinML/CNN/ResNet/model/quantize_resnet.py:255-306 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 206 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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"361c21662b6813e4eb32a17dae4997bd1eeb1e7e4509ef13e3c82c53192c178b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201347 lines \u00D7 2): WinML/CNN/ConvNeXt/model/quantize_convnext.py:57-100 | WinML/CNN/ResNet/model/quantize_resnet.py:171-217 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/ResNet/model/quantize_resnet.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 340 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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c116900f026358c07153148aaccaba38f54a66d42fde74462e3be9ad9cc45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201358 lines \u00D7 2): WinML/CNN/ConvNeXt/model/setup_calib_data.py:36-89 | WinML/CNN/ResNet/model/setup_calib_data.py:36-93 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/setup_calib_data.py\u0060 and \u0060WinML/CNN/ResNet/model/setup_calib_data.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 185 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":"WinML/CNN/ConvNeXt/model/setup_calib_data.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25481437f5ffde21011de90ee4870719a289506b5e4064fc3a9f9ed555d1aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): WinML/CNN/ConvNeXt/run_model.py:15-54 | WinML/CNN/ResNet/python/run_model.py:15-54 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/run_model.py\u0060 and \u0060WinML/CNN/ResNet/python/run_model.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/run_model.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda0010348ca845c1c8e0b339391e43f9b0cfc9006ed3c99444305c38a3c3331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201339 lines \u00D7 2): WinML/CNN/ConvNeXt/model/setup_calib_data.py:93-127 | WinML/CNN/ResNet/model/setup_calib_data.py:97-135 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/setup_calib_data.py\u0060 and \u0060WinML/CNN/ResNet/model/setup_calib_data.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/setup_calib_data.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"812805d99c3b19d7d2d7fad845217f4d77ee0d7fb841a230f9c2e32a7e41d4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): WinML/CNN/FaceDetection/model/quantize_retinaface.py:302-338 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:309-345 \u2014 before extracting anything, compare \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 and \u0060WinML/CNN/ObjectDetection/model/quantize_yolov8.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/quantize_retinaface.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe807e8e6f1b4ed3a7e04236688bb7e5ee4a81f2628d057e58464353bb1ee9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): WinML/CNN/FaceDetection/python/run_model.py:200-232 | WinML/CNN/ObjectDetection/python/run_model.py:235-268 \u2014 before extracting anything, compare \u0060WinML/CNN/FaceDetection/python/run_model.py\u0060 and \u0060WinML/CNN/ObjectDetection/python/run_model.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 125 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":"WinML/CNN/FaceDetection/python/run_model.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cd6ede736d992f4f669e519ce0625d626ae70e805276250553e510b209050b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 2): WinML/LLM/run_genai_llm.py:32-64 | WinML/LLM/run_genai_llm.py:107-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/LLM/run_genai_llm.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1e73ade17155e6df34c6422c762e9faa28ba9689bdf1baaf130fb241772785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): WinML/CNN/ConvNeXt/model/quantize_convnext.py:171-201 | WinML/CNN/ResNet/model/quantize_resnet.py:136-167 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/ResNet/model/quantize_resnet.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de91dc236907ab6d64b242f09cb1cac0eff6f564d02db1c979628c68c76999d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): WinML/Transformers/GoogleBert/run_google_bert.py:58-89 | WinML/Transformers/clip-vit-base-patch16/run_clip.py:91-122 \u2014 before extracting anything, compare \u0060WinML/Transformers/GoogleBert/run_google_bert.py\u0060 and \u0060WinML/Transformers/clip-vit-base-patch16/run_clip.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WinML/Transformers/GoogleBert/run_google_bert.py:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/Transformers/GoogleBert/run_google_bert.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d92e18292b967bbc92b8df37ca88295bb184977d21a44d7cc3b1a68dd36b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201330 lines \u00D7 3): WinML/CNN/FaceDetection/model/quantize_retinaface.py:137-166 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:139-167 | WinML/CNN/ResNet/model/quantize_resnet.py:117-140 \u2014 before extracting anything, compare \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 and \u0060WinML/CNN/ObjectDetection/model/quantize_yolov8.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 299 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":"WinML/CNN/FaceDetection/model/quantize_retinaface.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee3388dae4279e265de49895fea525a7f455f65a8e9770d46c248c807eb80b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 5): WinML/CNN/ConvNeXt/model/quantize_convnext.py:27-53 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:28-54 | WinML/CNN/ImageSegmentation/model/quantize_deeplabv3.py:29-53 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:28-54 | WinML/CNN/ResNet/model/quantize_resnet.py:27-53 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32bcd738b91253c0bae652a52a2f2d16b8e6ca571d76d2deafc3d45170c7a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201327 lines \u00D7 4): WinML/CNN/ConvNeXt/model/quantize_convnext.py:133-151 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:105-131 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:112-134 | WinML/CNN/ResNet/model/quantize_resnet.py:90-112 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 206 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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d688571a4fac51ed224937eee92b1ca3571d0c38f763e97fc717da3c517d603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201324 lines \u00D7 3): WinML/CNN/FaceDetection/python/run_model.py:190-208 | WinML/CNN/ImageSegmentation/python/run_model.py:226-249 | WinML/CNN/ObjectDetection/python/run_model.py:225-243 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WinML/CNN/ImageSegmentation/python/run_model.py:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/python/run_model.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9ef1d19daded6b1971e16ebbf4a0d54a4e87d136c74e420b9a305edca3cf64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 4): WinML/CNN/ConvNeXt/model/quantize_convnext.py:214-234 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:210-231 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:217-239 | WinML/CNN/ResNet/model/quantize_resnet.py:230-250 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d758b5936a739715629c47ac1b92da7045a028bf331d52d155f96152adf0e66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): WinML/CNN/FaceDetection/model/quantize_retinaface.py:70-90 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:76-96 | WinML/CNN/ResNet/model/quantize_resnet.py:57-77 \u2014 before extracting anything, compare \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 and \u0060WinML/CNN/ObjectDetection/model/quantize_yolov8.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 299 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":"WinML/CNN/FaceDetection/model/quantize_retinaface.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9a54e40b30bb40d6b147a8f65af23d49106ae20fa6b49b131bb382df8a7cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): WinML/CNN/FaceDetection/model/quantize_retinaface.py:174-194 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:176-196 \u2014 before extracting anything, compare \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 and \u0060WinML/CNN/ObjectDetection/model/quantize_yolov8.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060WinML/CNN/ObjectDetection/model/quantize_yolov8.py:175\u0060 calls \u0060exists\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py:171\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/quantize_retinaface.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d690f2cf6b9559a6ea6d32383723c106af6f10084e14642e19597f8476b28d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): WinML/CNN/FaceDetection/model/user_script_retinaface.py:132-151 | WinML/CNN/ObjectDetection/model/user_script_yolov8.py:124-143 \u2014 before extracting anything, compare \u0060WinML/CNN/FaceDetection/model/user_script_retinaface.py\u0060 and \u0060WinML/CNN/ObjectDetection/model/user_script_yolov8.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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":"WinML/CNN/FaceDetection/model/user_script_retinaface.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc68a4fed602a060fc827455c2e991a3fc51db29478e82e01c3a11cbeb66a886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): WinML/Transformers/GoogleBert/run_google_bert.py:31-47 | WinML/Transformers/clip-vit-base-patch16/run_clip.py:39-58 \u2014 before extracting anything, compare \u0060WinML/Transformers/GoogleBert/run_google_bert.py\u0060 and \u0060WinML/Transformers/clip-vit-base-patch16/run_clip.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 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":"WinML/Transformers/GoogleBert/run_google_bert.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b3ad0c5ba7cb3efeb4f45705d963e74877f9fa3a7109d22abddbf61145781a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): CNN-examples/object_detection/yolov8m/run_inference.py:39-53 | WinML/CNN/ObjectDetection/python/run_model.py:110-128 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/object_detection/yolov8m/run_inference.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c4825e4ca5929192e1c8fd831e44c712c0de1a4ac345584b097dd1f1df0d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 7): WinML/CNN/ConvNeXt/winml_worker.py:7-23 | WinML/CNN/FaceDetection/python/winml_worker.py:7-23 | WinML/CNN/ImageSegmentation/python/winml_worker.py:7-22 | WinML/CNN/ObjectDetection/python/winml_worker.py:7-23 | WinML/LLM/winml.py:7-22 | WinML/Transformers/GoogleBert/winml.py:5-20 | WinML/Transformers/clip-vit-base-patch16/winml.py:5-20 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/winml_worker.py\u0060 and \u0060WinML/CNN/FaceDetection/python/winml_worker.py\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"WinML/CNN/ConvNeXt/winml_worker.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d2742eadea46225f2f56055164c10ad273f04066b7d8124387c1c292f21d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): WinML/CNN/ConvNeXt/model/quantize_convnext.py:300-315 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:332-348 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:339-355 | WinML/CNN/ResNet/model/quantize_resnet.py:338-353 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7876dfe7b6b7cc5d9f6245d0031e127514ad3d48e90e55f780bec1579492035f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): WinML/CNN/FaceDetection/python/run_model.py:225-241 | WinML/CNN/ImageSegmentation/python/run_model.py:278-294 | WinML/CNN/ObjectDetection/python/run_model.py:261-277 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/python/run_model.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a87f540a9f5ad395894fb90727dd81a56dc4715b308071cff36f01ffc60626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): WinML/CNN/ConvNeXt/model/quantize_convnext.py:278-293 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:306-321 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:313-328 | WinML/CNN/ResNet/model/quantize_resnet.py:314-329 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py:278\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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab55453f6baa1c8a1a5939dd5fd461431a3684a95e68ac058ee69e8e0ea8712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 3): WinML/CNN/ConvNeXt/model/quantize_convnext.py:170-181 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:159-174 | WinML/CNN/ResNet/model/quantize_resnet.py:135-146 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 206 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 after the matched lines, \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py:184\u0060 calls \u0060fix_topological_sort\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py:176\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"814853745851777c6fb350a0f7dfcaba02d382ac14db3a148c9d1c5cc0f5bd61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): WinML/CNN/FaceDetection/model/user_script_retinaface.py:31-47 | WinML/CNN/ObjectDetection/model/user_script_yolov8.py:31-47 | WinML/CNN/ResNet/model/user_script_resnet.py:31-46 \u2014 before extracting anything, compare \u0060WinML/CNN/FaceDetection/model/user_script_retinaface.py\u0060 and \u0060WinML/CNN/ObjectDetection/model/user_script_yolov8.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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":"WinML/CNN/FaceDetection/model/user_script_retinaface.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6371b6cc70637a11b586eb7ff50ce63b581736e8f805945d40088348f1a888"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): WinML/CNN/ConvNeXt/model/quantize_convnext.py:160-175 | WinML/CNN/ImageSegmentation/model/quantize_deeplabv3.py:112-127 \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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fed86a561a16d4d14c66b95daeedf872b9e00f05e54f39c94ad8e19d9d3156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): WinML/CNN/FaceDetection/python/run_model.py:249-267 | WinML/CNN/ObjectDetection/python/run_model.py:285-303 \u2014 before extracting anything, compare \u0060WinML/CNN/FaceDetection/python/run_model.py\u0060 and \u0060WinML/CNN/ObjectDetection/python/run_model.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 125 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":"WinML/CNN/FaceDetection/python/run_model.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ebb0377cc7d952d5b0c265c639a2918ee1e044cd3a43c85f849662a48a6399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): WinML/CNN/FaceDetection/model/download_calib_data.py:20-34 | WinML/CNN/ObjectDetection/model/download_calib_data.py:20-34 \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":"WinML/CNN/FaceDetection/model/download_calib_data.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"53caba06dad3061ed86f403af8069e895d94d31eae3a868706a055a40b757c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 8): WinML/CNN/ConvNeXt/winml_worker.py:15-38 | WinML/CNN/FaceDetection/python/winml_worker.py:15-38 | WinML/CNN/ImageSegmentation/python/winml_worker.py:15-34 | WinML/CNN/ObjectDetection/python/winml_worker.py:15-38 | WinML/CNN/ResNet/python/winml_worker.py:16-39 | WinML/LLM/winml.py:15-37 | WinML/Transformers/GoogleBert/winml.py:13-35 | WinML/Transformers/clip-vit-base-patch16/winml.py:13-35 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/winml_worker.py\u0060 and \u0060WinML/CNN/FaceDetection/python/winml_worker.py\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"WinML/CNN/ConvNeXt/winml_worker.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"516ad295fb4f8d20ee93a47f6b7a3244a470aae693de0e0479822280c278ae7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 5): WinML/CNN/ConvNeXt/model/quantize_convnext.py:167-176 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:154-167 | WinML/CNN/ImageSegmentation/model/quantize_deeplabv3.py:119-128 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:155-168 | WinML/CNN/ResNet/model/quantize_resnet.py:131-141 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 206 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 after the matched lines, \u0060WinML/CNN/ObjectDetection/model/quantize_yolov8.py:175\u0060 calls \u0060exists\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py:174\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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65391454b0c75adc9792fb88224f5cdf047a2b48d704758f5e4bf02696a1ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): WinML/CNN/ConvNeXt/model/quantize_convnext.py:115-127 | WinML/CNN/FaceDetection/model/quantize_retinaface.py:83-96 | WinML/CNN/ObjectDetection/model/quantize_yolov8.py:89-102 | WinML/CNN/ResNet/model/quantize_resnet.py:70-83 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/quantize_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/quantize_retinaface.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 206 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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cddef91b46b784451913f39b07320124a34cb49e57d15c5f0f97344643b7466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): WinML/CNN/FaceDetection/python/run_model.py:28-39 | WinML/CNN/ImageSegmentation/python/run_model.py:87-99 | WinML/CNN/ObjectDetection/python/run_model.py:42-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/python/run_model.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a41d6ebe97726bd7f1061b528564e7c40fd8269b8a38a66e83cfb3b1ab110b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): WinML/CNN/ConvNeXt/model/user_script_convnext.py:37-46 | WinML/CNN/FaceDetection/model/user_script_retinaface.py:48-59 | WinML/CNN/ObjectDetection/model/user_script_yolov8.py:48-59 | WinML/CNN/ResNet/model/user_script_resnet.py:47-58 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/user_script_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/user_script_retinaface.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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":"WinML/CNN/ConvNeXt/model/user_script_convnext.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c1a59bfecb5eeaa646c9787f967c85b4066fba69933f81a0472a9f5fbdb7b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): WinML/CNN/FaceDetection/model/user_script_retinaface.py:80-90 | WinML/CNN/FaceDetection/model/user_script_retinaface.py:151-162 | WinML/CNN/FaceDetection/python/run_model.py:51-62 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/user_script_retinaface.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae0d5647ef167b7a4ad897625ae16e7e5d92bb72f6f072482ddbf417efaf3a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): WinML/CNN/ConvNeXt/run_model.py:59-70 | WinML/CNN/ResNet/python/run_model.py:59-70 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/run_model.py\u0060 and \u0060WinML/CNN/ResNet/python/run_model.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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":"WinML/CNN/ConvNeXt/run_model.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7a2dddc7eeaf997eaacd55a207bf91dcc433b5668e54e5d658d9c367bf76fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): WinML/CNN/ConvNeXt/run_model.py:86-97 | WinML/CNN/ResNet/python/run_model.py:86-97 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/run_model.py\u0060 and \u0060WinML/CNN/ResNet/python/run_model.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/run_model.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a412dcc675306f617a2e7cd3aec84dd8d28e787bbb77e8b081a39e0ad1dfcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): WinML/CNN/ConvNeXt/run_model.py:101-113 | WinML/CNN/ResNet/python/run_model.py:101-113 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/run_model.py\u0060 and \u0060WinML/CNN/ResNet/python/run_model.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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":"WinML/CNN/ConvNeXt/run_model.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"562194258cbdd09189088dd632d0f8bd0d6c9e498d5bdae7f3c0ba77c315d416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): WinML/CNN/ConvNeXt/model/user_script_convnext.py:29-37 | WinML/CNN/FaceDetection/model/user_script_retinaface.py:39-48 | WinML/CNN/ImageSegmentation/model/user_script_deeplabv3.py:32-41 | WinML/CNN/ObjectDetection/model/user_script_yolov8.py:39-48 | WinML/CNN/ResNet/model/user_script_resnet.py:38-47 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/user_script_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/user_script_retinaface.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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":"WinML/CNN/ConvNeXt/model/user_script_convnext.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5075b8568ea535c005b50c891d0042b4083600501badfb6384ded548115b5269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): WinML/CNN/FaceDetection/python/run_model.py:256-264 | WinML/CNN/ImageSegmentation/python/run_model.py:345-354 | WinML/CNN/ObjectDetection/python/run_model.py:292-300 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WinML/CNN/ImageSegmentation/python/run_model.py:345\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":"WinML/CNN/FaceDetection/python/run_model.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b24053d6fc3c5ae8ec83756c4e5a93df275d7db8adcbbc5c68dda20b7141d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): WinML/Transformers/GoogleBert/run_google_bert.py:12-21 | WinML/Transformers/clip-vit-base-patch16/run_clip.py:16-25 \u2014 before extracting anything, compare \u0060WinML/Transformers/GoogleBert/run_google_bert.py\u0060 and \u0060WinML/Transformers/clip-vit-base-patch16/run_clip.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/Transformers/GoogleBert/run_google_bert.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2338e297db91d0766d3082f1d783e6378b68f8f558509b95abb02eeebe72c9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): WinML/CNN/FaceDetection/python/run_model.py:177-184 | WinML/CNN/ObjectDetection/python/run_model.py:198-205 \u2014 before extracting anything, compare \u0060WinML/CNN/FaceDetection/python/run_model.py\u0060 and \u0060WinML/CNN/ObjectDetection/python/run_model.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 125 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":"WinML/CNN/FaceDetection/python/run_model.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2686eac254b4ff47a19378b3e7a956c80791e5b1c0af6064778584d7dee2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): WinML/CNN/FaceDetection/model/download_retinaface.py:101-107 | WinML/CNN/FaceDetection/model/download_retinaface.py:245-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_retinaface.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f9d4fe7315efe8159f9f3e729cebd43f24c86682205b53a3d6d94b9d0bc74e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): WinML/CNN/ConvNeXt/model/setup_calib_data.py:45-50 | WinML/CNN/ObjectDetection/model/download_calib_data.py:65-70 | WinML/CNN/ResNet/model/setup_calib_data.py:48-53 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/setup_calib_data.py\u0060 and \u0060WinML/CNN/ResNet/model/setup_calib_data.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 185 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":"WinML/CNN/ConvNeXt/model/setup_calib_data.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d63c60f98dba556857b240faa97682ddc82d62f05c06027c8b7ecaeffbad84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 5): WinML/CNN/ConvNeXt/model/user_script_convnext.py:60-65 | WinML/CNN/ConvNeXt/run_model.py:78-80 | WinML/CNN/ImageSegmentation/python/run_model.py:126-128 | WinML/CNN/ResNet/model/user_script_resnet.py:78-84 | WinML/CNN/ResNet/python/run_model.py:78-80 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/user_script_convnext.py\u0060 and \u0060WinML/CNN/ResNet/model/user_script_resnet.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060WinML/CNN/ConvNeXt/model/user_script_convnext.py:59\u0060 calls \u0060array\u0060 and \u0060WinML/CNN/ConvNeXt/run_model.py:77\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ConvNeXt/model/user_script_convnext.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14f0426cfd6ab037fce22a4570eb38a97e9dd9187c3e67eea8296f11e3b9513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 4): WinML/CNN/ConvNeXt/model/user_script_convnext.py:52-56 | WinML/CNN/ConvNeXt/run_model.py:75-77 | WinML/CNN/ResNet/model/user_script_resnet.py:70-74 | WinML/CNN/ResNet/python/run_model.py:75-77 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/user_script_convnext.py\u0060 and \u0060WinML/CNN/ResNet/model/user_script_resnet.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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, \u0060WinML/CNN/ResNet/model/user_script_resnet.py:68\u0060 calls \u0060tensor\u0060 and \u0060WinML/CNN/ConvNeXt/model/user_script_convnext.py:51\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":"WinML/CNN/ConvNeXt/model/user_script_convnext.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bed3583a29f03eb75fbf6f98d0337c0efdf93b0460f4931b417f134c52b0bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): WinML/CNN/FaceDetection/model/download_and_export.py:46-48 | WinML/CNN/FaceDetection/model/download_and_export.py:119-123 | WinML/CNN/FaceDetection/model/download_retinaface.py:75-81 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060WinML/CNN/FaceDetection/model/download_and_export.py:118\u0060 calls \u0060urlopen\u0060, \u0060open\u0060, \u0060write\u0060 and \u0060WinML/CNN/FaceDetection/model/download_and_export.py:46\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/FaceDetection/model/download_and_export.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"230b4e68ab4ecb20e093b1c2f3836b5b3258c1262201914eac3285720b1c3674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WinML/CNN/FaceDetection/model/download_calib_data.py:61-66 | WinML/CNN/ObjectDetection/model/download_calib_data.py:68-73 \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":"WinML/CNN/FaceDetection/model/download_calib_data.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c158da67af14f61fef67218ddba6ae72187e66c70c9b54e22be8ecbe7e77fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): WinML/CNN/ConvNeXt/model/user_script_convnext.py:70-77 | WinML/CNN/FaceDetection/model/user_script_retinaface.py:100-112 | WinML/CNN/ImageSegmentation/model/user_script_deeplabv3.py:63-69 | WinML/CNN/ObjectDetection/model/user_script_yolov8.py:95-107 | WinML/CNN/ResNet/model/user_script_resnet.py:89-101 \u2014 before extracting anything, compare \u0060WinML/CNN/ConvNeXt/model/user_script_convnext.py\u0060 and \u0060WinML/CNN/FaceDetection/model/user_script_retinaface.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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":"WinML/CNN/ConvNeXt/model/user_script_convnext.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1984b4f39f7e8c8ad9bc2146e7346baa9f4cd69cbee6ead64185f0bc844a01a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (75 shared lines): Demos/ASR/Parakeet-TDT/convert_static.py:173-282 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:361-464 \u2014 These two members are variants of one another: 75 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b4e4a0545942ca966502e81c503cdab321d1a8f3cc190ccd85a92882292bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (32 shared lines): Demos/ASR/Whisper/run_whisper.py:132-182 | Transformer-examples/ASR/Whisper-AI/run_whisper.py:96-145 \u2014 These two members are variants of one another: 32 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"355147ea152fdd52a495e4aa3a15b44b20b698507f63a43269a5ef7df6348774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): CNN-examples/object_detection/yolov8m/utils.py:329-363 | CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:280-313 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ee686f4104e29079dfb16f3248be4b3c80e000e4a5b0134c2acc8d60529622"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Demos/ASR/Parakeet-TDT/convert_static.py:21-53 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:35-61 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee1a00e5967b3193b344718937f382788eeafb26aefb6838c0626f478eb923e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): CNN-examples/getting_started_resnet/bf16/resnet_utils.py:28-38 | CNN-examples/getting_started_resnet/int8/resnet_utils.py:28-38 | CNN-examples/object_detection/yolov8m/utils.py:17-27 | CNN-examples/object_detection/yolov8m/utils.py:49-59 | CNN-examples/quark_quantization/utils.py:14-24 | CNN-examples/quark_quantization/utils.py:59-69 | Demos/NPU-GPU-Pipeline/npu_gpu_utils.py:8-18 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/getting_started_resnet/bf16/resnet_utils.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed6b6d8d1f381e2bcd1b2a1b8fde03fb9e5cf7a46d44e57c57f1eb21c2e0d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): CNN-examples/Nemotron-OCR-V2/export_onnx.py:447-519 | CNN-examples/Nemotron-OCR-V2/export_onnx.py:524-599 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/Nemotron-OCR-V2/export_onnx.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3617ac2f6119f3ea5b8a8d58080277e218b659defcbfb31dbef3aa8e308303"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): Demos/ASR/Parakeet-TDT/convert_static.py:57-126 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:257-320 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3698336b9be6fa7d24b4df60e8017cc7309596c2bc5b8728ea8fc9ed722880a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): CNN-examples/image_classification/utils.py:37-101 | CNN-examples/quark_quantization/utils.py:73-142 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/image_classification/utils.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"38381eb8988fc3dc116da9c4d4cd06d0d8e61fe571c28908bba1fc31bd32be3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): LLM-examples/VLM/vlm_benchmark.py:109-152 | LLM-examples/VLM/vlm_run.py:47-81 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"152157fcc3b5c88085d379a73b588234c9dc8c6e04913aa1b1022ff6d16b1b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): LLM-examples/VLM/vlm_benchmark.py:591-662 | LLM-examples/VLM/vlm_run.py:161-222 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"553c336736fd38e8c31892cd07f353df5e8054974394c8f22807e7bf4aaba29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): LLM-examples/llm-sft-deploy/inference.py:39-77 | LLM-examples/llm-sft-deploy/inference_oga.py:39-90 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"LLM-examples/llm-sft-deploy/inference.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c06a4de74db0733fd6d52582e71785114ac05b765c1e600614f18b4f2f6993"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Demos/NPU-GPU-Pipeline/utils_img2img.py:731-744 | Demos/NPU-GPU-Pipeline/utils_img2img.py:749-754 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/NPU-GPU-Pipeline/utils_img2img.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71e9695077c5728b82bd897057510498f09193c3d1b728d9352568869e9e0c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Transformer-examples/DistilBERT_text_classification_bf16/quantize_to_bf16.py:10-29 | Transformer-examples/gte-large-en-v1.5-bf16/quark_quantize.py:10-26 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Transformer-examples/DistilBERT_text_classification_bf16/quantize_to_bf16.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ed0f5052d5b42933a852b9cc3accf0d69b414824decad70f0a57adfac94a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Demos/NPU-GPU-Pipeline/utils_img2img.py:1228-1237 | Demos/NPU-GPU-Pipeline/utils_img2img.py:1240-1249 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/NPU-GPU-Pipeline/utils_img2img.py"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"61072c9c7f6a4a8ff106c643134ebf9d110f27db557ac824a839dbec65961551"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Demos/NPU-GPU-Pipeline/utils_img2img.py:1339-1347 | Demos/NPU-GPU-Pipeline/utils_img2img.py:1350-1358 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/NPU-GPU-Pipeline/utils_img2img.py"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a430dc6d5bfc13ae5bb5f311727c2fef998f499e184399f149b41475d923540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): CNN-examples/getting_started_resnet/bf16/prepare_model_data.py:44-47 | CNN-examples/getting_started_resnet/int8/prepare_model_data.py:44-47 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/getting_started_resnet/bf16/prepare_model_data.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afecba9ac8f7425f76b59e9c570c14013d2c945c229c347ef603499dd0c55d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): CNN-examples/object_detection/yolov8m/quantize_quark.py:92-94 | CNN-examples/quark_quantization/utils.py:263-268 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/object_detection/yolov8m/quantize_quark.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35520e4e25e266e915a2d0f40922d639ecdd18dcde2efd2f188044e591795dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): CNN-examples/object_detection/yolov8m/utils.py:240-293 | CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:193-246 \u2014 before extracting anything, compare \u0060CNN-examples/object_detection/yolov8m/utils.py\u0060 and \u0060CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 220 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CNN-examples/object_detection/yolov8m/utils.py:298\u0060 calls \u0060sorted\u0060 and \u0060CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:250\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeb08c10c5836f9face56eb8baee8ae06c0e4ff25825ad368dd93c3ccd6746d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): CNN-examples/getting_started_resnet/bf16/prepare_model_data.py:58-130 | CNN-examples/getting_started_resnet/int8/prepare_model_data.py:58-130 \u2014 \u0060CNN-examples/getting_started_resnet/bf16/prepare_model_data.py\u0060 and \u0060CNN-examples/getting_started_resnet/int8/prepare_model_data.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 130 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/getting_started_resnet/bf16/prepare_model_data.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bbaeb7134a5fadb330d5673bb6a5c6cd7061847711c8ef13fd890b9006acdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50\u201351 lines \u00D7 2): Demos/ASR/Whisper/run_whisper.py:219-268 | Transformer-examples/ASR/Whisper-AI/run_whisper.py:175-225 \u2014 before extracting anything, compare \u0060Demos/ASR/Whisper/run_whisper.py\u0060 and \u0060Transformer-examples/ASR/Whisper-AI/run_whisper.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce7cf007a90cea4e59e6de93b5a5d3e2216525f014fb360a576c4203d4c8eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201350 lines \u00D7 2): Demos/ASR/Parakeet-TDT/fuse_pads_direct.py:38-87 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:66-109 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Parakeet-TDT/fuse_pads_direct.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba2a7f07f4f01e6b3e1b69dcae5718ca0bbc0825a4bbe8d1b7ac3dd904f99a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201344 lines \u00D7 2): Demos/ASR/Parakeet-TDT/convert_static.py:61-104 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:258-291 \u2014 before extracting anything, compare \u0060Demos/ASR/Parakeet-TDT/convert_static.py\u0060 and \u0060Demos/ASR/Parakeet-TDT/preprocess_for_npu.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 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":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a12d9988a1bfd0ec0dfc963363a7aca6ce00c75ba7b7c7f1db275827c03210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): CNN-examples/object_detection/yolov8m/utils.py:147-189 | CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:100-142 \u2014 before extracting anything, compare \u0060CNN-examples/object_detection/yolov8m/utils.py\u0060 and \u0060CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 220 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":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b400e1e123b0df1d82e9208948235a7396cc23b61f06ebced46c842d391d8620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201336 lines \u00D7 2): Demos/ASR/Parakeet-TDT/convert_static.py:134-169 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:325-357 \u2014 before extracting anything, compare \u0060Demos/ASR/Parakeet-TDT/convert_static.py\u0060 and \u0060Demos/ASR/Parakeet-TDT/preprocess_for_npu.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 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":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81198037045947c2355fe69b0e8145ed390bf1526ed0abdefb091f14d537801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): CNN-examples/Nemotron-OCR-V2/utils/postprocessing.py:179-209 | CNN-examples/Nemotron-OCR-V2/utils/postprocessing.py:220-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/Nemotron-OCR-V2/utils/postprocessing.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"238d168b5b84ac93a5fdb75be4a0e4fdd21f6084830ff437c0fa69d9ed10e2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): CNN-examples/image_classification/utils.py:72-101 | CNN-examples/quark_quantization/utils.py:112-142 \u2014 \u0060CNN-examples/image_classification/utils.py\u0060 and \u0060CNN-examples/quark_quantization/utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 88 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"CNN-examples/image_classification/utils.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d846661803adcdea6fe8a5e37d18e9434b6c3ff32e4db6cb3577c9e077caa5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): CNN-examples/object_detection/yolov8m/utils.py:100-131 | CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:53-84 \u2014 before extracting anything, compare \u0060CNN-examples/object_detection/yolov8m/utils.py\u0060 and \u0060CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 220 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":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4333d89b1e445fe73bd754fdb85fb9cfb4be81d1222e69f02abc930dff9367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): CNN-examples/image_classification/utils.py:212-241 | CNN-examples/quark_quantization/utils.py:304-333 \u2014 \u0060CNN-examples/image_classification/utils.py\u0060 and \u0060CNN-examples/quark_quantization/utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 88 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"CNN-examples/image_classification/utils.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cebb3da6ff9915c9472859a074635c43d3b2432d78a77dfd04de12dfafcf92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): CNN-examples/object_detection/yolov8m/utils.py:329-355 | CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:280-306 \u2014 before extracting anything, compare \u0060CNN-examples/object_detection/yolov8m/utils.py\u0060 and \u0060CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 220 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":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57d5553554daccc4063b8a13e3ec703723f7d2389f69d33ccf84e73a9ba0b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): CNN-examples/getting_started_resnet/bf16/prepare_model_data.py:152-177 | CNN-examples/getting_started_resnet/int8/prepare_model_data.py:152-177 \u2014 \u0060CNN-examples/getting_started_resnet/bf16/prepare_model_data.py\u0060 and \u0060CNN-examples/getting_started_resnet/int8/prepare_model_data.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 130 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/getting_started_resnet/bf16/prepare_model_data.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f47cccde7b077a77e5ea7978cf2692149c2fa36434d482e4ca6b0a7de94f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): Demos/ASR/Parakeet-TDT/convert_static.py:206-231 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:385-408 \u2014 before extracting anything, compare \u0060Demos/ASR/Parakeet-TDT/convert_static.py\u0060 and \u0060Demos/ASR/Parakeet-TDT/preprocess_for_npu.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 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":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1937808febbad149e9079fc9d37e6e882f541a87a235f3f47971dd44c8299f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201324 lines \u00D7 2): LLM-examples/VLM/vlm_benchmark.py:109-132 | LLM-examples/VLM/vlm_run.py:47-63 \u2014 before extracting anything, compare \u0060LLM-examples/VLM/vlm_benchmark.py\u0060 and \u0060LLM-examples/VLM/vlm_run.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 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":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a3022d7ce0c7013b755e80d8f7c7cfe5875e12e98b22322fbb461f57ec013b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): Demos/ASR/Parakeet-TDT/convert_static.py:104-126 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:299-320 \u2014 before extracting anything, compare \u0060Demos/ASR/Parakeet-TDT/convert_static.py\u0060 and \u0060Demos/ASR/Parakeet-TDT/preprocess_for_npu.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 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":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf914cbb34afa6f060bb4e706e0c5e0b2fe7f0061be0902619721855d03c9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): LLM-examples/VLM/vlm_benchmark.py:617-638 | LLM-examples/VLM/vlm_run.py:194-216 \u2014 before extracting anything, compare \u0060LLM-examples/VLM/vlm_benchmark.py\u0060 and \u0060LLM-examples/VLM/vlm_run.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 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 \u0060LLM-examples/VLM/vlm_benchmark.py:617\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528049acf2b07ac688f62821a19a8733b08ddfc9788045f1f238ada28d04265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): LLM-examples/llm-sft-deploy/inference.py:45-67 | LLM-examples/llm-sft-deploy/inference_oga.py:59-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060LLM-examples/llm-sft-deploy/inference.py:68\u0060 calls \u0060split\u0060, \u0060strip\u0060 and \u0060LLM-examples/llm-sft-deploy/inference_oga.py:82\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"LLM-examples/llm-sft-deploy/inference.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ce3938f72c611c3d5d9d2726d8cf98ec7f066d6e8214a33eccee51ae0e2bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Demos/ASR/Parakeet-TDT/convert_static.py:173-192 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:361-380 \u2014 before extracting anything, compare \u0060Demos/ASR/Parakeet-TDT/convert_static.py\u0060 and \u0060Demos/ASR/Parakeet-TDT/preprocess_for_npu.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 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":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7854a767ff406790a6bfe6174f576abe78fae218c1aff38be3a40a1caa2665a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): Demos/ASR/Parakeet-TDT/convert_static.py:33-51 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:44-59 \u2014 before extracting anything, compare \u0060Demos/ASR/Parakeet-TDT/convert_static.py\u0060 and \u0060Demos/ASR/Parakeet-TDT/preprocess_for_npu.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 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":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0157b7e527b92994ec61aeb75ee8db18c2eb58b917cec107731131b3b51353c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Demos/ASR/Parakeet-TDT/convert_static.py:264-282 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:446-464 \u2014 before extracting anything, compare \u0060Demos/ASR/Parakeet-TDT/convert_static.py\u0060 and \u0060Demos/ASR/Parakeet-TDT/preprocess_for_npu.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 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":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"db673f45a5f48d8bb0f6349c2a8b5c91b3a3ffa0a823b486460f8552e4179468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): CNN-examples/Nemotron-OCR-V2/export_onnx.py:502-519 | CNN-examples/Nemotron-OCR-V2/export_onnx.py:584-599 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/Nemotron-OCR-V2/export_onnx.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0f9e687e3a2a852f003f06c23bd9025e76ecd3e0505bf74b8060fce87569ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): CNN-examples/image_classification/utils.py:13-30 | CNN-examples/quark_quantization/utils.py:36-53 \u2014 \u0060CNN-examples/image_classification/utils.py\u0060 and \u0060CNN-examples/quark_quantization/utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 88 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/image_classification/utils.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78877da1d17514edfd8bf2e05d4abd45e264e364ef9ba9d40318bb6eafcb557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): CNN-examples/object_detection/yolov8m/utils.py:198-223 | CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:151-176 \u2014 before extracting anything, compare \u0060CNN-examples/object_detection/yolov8m/utils.py\u0060 and \u0060CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca234f77fd063f2682471105bef352886b237744adcab0908261e82f1f8fdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Demos/ASR/Parakeet-TDT/inference/transcriber.py:928-944 | Demos/ASR/Parakeet-TDT/inference/transcriber.py:962-978 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Parakeet-TDT/inference/transcriber.py"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b61250f320b50075c2d506731e64a62669d3e6c96ae2465f07cd2ba4ef1662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): CNN-examples/getting_started_resnet/bf16/prepare_model_data.py:133-148 | CNN-examples/getting_started_resnet/int8/prepare_model_data.py:133-148 \u2014 \u0060CNN-examples/getting_started_resnet/bf16/prepare_model_data.py\u0060 and \u0060CNN-examples/getting_started_resnet/int8/prepare_model_data.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 130 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CNN-examples/getting_started_resnet/bf16/prepare_model_data.py:133\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":"CNN-examples/getting_started_resnet/bf16/prepare_model_data.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"945fb60d59821cd79fd07e3644301c1dc0d04e19ad5cd0815bf64ef6cae6b66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): LLM-examples/llm-sft-deploy/inference.py:21-36 | LLM-examples/llm-sft-deploy/inference_oga.py:21-36 \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":"LLM-examples/llm-sft-deploy/inference.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3edb3792dc7c199abcfb15e7c68e1fabc03627d99649484f499e6fb8bd72b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): CNN-examples/Nemotron-OCR-V2/export_onnx.py:356-370 | CNN-examples/Nemotron-OCR-V2/export_onnx.py:402-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/Nemotron-OCR-V2/export_onnx.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0cb441c5a5ca1ab2c77b24144f3a71c5e4c1104661c04a3252c4aa13bcc95b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): CNN-examples/getting_started_resnet/bf16/resnet_utils.py:10-24 | CNN-examples/getting_started_resnet/int8/resnet_utils.py:10-24 \u2014 \u0060CNN-examples/getting_started_resnet/bf16/resnet_utils.py\u0060 and \u0060CNN-examples/getting_started_resnet/int8/resnet_utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"CNN-examples/getting_started_resnet/bf16/resnet_utils.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d614b358de58d05dfaba7d225ba3fe51b39eae642a3c54ac478be301a4408a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): Demos/ASR/Whisper/run_whisper.py:342-356 | Transformer-examples/ASR/Whisper-AI/run_whisper.py:253-265 \u2014 before extracting anything, compare \u0060Demos/ASR/Whisper/run_whisper.py\u0060 and \u0060Transformer-examples/ASR/Whisper-AI/run_whisper.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Demos/ASR/Whisper/run_whisper.py:342\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":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfcf76acc940fcff772c6e207b254d6329892f7e4f86112ef6904ce235452eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): LLM-examples/VLM/vlm_benchmark.py:139-152 | LLM-examples/VLM/vlm_run.py:68-81 \u2014 before extracting anything, compare \u0060LLM-examples/VLM/vlm_benchmark.py\u0060 and \u0060LLM-examples/VLM/vlm_run.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 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 \u0060LLM-examples/VLM/vlm_benchmark.py:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"283b45550db3000d0933d0da2104a3509d083bbcb42c3015b4de05d3bd4af4b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): Demos/ASR/Parakeet-TDT/convert_static.py:245-254 | Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:424-436 \u2014 before extracting anything, compare \u0060Demos/ASR/Parakeet-TDT/convert_static.py\u0060 and \u0060Demos/ASR/Parakeet-TDT/preprocess_for_npu.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 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 \u0060Demos/ASR/Parakeet-TDT/preprocess_for_npu.py:424\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Parakeet-TDT/convert_static.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"601470b1c07320a6ee183c875f08221d9f64dc1a8be31995966111c7da54945c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Demos/ASR/Whisper/run_whisper.py:73-85 | Transformer-examples/ASR/Whisper-AI/run_whisper.py:56-68 \u2014 before extracting anything, compare \u0060Demos/ASR/Whisper/run_whisper.py\u0060 and \u0060Transformer-examples/ASR/Whisper-AI/run_whisper.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6631265233706745754bb55884a7958d700f65aa99fe882ee0f2ddcb97fe8eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): CNN-examples/object_detection/yolov8m/utils.py:367-378 | CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:317-328 \u2014 before extracting anything, compare \u0060CNN-examples/object_detection/yolov8m/utils.py\u0060 and \u0060CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 220 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":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e805b2f488acf7bf7b1158acc3958f900a5e2bcdc2c76dc27239e0c1d37612f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Demos/ASR/Whisper/run_whisper.py:149-159 | Transformer-examples/ASR/Whisper-AI/run_whisper.py:113-124 \u2014 before extracting anything, compare \u0060Demos/ASR/Whisper/run_whisper.py\u0060 and \u0060Transformer-examples/ASR/Whisper-AI/run_whisper.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb2d3bb2c5742a20c6a21c673ce07c6d492cf22b58288b9444195516f2cf677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): CNN-examples/getting_started_resnet/bf16/resnet_utils.py:28-38 | CNN-examples/getting_started_resnet/int8/resnet_utils.py:28-38 | CNN-examples/object_detection/yolov8m/utils.py:17-27 | CNN-examples/object_detection/yolov8m/utils.py:49-59 | CNN-examples/quark_quantization/utils.py:14-24 | CNN-examples/quark_quantization/utils.py:59-69 | Demos/NPU-GPU-Pipeline/npu_gpu_utils.py:8-18 \u2014 \u0060CNN-examples/getting_started_resnet/bf16/resnet_utils.py\u0060 and \u0060CNN-examples/getting_started_resnet/int8/resnet_utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"CNN-examples/getting_started_resnet/bf16/resnet_utils.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f0d6c85c6fcd4e72bd6ca36ba3b8f6948c3ddb60f024ebb09c948a398a3780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Demos/ASR/Whisper/run_whisper.py:358-367 | Transformer-examples/ASR/Whisper-AI/run_whisper.py:266-275 \u2014 before extracting anything, compare \u0060Demos/ASR/Whisper/run_whisper.py\u0060 and \u0060Transformer-examples/ASR/Whisper-AI/run_whisper.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0388c51a8f2b82d5407ef17cca04dbcfebe2c4ac0f828e45420a99407c14c408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Demos/ASR/Whisper/run_whisper.py:132-145 | Transformer-examples/ASR/Whisper-AI/run_whisper.py:96-109 \u2014 before extracting anything, compare \u0060Demos/ASR/Whisper/run_whisper.py\u0060 and \u0060Transformer-examples/ASR/Whisper-AI/run_whisper.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"827c374d8d209e141fdf3913fb8810490e890b11435bbc703f70eaa8af237842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): LLM-examples/VLM/run_vision.py:48-55 | LLM-examples/VLM/vlm_benchmark.py:465-473 \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":"LLM-examples/VLM/run_vision.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e370e60befa0363d667cbd4f6f9c2c0f37eccf9d07b498c39f46623481e777b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): LLM-examples/dynamic-lora/eval_accuracy.py:246-254 | LLM-examples/dynamic-lora/prepare_data.py:71-79 \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":"LLM-examples/dynamic-lora/eval_accuracy.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3047c6ee5209a5611325265a54b702982bd9921e381252ef5ffc21f1ba2cf5eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Demos/NPU-GPU-Pipeline/utils_img2img.py:1402-1411 | Demos/NPU-GPU-Pipeline/utils_img2img.py:1414-1423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/NPU-GPU-Pipeline/utils_img2img.py"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bd26b1ceac02e1df5e7cf92448d00435981e94227aa452b2aa121741db5d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): LLM-examples/VLM/run_all_benchmarks.py:132-138 | LLM-examples/VLM/run_all_benchmarks.py:225-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"LLM-examples/VLM/run_all_benchmarks.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1692848f76ab338fb13e761b4d105199bdda9f363f78d3bd8ce26b13658ccc66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): LLM-examples/VLM/vlm_benchmark.py:483-491 | LLM-examples/VLM/vlm_run.py:104-111 \u2014 before extracting anything, compare \u0060LLM-examples/VLM/vlm_benchmark.py\u0060 and \u0060LLM-examples/VLM/vlm_run.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 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":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9378c1b5c75ed19b2bb36548b03b4212f31682e33466d1e4a4a080b58665213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Demos/ASR/Whisper/run_whisper.py:165-171 | Transformer-examples/ASR/Whisper-AI/run_whisper.py:129-135 \u2014 before extracting anything, compare \u0060Demos/ASR/Whisper/run_whisper.py\u0060 and \u0060Transformer-examples/ASR/Whisper-AI/run_whisper.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e4af88ae79b794e64d48886dff608da724b8d7b529ac4a469d3ac84ff07a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): CNN-examples/Nemotron-OCR-V2/export_onnx.py:697-702 | CNN-examples/Nemotron-OCR-V2/export_onnx.py:730-735 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/Nemotron-OCR-V2/export_onnx.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0529c908616381053892efd0b4fb5479700aaf3e89cc6bd3f7e9c860652e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): CNN-examples/getting_started_resnet/bf16/prepare_model_data.py:16-25 | CNN-examples/getting_started_resnet/int8/prepare_model_data.py:16-25 \u2014 \u0060CNN-examples/getting_started_resnet/bf16/prepare_model_data.py\u0060 and \u0060CNN-examples/getting_started_resnet/int8/prepare_model_data.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 130 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CNN-examples/getting_started_resnet/bf16/prepare_model_data.py:16\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":"CNN-examples/getting_started_resnet/bf16/prepare_model_data.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f94676174aa7c987c0188f5dde2831ef39599332037ad4164bbc0d012c0862a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CNN-examples/image_classification/image_classification.py:25-33 | CNN-examples/quark_quantization/quark_quantize.py:24-32 \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":"CNN-examples/image_classification/image_classification.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eaa921f2301704910293b07c03fa58d2d50b86aec6ab683b6b3d23728a9916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): CNN-examples/Nemotron-OCR-V2/utils/postprocessing.py:162-166 | CNN-examples/Nemotron-OCR-V2/utils/postprocessing.py:358-362 | CNN-examples/Nemotron-OCR-V2/utils/postprocessing.py:438-443 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/Nemotron-OCR-V2/utils/postprocessing.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"390015ba1bc5fb305c13a1bad5c7582f74cf1188f6f3bb0a1333dbc5bf29a9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): CNN-examples/Nemotron-OCR-V2/export_onnx.py:484-490 | CNN-examples/Nemotron-OCR-V2/export_onnx.py:562-566 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CNN-examples/Nemotron-OCR-V2/export_onnx.py:484\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":"CNN-examples/Nemotron-OCR-V2/export_onnx.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b2c9bd114c5a95e4b23d9b997946acc88e73351d91829d9746fa4ac0a8ba83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): CNN-examples/image_classification/image_classification.py:17-22 | CNN-examples/quark_quantization/quark_quantize.py:16-21 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/image_classification/image_classification.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c51c0a4a2637994b824e0aa3dcf9a33d9a97d14d847e726bd617552cebe814b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Demos/ASR/Parakeet-TDT/server.py:196-201 | Demos/ASR/Parakeet-TDT/server.py:205-210 \u2014 both copies are in the same file, so extract the block 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 \u0060Demos/ASR/Parakeet-TDT/server.py:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Parakeet-TDT/server.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7289fe1499d2976e7ce00a579218928b0501795d8dad96cb2da1a20e7c871e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): CNN-examples/getting_started_resnet/bf16/prepare_model_data.py:36-40 | CNN-examples/getting_started_resnet/int8/prepare_model_data.py:36-40 \u2014 \u0060CNN-examples/getting_started_resnet/bf16/prepare_model_data.py\u0060 and \u0060CNN-examples/getting_started_resnet/int8/prepare_model_data.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 130 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"CNN-examples/getting_started_resnet/bf16/prepare_model_data.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5d28145d45eee7401feca2ac55b342d5ed8edfebfa00f5b133359903bbd407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): CNN-examples/getting_started_resnet/bf16/resnet_utils.py:41-46 | CNN-examples/getting_started_resnet/int8/resnet_utils.py:41-46 | CNN-examples/object_detection/yolov8m/utils.py:30-35 | CNN-examples/object_detection/yolov8m/utils.py:62-67 | CNN-examples/quark_quantization/utils.py:27-32 \u2014 \u0060CNN-examples/getting_started_resnet/bf16/resnet_utils.py\u0060 and \u0060CNN-examples/getting_started_resnet/int8/resnet_utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"CNN-examples/getting_started_resnet/bf16/resnet_utils.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"929e051788405ce1e594187ffdd095fd2f96bbee25f2de72ad1d0e926ff5dda5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CNN-examples/image_classification/utils.py:195-203 | CNN-examples/quark_quantization/utils.py:287-295 \u2014 \u0060CNN-examples/image_classification/utils.py\u0060 and \u0060CNN-examples/quark_quantization/utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 88 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"CNN-examples/image_classification/utils.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"91276309d751eef1687b4798e29cffe2564240bc8d8eb591325a4a22d3560941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CNN-examples/object_detection/yolov8m/utils.py:90-96 | CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:41-47 \u2014 before extracting anything, compare \u0060CNN-examples/object_detection/yolov8m/utils.py\u0060 and \u0060CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 220 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":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"384a0dbafea5d016f9e5226d4826460a9f00918dd51a34550feca22f4dd069db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): CNN-examples/object_detection/yolov8m/utils.py:307-325 | CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py:258-276 \u2014 before extracting anything, compare \u0060CNN-examples/object_detection/yolov8m/utils.py\u0060 and \u0060CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 220 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":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec0b51d99852a2814a4dcee2aeb75e0df9c36b2c53e629ee35c7f1ef0859288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): LLM-examples/VLM/vlm_benchmark.py:84-89 | LLM-examples/VLM/vlm_run.py:22-27 \u2014 before extracting anything, compare \u0060LLM-examples/VLM/vlm_benchmark.py\u0060 and \u0060LLM-examples/VLM/vlm_run.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 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":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ffbabd91a78c620b75550ecbedf44a78955997c7f6d6e017c3a3f7cd23ae49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): LLM-examples/VLM/vlm_benchmark.py:99-104 | LLM-examples/VLM/vlm_run.py:37-42 \u2014 before extracting anything, compare \u0060LLM-examples/VLM/vlm_benchmark.py\u0060 and \u0060LLM-examples/VLM/vlm_run.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 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":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa9503037c9d32aa7f776b87f09d8209fde6fa79b7e54f196a6e4aead3b36ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Demos/ASR/Whisper/run_whisper.py:28-32 | Transformer-examples/ASR/Whisper-AI/run_whisper.py:31-35 \u2014 before extracting anything, compare \u0060Demos/ASR/Whisper/run_whisper.py\u0060 and \u0060Transformer-examples/ASR/Whisper-AI/run_whisper.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9ae0b1894cbc31fd929ddfc68c65bfc4181f1e5d4175c56df8cd86f1283ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Demos/NPU-GPU-Pipeline/pipeline.py:366-370 | Demos/NPU-GPU-Pipeline/pipeline.py:389-393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/NPU-GPU-Pipeline/pipeline.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37c1b6f3433c6437105fe1003ce2ee22522950046e7e0c0b3e7632ff901f076"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: ultralytics: \u0060ultralytics\u0060 8.4.215 is published on PyPI under \u0060AGPL-3.0\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"311dc4d6c868d3f33de97772a04c6d536fe2e278852cf9f3a4dd8a363ba601de"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: ultralytics-thop: \u0060ultralytics-thop\u0060 2.2.5 is published on PyPI under \u0060AGPL-3.0\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e9cc5a654498d125ae87c4f1f0c70b18abe9b92717071862f604fcadf2c5b502"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: ultralytics-platform: \u0060ultralytics-platform\u0060 0.1.111 is published on PyPI under \u0060AGPL-3.0-only\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"529919b00785b1717ea53a0779096b6aa49b697a912ceed5821df3bc723d9528"}},{"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":"08f0d7424547213d66d24ceb74f3f801292dbf5081bd3b0534898cb584f0b7cb"},"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":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62427c4dc9ef4bada8b45bcc58e219da72ef652ee6d3d580800e5210d3ec0f95"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2014f96ff6c3b1dc65b6c766ab8ef14da8461ce1e9101be02fb3066e31aef59"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9c3ffd66c1203a58b534faa89990fcf79ca66c4d0ac6e486d0c262c8456e7d9"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8fa06d81901c76cb3114207bc9d0b12a1708923ca5f36963864e924d6560573d"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e0bd3c7dbb284597d0721ed7680e32dfeec54b4f79da07d4cb06ca8e4486b04"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"4f9de95b7abac3f864afc1bf7056d367166057113e687d286bdefd24fb8bac58"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62408468c06bd7451c5be7479ce18c9f156741c88c0f913996539a9b8ef9e758"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"99f45b812e5fb221076491a26388f788818a353ef244a8872fabbbdaff66f6e7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"835dba4fd428b8152fcdf6cbdcf46eaeab519e90513e5a8bc634789d8f7ef3f7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"395048fe34c1dc9ff8a5d00b87e6bb5d011b91d97e7b7f575fde59617183a84e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8d399196a52e22d4aefa6b4a284cd8ff2d0f21733eda4ef70bff58586564cf20"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"02eef82fae6ce59c0792e2f194ebd2bf2ce9f1f1c9ec327a7f64ba3882ab5744"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"369ed0c2f76accab380306f011f4c19b21ff2835afca6ce1b3a9110f88963d15"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"1a9b3de140f405d184459f4b83ea56ac40f3c1e6f2a839600929af7a69390dc3"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e598e91725e0e021944364926873ad9e5d60c01f87d062985938f1c8d01c6369"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22aabee41f6cb585e8aef5595d7dd67c5185df744332c9475ad9066cf27695e3"},"properties":{"dependency":{"package":"pillow","version":"12.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112396","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112405","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-114501","BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42309","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59203","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96639","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96643","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2251","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3452","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4328","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4333","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4336","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4339","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4342","PYSEC-2026-4343","PYSEC-2026-4363"],"severity":"critical","fixedVersion":"13.0.0","relation":"direct","declaredRange":"12.0.0","reachability":{"kind":"production","file":"CNN-examples/iGPU/getting_started/predict.py","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5addb5120529768d1c1fb1e737c44c518ef528245252837ccf3f267b9269686"},"properties":{"dependency":{"package":"pillow","version":"12.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112396","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112405","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-114501","BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42309","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59203","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96639","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96643","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2251","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3452","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4328","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4333","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4336","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4339","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4342","PYSEC-2026-4343","PYSEC-2026-4363"],"severity":"critical","fixedVersion":"13.0.0","relation":"direct","declaredRange":"12.0.0","reachability":{"kind":"production","file":"CNN-examples/quark_quantization/quark_quantize.py","line":6}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe9c3ab4cfff5f24b02175363438ef11c85cd7186553f6443c1c6d877a17359b"},"properties":{"dependency":{"package":"langchain-core","version":"0.3.78","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1518","PYSEC-2026-2193","PYSEC-2026-2562","PYSEC-2026-2563","PYSEC-2026-2564","PYSEC-2026-373"],"severity":"critical","fixedVersion":"0.3.81","relation":"direct","declaredRange":"0.3.78","reachability":{"kind":"production","file":"LLM-examples/RAG-OGA/custom_embedding/custom_embedding.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":"18b4b6cc755c9774b965e2f0bfccc067f075e31545c6f0130fb96ad98fa4ffaa"},"properties":{"dependency":{"package":"unstructured","version":"0.18.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3930","PYSEC-2026-558"],"severity":"critical","fixedVersion":"0.24.0","relation":"direct","declaredRange":"0.18.15","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7a1d301ddef4abcadc469a497d65f18b3047e00b931531cfae36190b4ffad52"},"properties":{"dependency":{"package":"sentence-transformers","version":"5.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4164"],"severity":"critical","fixedVersion":"5.6.0","relation":"direct","declaredRange":"5.1.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ac9f77e9a7a990836e565e991b84ae9215033e08af6b8c4215b61ff1fb08f66"},"properties":{"dependency":{"package":"torch","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2999","BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2025-55551","BIT-pytorch-2025-55552","BIT-pytorch-2025-55554","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-193","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2025-203","PYSEC-2025-204","PYSEC-2025-206","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-2286"],"severity":"high","fixedVersion":"2.10.0","relation":"direct","declaredRange":"2.8.0","reachability":{"kind":"production","file":"CNN-examples/getting_started_resnet/bf16/app/prepare_test_images.py","line":8}}}},{"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":"5a8f68ef7a85a79264773fd41faad60c6148af06b0b7e18be9644717e89e8d12"},"properties":{"dependency":{"package":"torch","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2999","BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2025-55551","BIT-pytorch-2025-55552","BIT-pytorch-2025-55554","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-193","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2025-203","PYSEC-2025-204","PYSEC-2025-206","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-2286"],"severity":"high","fixedVersion":"2.10.0","relation":"direct","declaredRange":"2.8.0","reachability":{"kind":"production","file":"CNN-examples/hello_world/hello_world.py","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"855ae772a0b03b1f91d1a4d397a1fdc9444f50fc1b5d445cc3e8c9baef1411fb"},"properties":{"dependency":{"package":"torch","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2999","BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2025-55551","BIT-pytorch-2025-55552","BIT-pytorch-2025-55554","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-193","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2025-203","PYSEC-2025-204","PYSEC-2025-206","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-2286"],"severity":"high","fixedVersion":"2.10.0","relation":"direct","declaredRange":"2.8.0","reachability":{"kind":"production","file":"CNN-examples/iGPU/getting_started/user_script.py","line":5}}}},{"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":"d7b97da7a9a9bb13f9f8fbcee24265211b77fdbd66c6ab15ed0d5a7cf0c6edeb"},"properties":{"dependency":{"package":"torch","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2999","BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2025-55551","BIT-pytorch-2025-55552","BIT-pytorch-2025-55554","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-193","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2025-203","PYSEC-2025-204","PYSEC-2025-206","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-2286"],"severity":"high","fixedVersion":"2.10.0","relation":"direct","declaredRange":"2.8.0","reachability":{"kind":"production","file":"CNN-examples/object_detection/yolov8m/models/export_to_onnx.py","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe4fe4e94da8adf619b6646044b57d0ce33b54c195553172197d1b6259d59d0d"},"properties":{"dependency":{"package":"protobuf","version":"6.33.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1805"],"severity":"high","fixedVersion":"6.33.5","relation":"direct","declaredRange":"6.33.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04fbf8d24e72cc2f72469be4d47f9884239fc3c01dc4d6cb57158cfb401b8547"},"properties":{"dependency":{"package":"torch","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2999","BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2025-55551","BIT-pytorch-2025-55552","BIT-pytorch-2025-55554","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-193","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2025-203","PYSEC-2025-204","PYSEC-2025-206","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-2286"],"severity":"high","fixedVersion":"2.10.0","relation":"direct","declaredRange":"2.8.0","reachability":{"kind":"production","file":"CNN-examples/torchvision_inference/classification.py","line":8}}}},{"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":"b98f8832ee484aca1165171d886ab4b17afd4f6bc2a6f7c6caa3421192a81c84"},"properties":{"dependency":{"package":"langchain","version":"0.3.27","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-2192","PYSEC-2026-2555","PYSEC-2026-2556","PYSEC-2026-2560","PYSEC-2026-2582"],"severity":"high","fixedVersion":"0.3.30","relation":"direct","declaredRange":"0.3.27","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"409775ceca752b731f446018d842d5c698d5db9b34da1c27c6968c68a452dfc9"},"properties":{"dependency":{"package":"gradio","version":"5.35.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-211","PYSEC-2026-2178","PYSEC-2026-2179","PYSEC-2026-63","PYSEC-2026-64","PYSEC-2026-65","PYSEC-2026-66"],"severity":"high","fixedVersion":"6.7.0","relation":"direct","declaredRange":"5.35.0","reachability":{"kind":"production","file":"LLM-examples/RAG-OGA/gradio_app.py","line":4}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"120b73c78bda7841db88e4384a130b5317e0057c2d9bc2cee7e3fe1680634259"},"properties":{"dependency":{"package":"transformers","version":"4.48.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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-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-1980","PYSEC-2026-1981","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"],"severity":"high","fixedVersion":"5.3.0","relation":"direct","declaredRange":"4.48.0","reachability":{"kind":"production","file":"LLM-examples/llm-sft-deploy/inference.py","line":5}}}},{"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":"787664a4ea3e16b48d27a94db5e068373ab47ea412ffdb4dd3487db0d6c9756d"},"properties":{"dependency":{"package":"torch","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2999","BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2025-55551","BIT-pytorch-2025-55552","BIT-pytorch-2025-55554","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-193","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2025-203","PYSEC-2025-204","PYSEC-2025-206","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-2286"],"severity":"high","fixedVersion":"2.10.0","relation":"direct","declaredRange":"2.8.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c22758f4a03f3f40fafab0a4a46c1adad7be65aa787bf46085e75e763a0db7b8"},"properties":{"dependency":{"package":"transformers","version":"4.52.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","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-2026-1980","PYSEC-2026-1981","PYSEC-2026-1983","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929","PYSEC-2026-4174"],"severity":"high","fixedVersion":"5.3.0","relation":"direct","declaredRange":"4.52.4","reachability":{"kind":"production","file":"Transformer-examples/ASR/Whisper-AI/run_whisper.py","line":10}}}},{"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":"a081034e65ae675c410cf07e767229c19b2fdbd652dd9c3d965f6bc05f25f78a"},"properties":{"dependency":{"package":"torch","version":"2.9.1","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-2286"],"severity":"high","fixedVersion":"2.10.0","relation":"direct","declaredRange":"2.9.1","reachability":{"kind":"production","file":"Transformer-examples/DistilBERT_text_classification_bf16/pt_to_onnx.py","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd4813d8f927d7207dbe2a19550e58aa65fa269d71c41d7df3e6e43e9e57b991"},"properties":{"dependency":{"package":"transformers","version":"4.56.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929","PYSEC-2026-4174"],"severity":"high","fixedVersion":"5.3.0","relation":"direct","declaredRange":"4.56.2","reachability":{"kind":"production","file":"Transformer-examples/gte-large-en-v1.5-bf16/download_model.py","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecff3125b4f5457e8f994eca3322fa8e74f5d5e4875cc5b904f05dda773dc240"},"properties":{"dependency":{"package":"onnx","version":"1.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-103","PYSEC-2026-104","PYSEC-2026-2239","PYSEC-2026-2240","PYSEC-2026-2241","PYSEC-2026-2689","PYSEC-2026-3587","PYSEC-2026-3876"],"severity":"high","fixedVersion":"1.21.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbd1905b3183a3209282b7f89d590b99678bcfe7d4c9e8f4559a5b462d02e4a4"},"properties":{"dependency":{"package":"transformers","version":"4.50.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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-211","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-1977","PYSEC-2026-1979","PYSEC-2026-1980","PYSEC-2026-1981","PYSEC-2026-1983","PYSEC-2026-1985","PYSEC-2026-1986","PYSEC-2026-1987","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929","PYSEC-2026-4174"],"severity":"high","fixedVersion":"5.3.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5d2aae3c7a7b0f6dcf0d65977b45a0eb157b154810245d7ee8521b00efd6e88"},"properties":{"dependency":{"package":"datasets","version":"3.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3716"],"severity":"medium","fixedVersion":"5.0.1","relation":"direct","declaredRange":"3.2.0","reachability":{"kind":"production","file":"LLM-examples/llm-sft-deploy/inference.py","line":6}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fae1bb3c43b4572417877ed94721ebc8ba79bc15566ac45dba620d60509b1870"},"properties":{"dependency":{"package":"accelerate","version":"1.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"severity":"medium","relation":"direct","declaredRange":"1.11.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4615df62bbe6b75a83b046a719cb236bc5705fb69ff6decfcc5c21a32be7d38f"},"properties":{"dependency":{"package":"onnx","version":"1.15.0","advisory":"PYSEC-2025-148","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","relation":"direct","declaredRange":"1.15.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"616d280e039a50099dff20a9babe33e1d0c7f0a493f78b0866d7d5e36e643281"},"properties":{"dependency":{"package":"torch","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"severity":"medium","relation":"direct","declaredRange":"2.0.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4554729310d1e6f1eed676613571684d401dd61ee016867c535e6d6d7ca24162"},"properties":{"dependency":{"package":"onnx","version":"1.15.0","advisory":"PYSEC-2025-148","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","relation":"direct","declaredRange":"1.15.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9610a969c7c6bc53893c61ba3a9025f824cb90e36fde194e589393cbb910fc83"},"properties":{"dependency":{"package":"onnx","version":"1.15.0","advisory":"PYSEC-2025-148","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","relation":"direct","declaredRange":"1.15.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 77 of 86 significant files have no living knowledge, while the repository is still being changed at a low rate (2 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 77 separate risks. Counted over 86 of the 128 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/NPU-GPU-Pipeline/utils_img2img.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f898174b66d153eb8a91fa20e280c6c402e1b9b677db89690b4cc70b302cf1"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demos/ASR/Parakeet-TDT/inference/transcriber.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34220026333e89b480d7a004dcfd8685c754d16d68a5caceb3fd4351d8b158d1"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/Nemotron-OCR-V2/export_onnx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9f532652fd0520d82998cabf15450f5d9f511a3581059fb3647d81b4540f84"}},{"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":"LLM-examples/oga_inference/model_chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2df42cdc96f338b59abb2990abc4d6376066edb1b851163845015644604aefd"}},{"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":"Demos/ASR/Parakeet-TDT/preprocess_for_npu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f999a1cc1124f859176715eacf38b50d986ae16c598957a14dd5f7f3f87b5ad"}},{"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":"Demos/NPU-GPU-Pipeline/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"445df10fd0abf06e6bb0711a0246031a36b63b762ef262b57125d90449e16ce9"}},{"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":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76d83de66f895994105803dac9fcb8c953488c4174b12bb4b4691b91015a545"}},{"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":"CNN-examples/Nemotron-OCR-V2/utils/postprocessing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf013098abe8c213d3371fe8fab0d2a6964c7b075ffc9de061cde968e24a700"}},{"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":"LLM-examples/VLM/run_all_benchmarks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa99bf1931a009e79f4d9b9bd071551577926042eb95cd15d9183bb3d610da73"}},{"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":"Demos/ASR/Whisper/run_whisper.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bea0e7a64ca5abe6e0385fee0d6139ec5c1d62dda40de30060161798857fd2"}},{"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":"Demos/ASR/Parakeet-TDT/live_transcribe.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"463d5736311599a257ef4f67339123a73eee94cee3b11b09895268b3078b5483"}},{"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":"LLM-examples/VLM/generate_test_image.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf04356fe90e549868d21f68c817a734fef2710978b45df7f4507a1b41461bed"}},{"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":"WinML/CNN/FaceDetection/model/download_retinaface.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4472d79f40ce1af3bf9c2a019a4cce859cfed2f3539c129546564c7c99ea0ec0"}},{"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":"WinML/CNN/ImageSegmentation/python/run_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9666632d072ee35085af395c1d660452130922687f1a74453e0dd78111e1fc80"}},{"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":"CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd5b6e31a19e7fbacedbda5646f05a8a9af2b45fc0b759376b835f611e86b5d"}},{"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":"WinML/LLM/run_genai_llm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec624332ecfba1d0e4653716b01f23cb3166c069ca1606827c7dc2674a731237"}},{"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":"WinML/CNN/ObjectDetection/model/quantize_yolov8.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa5cb177b98ec4de3fcffae2edf3fb05e73add952f629964ff710328b5f73b1"}},{"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":"WinML/CNN/FaceDetection/model/quantize_retinaface.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a19c6f779688dd1f66f05cab071e4afdc51f71e3078d2d77d97b32507ac8707"}},{"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":"CNN-examples/quark_quantization/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95228b68892a78f7d5f23e1e00fece7483705b8f72420b1c116a29343c893df3"}},{"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":"WinML/CNN/ResNet/model/quantize_resnet.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b174553c07b79a3f899385544fedbaeb6e8405c994fb0cd4aa2aa3d8104c7d"}},{"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":"WinML/CNN/ObjectDetection/python/run_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e26b045191e20e8230789f085cb4653d4c9ba79e4a102b8854c9dfdcd7fb1e"}},{"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":"Transformer-examples/ASR/Whisper-AI/run_whisper.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d87139c888917fe4d93b6473ae8fabee8d8164482fbb4559f7a23c6729937f5"}},{"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":"Demos/ASR/Parakeet-TDT/server.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4589ca18d18d285d9142b2a0fa9d3e714a601e9b55aa41a39d66051bc8ecb218"}},{"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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a49a648d26a0310cf3875245d4c4c3bf738e61755379e39f3e02c95a2b0828"}},{"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":"WinML/CNN/ImageSegmentation/model/quantize_deeplabv3.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a427f46b9114a3a483e9a8c4378c103d9163b79c2dd7ed92457f8705897be900"}},{"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":"WinML/CNN/FaceDetection/python/run_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98463ce02204a65b5d3a33f5a77931c60f68ef997adf578feccf02a3834a9c67"}},{"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":"WinML/CNN/FaceDetection/model/download_and_export.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb04a7b28637a9c8fb31bbb7aab5e24b76d5d9d760b173fc48289efa85f0169"}},{"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":"CNN-examples/object_detection/yolov8s-worldv2/quark_quant.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2676677fee186e2bfa52a989f453cf26e119e394e5cd8856279833cdf6672b92"}},{"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":"WinML/CNN/FaceDetection/python/anchor_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b1efbfdd1527f8090dea8c0db549d085daa25c2c4de6f3416b196e6708100"}},{"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":"WinML/CNN/FaceDetection/model/download_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"425db819feee97df7f9282f24d4c266a00857fc51c34687a63097d5c61c1f410"}},{"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":"WinML/check_winml_setup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"493de63e634a311a2fd40ae8a7778edc9c53be89b79b867116e7d6cce797f66c"}},{"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":"CNN-examples/image_classification/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dccc8ef63cba311b406f5d6e70c36df686ab55412ea1b48e3f8bd13223f14a"}},{"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":"LLM-examples/llm-sft-deploy/train.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28d21d70262b2145ebeafd5af5a2e871fe058f739d3d95ceb849e8c49de9d50"}},{"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":"CNN-examples/quark_quantization/quark_quantize.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6565d6df50ab61e46ede95e31523583d6650ebda0690facfe8e9a2be498b7d"}},{"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":"CNN-examples/Nemotron-OCR-V2/compile_npu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6e67a1421bb4e4c5e93cdb9f399e68aee047756ed6c8b51fe357e358931a65"}},{"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":"WinML/CNN/ResNet/model/setup_calib_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"606513bd97d9d5781972f6efa1e12afedb0726c9a7039bd8cc02fa2376345411"}},{"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":"WinML/CNN/ConvNeXt/model/setup_calib_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ef829f3aa1ec6d1e48e910f2d275989cece68b8451bb374df99f5f1f2742db"}},{"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":"CNN-examples/object_detection/yolov8m/quantize_quark.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddc3aad224675f9fbf80ccbbe3691133a4b05c114ecdbe24c45d82a0e7700d4"}},{"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":"LLM-examples/VLM/vlm_run.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae0f4be370224e02923dc553ff8dc6679affd84c03d6156f96f54d850baaf64"}},{"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":"CNN-examples/object_detection/yolov8m/prepare_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c46608438ab974af3411a099a4bcf2bdd952d627c71d387099734cba66391f"}},{"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":"CNN-examples/quark_quantization/advanced_quark_quantize.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63995ccbf72cb34617ddf02a531be0c040b24cf3290b1b1a698c982bf84e3e7"}},{"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":"WinML/CNN/ObjectDetection/model/download_calib_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d19d9c3c21037f6b278b31664e74a678ef6726c128e554ad6fa0c1b55b1412d"}},{"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":"CNN-examples/hello_world/hello_world.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7e64100330776541fd7c4143fbf6cbdcd4120740cbbea4ce5bef88317f8bf3"}},{"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":"WinML/Transformers/clip-vit-base-patch16/run_clip.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9e3418e0116a51884b3045c33d1e9f00debb1d119612ed11c15c42a5dd261d"}},{"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":"LLM-examples/RAG-OGA/rag.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"339897b4f70b6217961d1dbeab761c82329204dbb38ac7291a9e19e1ac2e117e"}},{"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":"LLM-examples/RAG-OGA/gradio_app.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfc0e13c01b90dc0a7fd2f17d471432011e89389dafb09b63a6a17c62d1ef31"}},{"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":"Demos/ASR/Parakeet-TDT/inference/audio.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d783d71acb76c57aa121c4c0d2e13665f93658b0a3ac945b994549ef513c19b7"}},{"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":"CNN-examples/getting_started_resnet/bf16/export_to_onnx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e284a97c9743825d4a7e2535f3b0c175a2f588d39fb0f722609291307ad3ac2"}},{"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":"WinML/CNN/ImageSegmentation/model/download_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e78b2a7846a390d3e25dc6ce7b99ccb0089f29d108c4c16ea8aaf28f7320656"}},{"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":"Demos/ASR/Parakeet-TDT/download_models.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9745fe9e00f9162c76a5dc90dc5354933bba3c4a8148328262563e863b5aca"}},{"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":"WinML/CNN/FaceDetection/model/download_calib_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2cd5ba9fd7b1eadcac12bacebf1c9634352399f436619932a1a744165492e5"}},{"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":"WinML/CNN/ObjectDetection/model/download_yolov8.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c859002454031d85020cc22c9055fc56bf9c253f847bbd7160055365c6f1b1ad"}},{"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":"CNN-examples/Nemotron-OCR-V2/utils/util.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f360a6dc3f5766b5d38d4427c25ef580a32c838cc4b5fc59fe56546c2f9ae0"}},{"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":"CNN-examples/object_detection/yolov8s-worldv2/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b132e3868ef866dff5639c82fedf060a29da8f75718faf68c9ac7a84ecf15f1f"}},{"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":"WinML/CNN/FaceDetection/model/user_script_retinaface.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddc54e186522d773ceb4958949f5e26e0a22fa65b5acb82d9d2554af38cdb37"}},{"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":"Demos/ASR/Parakeet-TDT/inference/mel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcf39eda3a0634040618bec97c5364a95925e62e5804ade7c70b8837bad7b7f"}},{"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":"Transformer-examples/ASR/Whisper-AI/dynamic_to_static.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab6829ec6ff3afcdc8f3d97175cec095a31256a44b790659e5c82609c996523"}},{"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":"WinML/CNN/ImageSegmentation/model/download_calib_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae332f257a1148527382de3ed72081c69a937f8cfb47830f34328fe9c84b265f"}},{"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":"WinML/CNN/ObjectDetection/model/user_script_yolov8.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14116ad2f535a4bbbc1c94ed7a6c0170d339f8a33a076297522fd468639baa7"}},{"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":"CNN-examples/getting_started_resnet/bf16/predict.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1593a6c9f884903f698133dc823821ecb36180db02ba2ed5cc764347c9a69234"}},{"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":"WinML/Transformers/GoogleBert/run_google_bert.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad02372ade29cf6da0270ce13ba913bdf8468d0da0650231eb7924951f029b02"}},{"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":"WinML/Transformers/clip-vit-base-patch16/download_clip.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c360dcd295ce064104e2778fcf065b65116f08cb0ee7ec92762e3b947798372c"}},{"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":"LLM-examples/llm-sft-deploy/inference.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ab57427bfd379b3ed215b4f3cc3e60c45ea7aabfe215452f47bffdf9363af8"}},{"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":"CNN-examples/object_detection/yolov8s-worldv2/infer_single.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddb9a9dcf6f915b8476a3f5b8338d3e392045549202ce1240ef3902066e41ab"}},{"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":"LLM-examples/llm-sft-deploy/quark_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23d4fdbf9013214d9a523fd74520cba9382f02d3f641c6de92f129a9c37fb2a"}},{"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":"CNN-examples/getting_started_resnet/int8/resnet_quantize.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72be681ac5fe9519e4d271582805ff455588451dab77007787b98a123f0b8902"}},{"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":"CNN-examples/image_classification/image_classification.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4f8cc6a6389d15d61f77852451afd9cb0e841bbfe25b8b6158c60039b9dc49"}},{"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":"LLM-examples/llm-sft-deploy/inference_oga.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03ed597e919bd36abfdc3966d2d9febd7502e793ba3ed8df6db2b0fec361640"}},{"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":"LLM-examples/RAG-OGA/custom_llm/custom_llm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a87d14809242ed096e4b939da40a53983a1eeef824e56b43002e350e5573db5"}},{"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":"LLM-examples/RAG-OGA/profiling.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15f428fb96cd7cf12213b34564150bcdbbf205c2e72842cf828f5b6fb83b411"}},{"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":"WinML/CNN/ResNet/model/user_script_resnet.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a9ee576a2e1320717bac916fe3a6049565f8a30dc0ad928522a8965ea253a8"}},{"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":"CNN-examples/object_detection/yolov8s-worldv2/ultra_yolo_to_onnx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e0e5a335b4eed9ae05dfb057a1eb7e91523e3982a3c9e09b477085a084a664"}},{"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":"WinML/Transformers/GoogleBert/download_google_bert.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74e0f290a96efd583763bcbcd73ffbcb396bb701bd2e96a7923168d6ddf4dbb"}},{"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":"WinML/CNN/ImageSegmentation/model/user_script_deeplabv3.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5934f7557082cc3124e9941a09295675e430e9496f7b1c534b36d7af168f00"}},{"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":"Demos/NPU-GPU-Pipeline/data/srdata.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4263101d6d35f310b29718cdd74484772f5cd8d52825a5f0370052610a3b0dc7"}},{"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":"Demos/NPU-GPU-Pipeline/power_utils_filtered.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50c7e44741fcd13e2562721a2b20c6862cbe32f6e2edac834d72985d5c5ad53"}},{"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":"WinML/CNN/ConvNeXt/model/user_script_convnext.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9167688ae8ddc87d7ecc7f39c63df8241d7c98c8da9e91791df9937374d4da22"}},{"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":"M4","level":"note","message":{"text":"README/code drift: WinML/Transformers/GoogleBert/README.md links to \u0060../README.md#winml-installation-instructions\u0060, but \u0060WinML/Transformers/README.md\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":"WinML/Transformers/GoogleBert/README.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11a9fbb0c59bf170be2b296b1abe18cc4c60990697a5f1ceb7887da82ccfba2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: WinML/Transformers/clip-vit-base-patch16/README.md links to \u0060../README.md#winml-installation-instructions\u0060, but \u0060WinML/Transformers/README.md\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":"WinML/Transformers/clip-vit-base-patch16/README.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57e52cdd933ce1d5214cda9481c7c918cad43bcd9b96b22f30442f51e9d4163"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/22 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060CNN-examples/getting_started_resnet/bf16\u0060, \u0060CNN-examples/getting_started_resnet/int8\u0060, \u0060CNN-examples/image_classification\u0060, \u0060CNN-examples/object_detection/yolov8m\u0060, \u0060CNN-examples/quark_quantization\u0060 and 16 more."},"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 \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060WinML/CNN/ResNet/cpp/CppResnetBuildDemo/CppResnetBuildDemo/packages.config\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ResNet/cpp/CppResnetBuildDemo/CppResnetBuildDemo/packages.config"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7302fe0380c5c1a6897483cad83063be6955f86935e930327fdb62fc4fe2f881"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: WinML/CNN/ResNet/cpp/CppResnetBuildDemo/CppResnetBuildDemo/packages.config declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/CNN/ResNet/cpp/CppResnetBuildDemo/CppResnetBuildDemo/packages.config"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eaba561b4d911ecd708f834d4bd1a930390c2213974e592844f35eba913a70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022input\u0022 in img.name.lower() or \u0022output\u0022 not in img.name.lower()\u0060 appears character-identically in 2 files \u2014 WinML/CNN/FaceDetection/model/download_calib_data.py, WinML/CNN/ObjectDetection/model/download_calib_data.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":"WinML/CNN/FaceDetection/model/download_calib_data.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac9a4a91c017ea202cfe46afd6d616abc60a0038b6be7eb45e1b94bee6935e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027Quant\u0027 in node.op_type or \u0027DequantizeLinear\u0027 in node.op_type\u0060 appears character-identically in 3 files \u2014 WinML/CNN/FaceDetection/model/quantize_retinaface.py, WinML/CNN/ObjectDetection/model/quantize_yolov8.py, WinML/CNN/ResNet/model/quantize_resnet.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":"WinML/CNN/FaceDetection/model/quantize_retinaface.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"488e9068efeabe6fcdfaaace83993068755564f3e1ffc02278d2bd562c22012c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027images\u0027 in m and m.lower().endswith((\u0027.jpg\u0027, \u0027.jpeg\u0027, \u0027.png\u0027))\u0060 appears character-identically in 3 files \u2014 WinML/CNN/ConvNeXt/model/setup_calib_data.py, WinML/CNN/ObjectDetection/model/download_calib_data.py, WinML/CNN/ResNet/model/setup_calib_data.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":"WinML/CNN/ConvNeXt/model/setup_calib_data.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3113d1c57a87e3fe44226672f214e0f4fa4c464a904a2c1d28d019e300ccf02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d.ep_name == \u0022VitisAIExecutionProvider\u0022 and d.device.type == ort.OrtHardwareDeviceType.NPU\u0060 appears character-identically in 2 files \u2014 WinML/CNN/ConvNeXt/run_model.py, WinML/CNN/ResNet/python/run_model.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":"WinML/CNN/ConvNeXt/run_model.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76577dc2a257fbadb507185469704bbe44835258acbff33d0a4e9f5ee9cfe81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(labels, (list, tuple)) and idx \u003C len(labels)\u0060 appears character-identically in 2 files \u2014 WinML/CNN/ConvNeXt/run_model.py, WinML/CNN/ResNet/python/run_model.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":"WinML/CNN/ConvNeXt/run_model.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"00539a35ec39447c72cec3f473f78e81a72b4794d5df47ab9797142aba6048c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not filename.startswith(\u0027ILSVRC2012_val_\u0027) or not filename.endswith( \u0027.JPEG\u0027)\u0060 appears character-identically in 2 files \u2014 CNN-examples/image_classification/prepare_data.py, CNN-examples/quark_quantization/prepare_data.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":"CNN-examples/image_classification/prepare_data.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57b9088ea797abfe36499d3b74eaee0a246f074bc10df63bd51a5b44a700371"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not lib_path or not os.path.exists(lib_path)\u0060 appears character-identically in 4 files \u2014 WinML/CNN/ConvNeXt/run_model.py, WinML/CNN/ResNet/python/run_model.py, WinML/Transformers/GoogleBert/run_google_bert.py, WinML/Transformers/clip-vit-base-patch16/run_clip.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":"WinML/CNN/ConvNeXt/run_model.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70a2685242ac10b3d6056f623b0cefe113fc15b223b5a00a9cf0a4fe8c927bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not template_str and jinja_path.exists()\u0060 appears character-identically in 2 files \u2014 LLM-examples/VLM/vlm_benchmark.py, LLM-examples/VLM/vlm_run.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":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e0eec7445bc5ab19c5c8b70575b50ec1fa024fec999e2f658394dd5d279eee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060npu_device == \u0027STX\u0027 or npu_device==\u0027KRK\u0027\u0060 appears character-identically in 4 files \u2014 CNN-examples/getting_started_resnet/bf16/resnet_utils.py, CNN-examples/getting_started_resnet/int8/resnet_utils.py, CNN-examples/object_detection/yolov8m/utils.py, CNN-examples/quark_quantization/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CNN-examples/getting_started_resnet/bf16/resnet_utils.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb14d5cace4ee55d1967dd3ac89267f2c20721ec101269a136b96571de219434"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.is_file() and p.suffix.lower() in exts\u0060 appears character-identically in 2 files \u2014 WinML/CNN/ConvNeXt/run_model.py, WinML/CNN/ResNet/python/run_model.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":"WinML/CNN/ConvNeXt/run_model.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc6f2b486312f13a1e0bebe377e5fa20a221da693d4217e5392811045b9cef4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.exists() and not tarfile.is_tarfile(path)\u0060 appears character-identically in 2 files \u2014 CNN-examples/getting_started_resnet/bf16/prepare_model_data.py, CNN-examples/getting_started_resnet/int8/prepare_model_data.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":"CNN-examples/getting_started_resnet/bf16/prepare_model_data.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce0eb814fc74089cb0e908dc1628086de7bfd70ceea06d975817a650c266524"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060proc.returncode != 0 or not proc.stdout.strip()\u0060 appears character-identically in 2 files \u2014 WinML/CNN/ConvNeXt/run_model.py, WinML/CNN/ResNet/python/run_model.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":"WinML/CNN/ConvNeXt/run_model.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73abb95ce67166027ef5c79822d6952525cddbebb08a845cb526ca824bf6ade"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060quantized_model and quantized_model.exists()\u0060 appears character-identically in 5 files \u2014 WinML/CNN/ConvNeXt/model/quantize_convnext.py, WinML/CNN/FaceDetection/model/quantize_retinaface.py, WinML/CNN/ImageSegmentation/model/quantize_deeplabv3.py, WinML/CNN/ObjectDetection/model/quantize_yolov8.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":"WinML/CNN/ConvNeXt/model/quantize_convnext.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"44314852da562f131ce02fb8a50047c2c9e42360adc41060b65733bd661dc22d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060save_path or \u0022runs/debug_postprocess.png\u0022\u0060 appears character-identically in 2 files \u2014 CNN-examples/object_detection/yolov8m/utils.py, CNN-examples/object_detection/yolov8s-worldv2/eval_on_coco.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":"CNN-examples/object_detection/yolov8m/utils.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e488d4ea02ede555bd75a84a3bd2ed023723cd04848ce88dc14f9779551f85a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/check_winml_setup.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec898ff38af38d2bacbf7df0b7897a9af34a40d866b6a5da07f72d6e05b8d3d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/check_winml_setup.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25b806daf28427c88a174e6af7e65834a64cb62517eef4f5422e32397f10f9d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060count_text_tokens\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"LLM-examples/VLM/vlm_benchmark.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda0199d58de48ab74c0b60854fe30b32f395e93f4331c4eb5d4a28ca572f25d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060list_windows_app_sdk_packages\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WinML/check_winml_setup.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0252741ba94c28f4dfff772e3f6ab4a52d501d60658fb430f8f8de506268111e"}}],"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-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-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-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.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-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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-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":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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/"}]}],"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":42,"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."]}]}